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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX container problems

Status
Not open for further replies.

marct

Programmer
Apr 6, 1999
32
0
0
US
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>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top