problem with message handler invocation..
-
:confused:Hi, I have added a menuitem to the systemmenu as.. xMenu.InsertItem(0, MF_POSITION, ID_SETTINGS, "&Settings"); Also, I have added a command handler as.. COMMAND_ID_HANDLER(ID_SETTINGS, OnSettings) When I run the program, I can see the new menu item but when I click on it, the function OnSettings() doesn't get called!! What am I missing here? thanx in advance HV
-
:confused:Hi, I have added a menuitem to the systemmenu as.. xMenu.InsertItem(0, MF_POSITION, ID_SETTINGS, "&Settings"); Also, I have added a command handler as.. COMMAND_ID_HANDLER(ID_SETTINGS, OnSettings) When I run the program, I can see the new menu item but when I click on it, the function OnSettings() doesn't get called!! What am I missing here? thanx in advance HV
-
:confused:Hi, I have added a menuitem to the systemmenu as.. xMenu.InsertItem(0, MF_POSITION, ID_SETTINGS, "&Settings"); Also, I have added a command handler as.. COMMAND_ID_HANDLER(ID_SETTINGS, OnSettings) When I run the program, I can see the new menu item but when I click on it, the function OnSettings() doesn't get called!! What am I missing here? thanx in advance HV