solve this one
-
i hav three dialog boxes third dialog box contain menu i want that when i goto third dialog box from first dialog box then its menu are disabled but when i go from second dialog box third dialog box menues are not disabled. plz send me code how to do it Please mail me
-
i hav three dialog boxes third dialog box contain menu i want that when i goto third dialog box from first dialog box then its menu are disabled but when i go from second dialog box third dialog box menues are not disabled. plz send me code how to do it Please mail me
Which of the dialogs are modal and which are modeless?
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
-
i hav three dialog boxes third dialog box contain menu i want that when i goto third dialog box from first dialog box then its menu are disabled but when i go from second dialog box third dialog box menues are not disabled. plz send me code how to do it Please mail me
Simple. Use a boolean flag, call it bRemoveMenu, and set it to false by default. Then when the dialog is launched from the third dialog box, call SetMenu(NULL). That will clear the menu from the dialog box, giving you a window without a menu. It's easier than traversing through the menu disabling each option.
-
i hav three dialog boxes third dialog box contain menu i want that when i goto third dialog box from first dialog box then its menu are disabled but when i go from second dialog box third dialog box menues are not disabled. plz send me code how to do it Please mail me