Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

new menu always in disble state

kiran_apkiran_ap Member Posts: 1
hi:-)

i created new menu in mfc.exe text editor, but it is it disable state always even in run tome too. is there any oone help me.......

Comments

  • stoberstober Member Posts: 9,765 ✭✭✭
    : hi:-)
    :
    : i created new menu in mfc.exe text editor, but it is it disable state always even in run tome too. is there any oone help me.......
    :

    you have to set up event handlers for the menu items, then they will become enabled.
  • Rana ishtiaqRana ishtiaq Member Posts: 19
    My dear tell that have you made the resource.h file. I mean you have to include a resource.h file that you will made by using the resource .
    the steps are as under . from the main menu of developer studio vc++ select Inset menu option
    2 then select "Resource"
    3 then select "Menu " option
    4 then select " New" button
    5 the make menu there save it. and include it in your application
    then in begin message map and end message map
    call it
    as ON_COMMAND( ID (that you mention in Menu), name of the function)


    then run it.
    I do not I am able to explain you but if your required further or more details then I could send you code for your guidance. and lastely do not laugh at my answer. main ny try tu ki na.
    take care and behappy
Sign In or Register to comment.