![]() |
|
#1
|
|||
|
|||
|
Hi! How to make main 32-bit application Window [for example: ;-) Handle: 000F024A, Class: Afx:400000:8:10011:0:ba4029d, Caption: IcqSnif] initially invisible?
|
|
#2
|
|||
|
|||
|
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 ); |
|
#3
|
|||
|
|||
|
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)?
|
|
#4
|
|||
|
|||
|
Use FindWindow:
Code:
HWND FindWindow(
LPCTSTR lpClassName,
LPCTSTR lpWindowName
);
Code:
HWND FindWindowEx(
HWND hwndParent,
HWND hwndChildAfter,
LPCTSTR lpszClass,
LPCTSTR lpszWindow
);
Code:
BOOL EnumWindows(
WNDENUMPROC lpEnumFunc,
LPARAM lParam
);
Last edited by Satyric0n; 03-08-2004 at 17:51. |
|
#5
|
|||
|
|||
|
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
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Loader for x64 application ? | Mahmoudnia | General Discussion | 4 | 02-02-2017 14:17 |
| Can anyone unpack this application | arslanbhatti | General Discussion | 4 | 03-21-2009 06:15 |