CreateCustomControlL with multiple controls on multipage dialog

Login to reply to this topic.
Mon, 2007-09-03 21:04
Joined: 2005-01-15
Forum posts: 10

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.

thanks


John Read
NewNet Marketing
Munich, germany


Tue, 2007-09-04 04:09
Joined: 2007-04-29
Forum posts: 52
Re: CreateCustomControlL

HI,
What means "custom control"?

plz pop out the your code, it's better to resolve your question

Tue, 2007-09-04 06:12
Joined: 2005-11-20
Forum posts: 1242
Questions, questions...

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

Tue, 2007-09-04 17:48
Joined: 2005-01-15
Forum posts: 10
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.

john


John Read
NewNet Marketing
Munich, germany

Fri, 2007-09-07 16:29
Joined: 2005-01-15
Forum posts: 10
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


John Read
NewNet Marketing
Munich, germany

  • Login to reply to this topic.