![]() |
Application invisibility
Hi! How to make main 32-bit application Window [for example: ;-) Handle: 000F024A, Class: Afx:400000:8:10011:0:ba4029d, Caption: IcqSnif] initially invisible?
|
How do you create this window ? If you create it with CreateWindow() do not use the WS_VISIBLE flag.
If you are trying to hide the window of another application use ShowWindow: BOOL ShowWindow( HWND hWnd, // handle to window int nCmdShow // show state ); |
Reverse E.
This is already compiled program. I have no source code. In other words - how to find Main aplication window structure in executable (except step-by-step debugging)?
|
Use FindWindow:
Code:
HWND FindWindow(Code:
HWND FindWindowEx(Code:
BOOL EnumWindows( |
Make a little proggie using function EnumWindows:
BOOL EnumWindows( WNDENUMPROC lpEnumFunc, // pointer to callback function LPARAM lParam // application-defined value ); This enumerates all windows on the screen, and your callback gets handle to each, so you can find and do anything you need:) |
| All times are GMT +8. The time now is 21:46. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX