Does any1 know how i can get the status of a window if its maximized or not?
Does any1 know how i can get the status of a window if its maximized or not?
[edit]I was thinking of the GetWindowPlacement function. However, Sebastiani's suggestion may be cleaner.[/edit]
Last edited by anonytmouse; 01-26-2005 at 02:29 AM.
IsZoomed() for maximized, IsIconic() for minimized.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
Originally Posted by anonytmouse
That was a fast reply thnks too bothOriginally Posted by Sebastiani