VC++: How can I create an edit window of the size same as the size of frame window and resize automatically when size of frame window is changed?
How can I create an edit window of the size same as the size of frame window and resize automatically when size of frame window is changed?
By giving AFX_IDW_PANE_FIRST as an id while creating an edit window.
For example:
edit.Create ( WS_CHILD | WS_VISIBLE | ES_MULTILINE, rectDefault, this,
AFX_IDW_PANE_FIRST ) ;where edit is an object of CEdit class.




Comments
Log in or create a user account to comment.