Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subclass File open dialog with activex control

Status
Not open for further replies.

griv

Technical User
Jan 31, 2002
10
AU
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.
 
you will have to be responsible for the activation and drawing of the activex control on the form

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top