Click to See Complete Forum and Search --> : ActiveX not in Run mode


UdInI
April 23rd, 1999, 07:58 AM
I try to build a kind of Object Editor.
I use a RichEdit control where I can store some
COleControl I've defined.
The problem is that I don't how to fixe the ActiveX mode to the Run Time mode.
I'ts always in Design mode in my RichEditControl ...
How can I do that ?


UdInI

mihai
April 26th, 1999, 11:14 AM
See GetAmbientUserMode function. Add to your AX control, new property UserMode with the DISPID_AMBIENT_USERMODE. return TRUE there, if you want run mode.
Sincerely, Mihai