Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get The Size Of A Window

Status
Not open for further replies.

Captrick458

Programmer
Mar 27, 2005
37
US
I am using the SDI, (CScrollView) and want to know whether a specific portion of the output is actually visible to the user. I know the size of the window at creation, but I don't know how to tell if it has been resized by the user, and, if so, what is the new size.

Thanks in advance,

Rick
 
GetWindowRect does not help?
You can calculate the width and height of the current window at any time using the above.

s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top