-
Please Help..... (Anybody.......!)
I wrote a prog using the coding given in the front page of Vb-world to 'Disble Task keys'
but the prob is : If the user minimizes a window I can't maximize it without quiting my program...!
I can get the hWnd value of the window but don't know to proceed farther (maximize it....)
Even maximizing all apps is ok - so i can bring wthe window i want to front using 'AppActivate'
Pls help ...........!
Thanks
-
ramindu, here the sameple code for miximize any givcen window
Code:
Option Explicit
Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Private Const SW_MAXIMIZE = 3
Private Sub Command1_Click()
ShowWindow Form1.hwnd, SW_MAXIMIZE
End Sub
'Code improved by vBulletin Tool (Save as...)
-
Thank You
Thak You
Thak You Very Very Much.........
Rgds
Ramindu