Monday, February 14, 2011

Setting up the Tab Order in MFC

Dialog boxes Controls get the focus in a specific order when the user hits the TAB key.


In VC++6 this order is decided through the interface (Dialog resource editor / Layout / Tab order - or Control-D).

In VC++.NET there are two new methods to access, set and change Tab order: Control .TapStop(boolean) and TabIndex(int).

- TabStop (there_is_a_tab_stop)

- TabIndex (index_of_tab_stop_the_lower_the_nearer)


No comments:

Post a Comment

Health Benefits of Cashews

  Benefits of Cashews. Healthy food is an integral part of healthy body. Regular exercises such as Yoga and healthy diet is important to...