Hi,
I just discovered it was a problem in the way i was calling my dialog box. The relevant code is:
DialogBox(NULL, MAKEINTRESOURCE(IDD_SETTINGS), hWnd, (DLGPROC)DlgSettingsProc);
The first parameter, NULL, is the cause of my problem. It is supposed to be the instance (HINSTANCE) of the...