I am trying to get a multipage dialog to work with a custom control on each page. Has anybody experience how to get this to work. The initialisation exits with -6.
Does the multi-page dialog work per se, without the custom controls? Does a simple one-page dialog work with a single custom control? With several of them, as for checking the focus control logic? What does the -6 mean - did you already look that up?
Re: CreateCustomControlL with multiple controls on multipage dia
Thanks for the inputs. The dialog worked ok with 1 customcontrol in a single page. I then jumped to 2 custom controls on 2 pages - not expecting problems. I will experiment with 2 custom controls on single page - thanks for the input.
Re: CreateCustomControlL with multiple controls on multipage dia
Feedback for anybody else looking for such problems:
The function ConvertCustomControlTypeToBaseControlType was not correctly passing the second customcontrolid, causing the problems.
thanks again for the inputs
john
Forum posts: 52
HI,
What means "custom control"?
plz pop out the your code, it's better to resolve your question
Forum posts: 1242
Does the multi-page dialog work per se, without the custom controls? Does a simple one-page dialog work with a single custom control? With several of them, as for checking the focus control logic? What does the -6 mean - did you already look that up?
Questions, questions, ...
René Brunner
Forum posts: 10
Thanks for the inputs. The dialog worked ok with 1 customcontrol in a single page. I then jumped to 2 custom controls on 2 pages - not expecting problems. I will experiment with 2 custom controls on single page - thanks for the input.
john
John Read
NewNet Marketing
Munich, germany
Forum posts: 10
Feedback for anybody else looking for such problems:
The function ConvertCustomControlTypeToBaseControlType was not correctly passing the second customcontrolid, causing the problems.
thanks again for the inputs
john
John Read
NewNet Marketing
Munich, germany