that worked, thanx HV
harishv
Posts
-
problem with message handler invocation.. -
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
-
command_id_handlerok, go that. in fact, that was the problem. thanks a lot for your suggestion. really appreciate that.:)
-
command_id_handler:confused:Hi, I have a dialog that is invoked form a property sheet that has various controls (edit boxes, check boxes) in my dialog. I need to know if the user modified (touched) any of these. There are function handlers for all of the controls (thru the COMMAND_ID_HANDLER macro). I expcted these to be called only when the user changes something. But these functions are being invoked when the dialog shows up!! What is the problem? Regards HV