Bueno el tema es que no tengo ningun boton en mi aplicacion pero cuando la abro y apreto el "enter" la aplicacion se cierra
- LRESULT CALLBACK LaserInjectorDialog( HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam ) 
- { 
-   switch ( Msg ) 
-   { 
-   case WM_INITDIALOG: 
-       return TRUE; 
-   
-   case WM_SYSCOMMAND: 
-       if ( wParam == SC_MINIMIZE ) 
-       { 
-           trayIcon.hWnd = hDlg; 
-           Shell_NotifyIcon( NIM_ADD, &trayIcon ); 
-           ShowWindow( hDlg, SW_HIDE ); 
-           return TRUE; 
-       } 
-       break; 
-   case WM_TRAY: 
-       TrayIcon( (WPARAM)(hDlg), lParam ); 
-       break; 
-   } 
-    
-   return FALSE; 
- } 
-   
-   
aclaro que no tengo ningun VK_ENTER