Hi Friends
If I know the handle of a window and it is not visible How can I make this window visible.
plz, help me.
Printable View
Hi Friends
If I know the handle of a window and it is not visible How can I make this window visible.
plz, help me.
ShowWindow Function
Try this.
Code:Private Declare Function ShowWindow Lib "user32" Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
'To show the window:
ShowWindow HwndOfWindow, True
'To hide the window
ShowWindow HwndOfWindow, False
Thanx Both of u
I think Megatron got it easier.
You bothe posted the same code. :)Quote:
I think Megatron got it easier.