The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: dedndave on January 22, 2011, 12:41:32 AM

Title: Get Window State
Post by: dedndave on January 22, 2011, 12:41:32 AM
which function do i use to get the current state of a window (i.e. minimized, normal, maximized) ?
Title: Re: Get Window State
Post by: Antariy on January 22, 2011, 12:57:46 AM
Quote from: dedndave on January 22, 2011, 12:41:32 AM
which function do i use to get the current state of a window (i.e. minimized, normal, maximized) ?

IsIconic return true if it is minimized. IsZoomed - true if it is maximized. If not maximired nor minimized - then it is normal :lol
Title: Re: Get Window State
Post by: dedndave on January 22, 2011, 12:58:17 AM
thanks Alex   :U
Title: Re: Get Window State
Post by: Antariy on January 22, 2011, 01:02:29 AM
"True" return is "not zero".