I am writing an ActiveX control for an ActiveX container that has no "Visible" extender property, yet I need to be able to show or hide it. Can someone help me out?
I had a similar problem that was solved with the API.<br>
<br>
Declartaion:<br>
<br>
Private Declare Function ShowWindow Lib _<br>
"user32" (ByVal hWnd As Long, ByVal nCmdShow As Long) As Long<br>
<br>
to hide it:<br>
Call ShowWindow(UserControl.hWnd, 0)<br>
<br>
to show it:<br>
Call ShowWindow(UserControl.hWnd, 1)<br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.