Contents Index Topic Contents | ||
Previous Topic: BrowseCallbackProc Next Topic: UndeleteFile |
FMExtensionProc
LONG WINAPI FMExtensionProc( HWND hwnd, WORD wMsg, LONG lParam );Application-defined callback function called by File Manager to communicate with a File Manager extension.
- Returns a value dependent upon the wMsg parameter message.
- hwnd
- Window handle to File Manager. An extension should use this handle to specify the parent window for any dialog box or message box it must display; it should also use this handle to send query messages to File Manager.
- wMsg
- One of the following File Manager messages:
1 through 99 User selected an item from the extension-supplied menu. The value is the identifier of the selected menu item. FMEVENT_HELPMENUITEM User pressed F1 while selecting an extension menu or toolbar command item. File Manager wants the extension to call WinHelp appropriately for the command item. FMEVENT_HELPSTRING User selected an extension menu or toolbar command item. File Manager wants the extension to supply a Help string. FMEVENT_INITMENU User selected the extension's menu. The extension should initialize items in the menu. FMEVENT_LOAD File Manager is loading the extension DLL and prompts the DLL for information about the menu that the DLL supplies. FMEVENT_SELCHANGE Selection in the File Manager directory window or Search Results window has changed. FMEVENT_TOOLBARLOAD File Manager is creating the toolbar and prompts the extension DLL for information about any buttons the DLL adds to the toolbar. FMEVENT_UNLOAD File Manager is unloading the extension DLL. FMEVENT_USER_REFRESH User selected the Refresh command from the Window menu. The extension should update items in the menu, if necessary. - lParam
- Message-specific value.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.