|
-
Feb 22nd, 2001, 07:07 PM
#1
Thread Starter
Frenzied Member
Anyone know how to get the Window state? Like if the window is minimized or hidden?
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Feb 22nd, 2001, 08:39 PM
#2
Lively Member
-
Feb 23rd, 2001, 07:26 AM
#3
Frenzied Member
Or
Code:
IsWindowVisible
The IsWindowVisible function retrieves the visibility state of the specified window.
BOOL IsWindowVisible(
HWND hWnd // handle to window
);
Parameters
hWnd
Handle to the window to test.
Return Values
If the specified window and its parent window have the WS_VISIBLE style, the return value is nonzero.
If the specified window and its parent window do not have the WS_VISIBLE style, the return value is zero. Because the return value specifies whether the window has the WS_VISIBLE style, it may be nonzero even if the window is totally obscured by other windows.
------------------------------------------------------------------
The IsZoomed function determines whether a window is maximized.
BOOL IsZoomed(
HWND hWnd // handle to window
);
Parameters
hWnd
Handle to the window to test.
Return Values
If the window is zoomed, the return value is nonzero.
If the window is not zoomed, the return value is zero.
-
Feb 23rd, 2001, 10:55 AM
#4
Thread Starter
Frenzied Member
thanks guys I will give it a shot
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Feb 23rd, 2001, 05:55 PM
#5
The IsIconic function will determine whether it's minimized or not.
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
|