|
-
Nov 9th, 1999, 11:26 AM
#1
Thread Starter
New Member
I am trying to use API DestroyWindow
to auto close an active window.
in a timer,
Dim hwnd as long
hwnd=GetforegroundWindow
call DestroyWindow(hwnd)
It does not work, but if use CloseWindow
in place of DestroyEindow, it works except
it just minimizes the wind.
Do I miss something?
Thanks for any help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|