Reputation: 20633
To my surprise, I can't easily find a solution. I want to set initial size of a view in MFC. How can I do that?
Upvotes: 1
Views: 2741
Reputation: 490048
You don't size a view, but you can size the view's parent frame window:
GetParentFrame()->MoveWindow(x, y, width, height);
Upvotes: 4