GetClientRect returns different values each time app is run 
Author Message
 GetClientRect returns different values each time app is run

Why does GetClientRect() return different values each time I run my app?
The main frame (SDI) is always shown maximized.

Cheers,
James



Mon, 17 Nov 2003 20:50:41 GMT  
 GetClientRect returns different values each time app is run
Think I've found this one. Although I was showing it maximized, I didn't
have the WS_MAXIMIZE flag set in the CREATESTRUCT.
Quote:

> Why does GetClientRect() return different values each time I run my app?
> The main frame (SDI) is always shown maximized.

> Cheers,
> James



Mon, 17 Nov 2003 23:24:40 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Property return to default value at run-time in VB

2. localtime function returns different values for different winnt operating systems

3. GetCommTimeouts is returns different values on different ports

4. Help - Calling ActiveX DLL function from VB and C++ returns different values

5. GetCurSel() for a CComboBox is returns 2 different values on consecutive calls

6. Using new with different run-time libraries.

7. How to use different API at run time...

8. Running Db Apps on different PCs

9. Return value in multi-threaded app?

10. return a value when an MFC dialog-based app exits

11. CEdit::GetClientRect() returns wrong info?

12. ? Return values from a Dialog App

 

 
Powered by phpBB® Forum Software