Penguin of Oz mention breaks.

Ken Fitlike pointed out they are not needed.

Just a matter of style.
I use them as others have to read my code and so will find it easier to understand not only what I have done, but what I was attempting.

One thing.

The dialogs WM_COMMAND will always return TRUE regardless of weather or not the msg was actually processed.
Not a problem if you have the code for all the possible commands and don't wish windows to do any default command msg processing.



Code:
                    case WM_COMMAND:
	                 switch(LOWORD(wParam))
		         {
		              case IDOK:
		              case IDCANCEL:
                              EndDialog(hDlg, 0);
        		 }
                         return TRUE;