ComboBox beendet Dialog bei Aktivierung...
-
Kann mir jemand erklären woran das liegen könnte? Folgendes steht in der ressource:
LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT IDD_DIALOG1 DIALOGEX 400, 300, 200, 80 STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_FIXEDSYS | WS_VISIBLE | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU CAPTION "Grafikhardware auswählen" FONT 8, "Ms Shell Dlg 2", 400, 0, 1 BEGIN DEFPUSHBUTTON "OK", IDOK, 25, 50, 50, 14 PUSHBUTTON "Cancel", IDCANCEL, 125, 50, 50, 14 COMBOBOX IDC_COMBO1, 40, 20, 120, 39, CBS_DROPDOWNLIST | CBS_HASSTRINGS END
-
ja an der fehlerhaften behandlung der combobox nachricht in der wndproc des dialogs.
-
will heißen, fix halt den fall through in deinem switch statement.