I created a dialogbox, with controls, by using the DialogBox() function and a resource file with the controls in it (IDD_DIALOG1). But I'm having an extremely hard time finding a function which will add a menu, also in the resource file, to a dialog created in such a way (IDR_MENU1).

Help?

it is so easy brother

first add menu(create new or existing one) to your resource file.

now go to your dialog and select whole dialog not any control then right click on it then goto property and select Menu option and give menu id thats it now compile and run the app menu is attached to it

commented: You made it so easy. +9

Thanks, that worked brilliantly. I knew it was something very simple.