Hi,
I have sarted to subclass the file open common dialog. I have been able to find information on doing this (MFC VC++ 6 Wrox) but have partially failed. I added an activex control onto the subclassed form for inclusion into the dialog. THe activex control is a vector drawing control.
Without the axtivex control on the form it displays and behaves correctly. With the activex it does not display.
I have discovered that if I draw the actvex independantly of the form it works but I have to control where the activex control is drawn on the screen. I dont hav ethe code here and am not that proficient. I started with WTL but tried again with MFC in the hope that it would be a simple task.
My question is can an activex control be drawn into a subclassed common control and the final form "just work" or will I have to be responsible for the activation and drawing of the activex control on the form?
I'll bring in sample code if it will help.
Thanks,
Daniel.
I have sarted to subclass the file open common dialog. I have been able to find information on doing this (MFC VC++ 6 Wrox) but have partially failed. I added an activex control onto the subclassed form for inclusion into the dialog. THe activex control is a vector drawing control.
Without the axtivex control on the form it displays and behaves correctly. With the activex it does not display.
I have discovered that if I draw the actvex independantly of the form it works but I have to control where the activex control is drawn on the screen. I dont hav ethe code here and am not that proficient. I started with WTL but tried again with MFC in the hope that it would be a simple task.
My question is can an activex control be drawn into a subclassed common control and the final form "just work" or will I have to be responsible for the activation and drawing of the activex control on the form?
I'll bring in sample code if it will help.
Thanks,
Daniel.