|
-
May 28th, 1999, 08:40 AM
#1
CPropertyPage & ActiveX
Hi!
Who can explain me, why I can't add ActiveX control in my CPropertyPage control (Wizard mode). Where I add my ActiveX control in one of my pages, this page is not accessible (I mean that this page is ignored when I browse my Wizard pages). ActiveX control is simple BUTTON control.
Sorry for my bad english 
e-mail me [email protected]
-
May 28th, 1999, 11:30 AM
#2
Re: CPropertyPage & ActiveX
The ProperySheet doesn't display a property page if any of the controls on it failed to be created - this is probably the cause.
Are you creating the control dynamically? or did you insert it on the page using the resource editor?
I don't know enough about your specific case, but I had the same problem when dynamically creating an ActiveX control on a property page. I inserted a custom control resource on the page and was using this as the site for the control - which gets created at runtime in OnInitdialog().
The page was dissapearing when it was displayed because control.Create() failed (I didn't specify a license key for it...)
I suggest you check for any errors when creating the control.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|