how to add menu on dialog?
-
hi: all my program is based on dialog,but i want to add menu for it, i insert a menu resource and with the instruction of classwizard select associate the menu with my dialog,but when i do this ,once runing i found no menu on dialog,why , please lend me a hand. thx
-
hi: all my program is based on dialog,but i want to add menu for it, i insert a menu resource and with the instruction of classwizard select associate the menu with my dialog,but when i do this ,once runing i found no menu on dialog,why , please lend me a hand. thx
would have loved to answer, but i dont care to experiment with MFC. MFC sucks big time. Stop using it dude! Give C++ Builder a try, and you'll never come back to VC++ for any of your UI-related tasks. Infact, the only reason VC++ is good is: fast "code-completion". Thats it. From a programmers perspective. Bikram Singh
-
hi: all my program is based on dialog,but i want to add menu for it, i insert a menu resource and with the instruction of classwizard select associate the menu with my dialog,but when i do this ,once runing i found no menu on dialog,why , please lend me a hand. thx
rigth click onto your dialog and select properties in the context menu. there, you have a property called menu. select the menu you just created (and saved with an explicit name) in the associated combobox... there you dialog have its menu...
TOXCCT >>> GEII power
-
would have loved to answer, but i dont care to experiment with MFC. MFC sucks big time. Stop using it dude! Give C++ Builder a try, and you'll never come back to VC++ for any of your UI-related tasks. Infact, the only reason VC++ is good is: fast "code-completion". Thats it. From a programmers perspective. Bikram Singh
hey, who do you think you are ??? if you don't like visual C++, don't use it... and don't register to codeproject either... moreover, vividtang was asking about adding a menu into a dialog, and your answer don't have any reason to be here... :mad: poor boy you are :suss: X|
TOXCCT >>> GEII power
-
hi: all my program is based on dialog,but i want to add menu for it, i insert a menu resource and with the instruction of classwizard select associate the menu with my dialog,but when i do this ,once runing i found no menu on dialog,why , please lend me a hand. thx
You'll have to associate the resources, if you have not already done that. In MSVC++, you select the dialog box properties in the resource editor, and select the menu from the dropdown Menu. Note that you will not be able to see the menu in the resource editor - it only shows when running the program.