Link to home
Start Free TrialLog in
Avatar of jas123
jas123

asked on

Resizing a window

I have a SDI application in which the view class is derived from CHTMLView class.

Now whenever the user resizes the window by dragging the window edge, I want to retain the original size of the window.That is, I want to avoid the resizing of the window.

How do I do this and in which method of the view or the window class should I imlement this to stop the resizing of the window?

I have tried using the setwindowpos mehtod in the OnSizing method ofthe window class with the SWP_NOSIZE option.

But this did not work.


Jasmina


ASKER CERTIFIED SOLUTION
Avatar of cdesigner
cdesigner
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial