Dynamically Add C++ Controls to a VB6Form

ahbu
09-11-2003, 01:44 PM
Hi,

I am trying to dynamically add a control built by C++ to a VB6 Form by VBControlExtender. However it is crashing my program and do not give any error message.

Any idea?

Thanks,
Winnie

Flyguy
09-11-2003, 03:05 PM
Better add the first instance of the control to your Form from within the IDE, set it's index to 0 and issue a Load for every needed new instance

ahbu
09-12-2003, 09:44 AM
Better add the first instance of the control to your Form from within the IDE, set it's index to 0 and issue a Load for every needed new instance

OK Thanks, I will try.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum