Dialog Boxes

This is a discussion on Dialog Boxes within the Windows Programming forums, part of the Platform Specific Boards category; I'm fairly new to Win Programming.
For the DialogBox function ( http://msdn2.microsoft.com/en-us/library/ms645452.aspx ) what is the 2nd parameter, exactly? I ...

The template for your dialog box is usually a DIALOGEX resource, defined in your resource file. All dialog resources must have a nameID which can either be a string or 16-bit unsigned integer number. Since the latter is commonly the case when naming resources, you will usually need to use the MAKEINTRESOURCE macro which creates the necessary identifier from your integer resource id to supply to the DialogBox function. I.E. if you defined a DialogEx resource as such:

Doesn't say what it is though. It just says it's a "Syntax Error". No specifics. If I comment out that line, the program will compile and run and the dialogbox will be created but it is just a small rectangle box.

Isn't that the point? If you know the solution for every problem you have, then what's the reason for debugging? This is why being a good programmer requires more than simply just being able to write code that compiles.

No one ever told me what those arguments were... I would have looked them up if I had known that was the issue.

Thanks for the help.

Did you not see my BIG GLARING RED CAPSLOCK TEXT LINK to the DialogBoxEX resource in my previous post that I selflessly found and provided for you EVEN though it is more than readily available via MSDN search? Didn't you think a link to the MSDN DIALOGEX resource might just have something to do with.. oh, i dunno, a DialogBox resource??