- // for this message, returning TRUE tells system to set focus to the
- // first control in the dialog box
- return TRUE;
- }
- else
- {
- // for all the other ones, FALSE means that we didn't process the
- // message
- return FALSE;
+ case WM_INITDIALOG:
+ // for this message, returning TRUE tells system to set focus to the
+ // first control in the dialog box
+ return TRUE;
+
+ default:
+ // for all the other ones, FALSE means that we didn't process the
+ // message
+ return FALSE;