Click here to Skip to main content
15,917,968 members
Articles / Desktop Programming / MFC

MFC Default Button

18 Apr 2010CPOL 9.7K   2   5
If you want change your default button in your MFC Dialogs, you simply write these codes in your code file ( *.cpp which associated with the dialog);NOTE: Your button ID is "BT_BUTTON" and button's control variable is "cbt_button" (without quotes){ cbt_first.SetFocus(); ...
Only logged in members can view this content

Please go to the MFC Table of Contents to view the list of available articles in this section.