OCX Control Notification
Joe -- MurrayJR@phxannex.pid.com
Wednesday, April 10, 1996
Enviroment: MS Visual C++ 4.1 / Windows NT 3.51
How can I tell when the Container of my control (ie Visual Basic 4)
changes from Design mode to Run Mode from within my control? I tried to
check to see if the Ambient properties changed by overiding the
OnAmbientPropertyChange(). But it was only called when changing from Run
mode to Design mode.
jm
Jeff Evans -- evansj@huey.cadvision.com
Saturday, April 13, 1996
> How can I tell when the Container of my control (ie Visual Basic 4)
> changes from Design mode to Run Mode from within my control? I
Try calling AmbientUserMode() . It will return TRUE if the control is
in run mode, and FALSE if it isn't.
Jeff Evans.
| Вернуться в корень Архива
|