Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

CmdJoeM

Win32 Question?

This topic is 5854 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In my college course I am required to complete a Win32 program. I am currently working on trying to get my own custom windo appear. I copied and pasted the following line of code from the default about menu. Right now I need a menu pull down(which I have) and the when you click on it the new Dialog box appears. Right now my only error is Process: undeclared identifier. Where to i declare it? //My new code case ID_EMPLOYEE_PROCESS: DialogBox(hInst, (LPCTSTR)IDD_PROCESS, hWnd, (DLGPROC)Process); break; //Default About box i must keep this case IDM_ABOUT: DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About); break;

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
same place you declared About()

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!