i want to use menu in dialog box.
-
i want to use menu in dialog box..how can i use it. thanx
-
i want to use menu in dialog box..how can i use it. thanx
-
i want to use menu in dialog box..how can i use it. thanx
Go to Resources> Add A menu (SAY IDR_MYMENU) Go to dialog editor. Right click for the property window. In the property window select the menu you want to show Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
Go to Resources> Add A menu (SAY IDR_MYMENU) Go to dialog editor. Right click for the property window. In the property window select the menu you want to show Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
hello thanx..its working can i handle menu similarly as i handle for the Doc/View Archicture. thanx.
-
1. Create a Menu Eg:IDR_MENU1 2. Open Dialog properties 3. Select IDR_MENU1 in Menu property.
hello thanx..its working can i handle menu similarly as i handle for the Doc/View Archicture. thanx.
-
i want to use menu in dialog box..how can i use it. thanx
-
hello thanx..its working can i handle menu similarly as i handle for the Doc/View Archicture. thanx.
Yeah In the OnCommand function of your dialog do this
switch(wParam) { case ID_FILE_HELLO: AfxMessageBox("i am here"); break; // etc follow with more options }
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
hello thanx..its working can i handle menu similarly as i handle for the Doc/View Archicture. thanx.
-
i want to use menu in dialog box..how can i use it. thanx
Create your program (for example CDialog) then go to resource and right click in resource and use Add resource in this window use Menu and ok now you can insert elements after insert item you can right click in each element and use
Add event handler...
in the class list you can select your class and clickAdd and edit
then if it work you can see your function that depend to menu and write your code. ----------- (2) if you dont want to use resource you can create your menu (dymanic) that of course its not easy than to use above way_**
**_
whitesky