HI,
below is a piece of code.
HWND hVWnd;
RECT rRect;
GetWindowRect(hVWnd,&rRect);
diff_val = rRect.bottom-rRect.top;
If on starting a application if my window is minimized then value o
rRect.top and
rRect.bottom is -32000.
Is it a garbage value or any valid error code?
Once my window get normal size it gives me a valid wondow cordinates
(such as 405, 395 ..)
my question is,
when a window is minimize then GetwindowRect's top propery is alway
-32000.
or it could be any other garbage value.
Waiting for your reply
Many thank
--
dipak2210198
-----------------------------------------------------------------------
dipak22101980's Profile:
http://www.hightechtalks.com/m2
View this thread:
http://www.hightechtalks.com/t220900