question

DanielShepherd-8507 avatar image
0 Votes"
DanielShepherd-8507 asked RLWA32-6355 edited

Weird thing where menu in win32 resource file does not show as a variable in the code

I am implementing win32 menus, and I always come across a small problem. for example, if I create a menu and the id is ID_EXAMPLEMENU, and I want to make it so that once I click it, it will open a dialog box. So, when I make a case statement for that, it does not show it as a variable (and I have included resource.h) Does anyone have a fix?

windows-api
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Instead of narrative descriptions post a relevant code snippet. Descriptions of perceived problems are more difficult to understand and diagnose than actual code.

You talk about creating a menu but don't mention any menu items. Then you say you want to click on the menu (not a menu item) and open a dialog box. So you then go on and mention a case statement (where it appears or what it contains is unknown) but "it" does not show "It" as a variable. This isn't exactly clear. Post code snippets. Don't make us guess at what you are doing.

0 Votes 0 ·

Does it help if you save all files, right-click the source code (any location), then select Rescan, Rescan Solution?

0 Votes 0 ·

0 Answers