PDA

Click to See Complete Forum and Search --> : Addin' ActiveX Controls into Property Pages


hazel
Sep 16th, 2002, 01:32 AM
hi can anyone help me solve this problem?? thanks..

---------
i'm working on tabbed dialogs using property pages,,
I have created all the controls on the property pages,,
but now i'm having a BIG problem!!!!
cannot add ActiveX Control onto the dialog,,,,
if i add it to the main dialog, the program cant even run (no error thou'),,
and if i add to the property pages, can run the program but,
if i click the tab page that has ActiveX Control, that page cant b shown and it's gone,,, others still working fine,,,,
---------

so does anybody know y and can help me solve???
any brilliant ideas??

thanks a lot.....
:)

CornedBee
Sep 16th, 2002, 09:05 AM
With or without MFC?

hazel
Sep 16th, 2002, 10:47 AM
yah with MFC,,

CornedBee
Sep 16th, 2002, 01:03 PM
Did you activate ActiveX controls in the wizard? If not, create a dummy MFC project where you activate ActiveX controls (Step 3 in the Wizard) and compare the generated files to your project. There must be some calls or maybe includes that your project misses, you have to add those.

hazel
Sep 16th, 2002, 09:57 PM
hi ,, it's the same,,, and i did check the ActiveX Controls in the wizard when i first created that project...
izit becoz' of the property pages??
coz when i delete those property sheets, i can use that active X control,,,

but my program still needs to use the tabbed pages,,,,,,,
so is there any other easy way to create those tabbed pages, other than using property pages??

i tried using the Tab Control from the toolbar but,,,
it's kinda funny and tedious to hide and show all those other controls like buttons and edit boxes when i click each tab...
or may be i din use in the correct way??? :-(

oh God!!!!.. pls help,,,,,,
..."SOS"...

:rolleyes:

hazel
Sep 17th, 2002, 09:17 AM
hee,,,,,
hey guyz,,,,,,
so soriiiii,,,,,,,
i created a new project and did everything all over again,,,
now can run and use that ActiveX Control already,,,,,,,
:D
thanks a lot to u all guyz,,,,,
so sorryyyy,,,,,,,,:D