home *** CD-ROM | disk | FTP | other *** search
- frmMWDemo2
- Menu Watch Demo 2
- wwwwwwwwwwwwp
- wwwwwwwwwwwwp
- Form1
- MenuWatch
- SKL_MenuWatch
- picStatusBarContainer
- pnHelp
- SSPanel
- MS Sans Serif
- pnStatus
- SSPanel
- MS Sans Serif
- FileMenu
- &File
- FileNewOpt
- FileOpenOpt
- &Open...
- FileSaveOpt
- &Save
- FileSaveAsOpt
- Save &As...
- FileSep1
- FilePrefSubMenu
- &Preferences
- FilePrefViewOpt
- &View...
- FilePrefDialogsOpt
- &Dialogs...
- FileSep2
- FileExitOpt
- E&xit
- EditMenu
- &Edit
- EditUndoOpt
- &Undo
- EditSep1
- EditCutOpt
- EditCopyOpt
- &Copy
- EditPasteOpt
- &Paste
- FileExitOpt_Click
- Form_Load
- HelpFile
- MenuHelpText
- fSeparator
- MenuState
- fMenuHelpInited
- MenuHelpX
- minMnuHlpIdx
- maxMnuHlpIdx
- InitMenuHelp
- MenuHelpIdx
- MenuWatch_Close
- pnHelp
- Visible
- MenuWatch_Open
- MenuWatch_Select
- ItemID
- FileExitOpt_Click
- DESCRIPTION
- Bring the App to an End
- Form_Load
- DESCRIPTION
- On Form Load, setup help file (this allows user to verify that help
- still works while menu item is selected)w
- winhelp.hlp
- MenuHelpText
- DESCRIPTION
- Given the logical ID of the menu item selected and the current=
- "MenuState" (Note, "MenuState" is not really used here since this simple=
- app has only a single "MenuState"---the menu does not change), return
- an appropriate menu help text snippet to be displayed in the status
- areap
- If the "MenuHelp" String array has not been initialized, then
- initialize it now
- Determine what menu text snippet to use... This is rather easy to
- do since the menu for this app. stays the same throughout its
- execution
- Based on the value assigned to "MenuHelpIdx" above, return the
- appropriate menu help snippet (Note that this simple app has only
- a single "MenuState")
- Here we simply make sure that the index is not out of range
- for our array---if it is, return the empty string
- Switch to another application
- [Separator]
- Close
- [Separator]
- Maximize
- Minimize
- Restore
- Move, size, or close window
- File Menu
- File|New
- File|Open...
- File|Save
- File|Save As...
- [Separator]
- File|Preferences >
- File|Preferences|View...
- File|Preferences|Dialogs...
- [Separator]
- File|Exit
- Edit Menu
- Edit|Undo
- [Separator]
- Edit|Cut
- Edit|Copy
- Edit|Paste
- MenuWatch_Close
- DESCRIPTION
- When the "Menu Watch" control informs us that the user has completed=
- any interaction with the menu, revert back to normal status bar
- MenuWatch_Open
- DESCRIPTION
- When the "Menu Watch" control informs us that the user has begun=
- to interact with the menu, show the menu help status bara
- MenuWatch_Select
- DESCRIPTION
- When the "Menu Watch" control tells us that a menu option has been=
- selected (highlighted), set the caption of the menu help status
- bar to the appropriate text
- Use the "MenuHelpText" function to get the appropriateh
- menu help snippet
-