[MSVC++] Reacting on events (strange bug now)

Started by
10 comments, last by GameDev.net 18 years ago
I ran some tests but I don't think anything really useful came out of it.

GetLastError ( ) doesn't return any data and none of the DialogBox ( ) functions return -1.

But what do you mean with "what value do you use for IDC_LOGINBUTTON"? IDC_LOGINBUTTON is the ID of the button on IDD_FORMLOGIN.
Advertisement
does the second dialog box even return anything (when run on your laptop)? and what does the first box return? what I meant by 'the value' is in your resource header i.e. #define IDC_LOGINBUTTON 1000. but the way your code is in the last post, it's fine. should work on a PC or laptop (least I don't recall seeing anything ever on MSDN about special dialog treatment for laptops). could be a common controls type thing though... can you post the RC file? what happens when you gut all the controls (except for the button ones) out of the second dialog?

This topic is closed to new replies.

Advertisement