|
2 registered members (AndrewAMD, 1 invisible),
1,296
guests, and 5
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Hiding window. LITE-C?
[Re: MMike]
#264545
05/06/09 18:28
05/06/09 18:28
|
mercuryus
Unregistered
|
mercuryus
Unregistered
|
#include <acknex.h>
#include <default.c>
#include <windows.h>
void main(){
wait(1);
ShowWindow(hWnd, SW_SHOWMINIMIZED);
}
|
|
|
Re: Hiding window. LITE-C?
[Re: ]
#264550
05/06/09 18:45
05/06/09 18:45
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
|
also ShowWindow(hWnd, SW_HIDE);
will completely hide it, it will be only visible at task manager's processes tab.
3333333333
|
|
|
Re: Hiding window. LITE-C?
[Re: Quad]
#264561
05/06/09 20:18
05/06/09 20:18
|
Joined: Jul 2004
Posts: 1,710
MMike
OP
Serious User
|
OP
Serious User
Joined: Jul 2004
Posts: 1,710
|
|
|
|
Re: Hiding window. LITE-C?
[Re: Gumby22don]
#264590
05/07/09 06:29
05/07/09 06:29
|
mercuryus
Unregistered
|
mercuryus
Unregistered
|
Take a look in windows.h. There are constants defined for ShowWindow(). They start with SW_ (SW_HIDE, SW_NORMAL, ...). hWnd is set by the engine to the engines window handle. (A click on the icon in the taskbar will restore it also)
Last edited by mercuryus; 05/07/09 06:30.
|
|
|
Re: Hiding window. LITE-C?
[Re: ]
#264591
05/07/09 06:32
05/07/09 06:32
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
|
SW_RESTORE restores back to it's previous position.
you can also check msdn for detailed explanation of the function
3333333333
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|