To change the tab order of a control in MFC

Source: Internet
Author: User

In the MFC interface, if the tab order of the control is disorderly, it may make the interface appear unexpectedly.

For example, if you use Spin control to increase or decrease the value within an edit control, the control text may be displayed incorrectly if the tab order of the Edit control, Spin control, and other controls is incorrect.

The property of Spin control is Auto Buddy, which is related to the tab order of the control. You need to make sure that the tab order of edit control is a value smaller than the tab order of spin control.

Enter the resource View, open the dialog interface, with the shortcut key Ctrl + D, you can see the tab order of the controls. You can modify the tab order by clicking each control with the mouse.

To change the tab order of a control in MFC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.