Hello folks,
I have an application issue where I permit the User to resize a Dialog Box based on a Font selection.
I am having some difficulty in thinking through what else I need to manage.
I want to enable scrolling of the Dialog itself.
In order to do so, I need to know the "real" size of the Dialog Box.
If I use GetClientRect or GetWindowRect, I will get the size that appears within the CFormView.
For example, suppose that the physical screen is 5 by 5.
I can end up with a dialog box that is 10 by 10.
Then I want to be able to show a scrollable dialog box in the 5 by 5 area.
Does that make sense?
If I load the dialog box now, I will only be able to view the 5 by 5 area, and if I issue GetClientRect, I can only see 5 by 5.
I checked my Main Frame, and it does not clip children.
If I use some silly values inside my scroll logic, I can actually scroll through the dialog. Which suggests this is doable.
But, what I'd really like to be able to get is the real Dialog Box size, not just the viewable area from the display.
Is this possible?
Thanks and Happy New Year!
.......Cameron
Cameron Conacher