开发者

how to set the controls right aligned with the view in MFC SDI application

开发者 https://www.devze.com 2023-02-10 18:54 出处:网络
I have created a开发者_Python百科 MFC SDI application, and the view is derived from CFormView, so i can put some controls on the dialog. I have put a groupbox at the right side of the dialog and put s

I have created a开发者_Python百科 MFC SDI application, and the view is derived from CFormView, so i can put some controls on the dialog. I have put a groupbox at the right side of the dialog and put some other controls inside the groupbox, such as edit box etc.

What i want is the groupbox and the controls inside right aligned with the dialog when i am resizing the view, just like the followingbehavior in C#: set the anchor property of groupbox to be "Right"


The EasySize is what i want

0

精彩评论

暂无评论...
验证码 换一张
取 消