IShellFolderViewCB::MessageSFVCB method (shlobj_core.h)
Allows communication between the system folder view object and a system folder view callback object.
Syntax
HRESULT MessageSFVCB(
[in] UINT uMsg,
WPARAM wParam,
LPARAM lParam
);
Parameters
[in] uMsg
Type: UINT
One of the following notifications.
Notification | Usage |
---|---|
SFVM_ADDPROPERTYPAGES | Allows the callback object to provide a page to add to the Properties property sheet of the selected object. |
SFVM_BACKGROUNDENUM | Allows the callback object to request that enumeration be done on a background thread. |
SFVM_BACKGROUNDENUMDONE | Notifies the callback object that background enumeration is complete. |
SFVM_COLUMNCLICK | Notifies the callback object that the user has clicked a column header to sort the list of objects in the folder view. |
SFVM_DEFITEMCOUNT | Allows the callback object to specify the number of items in the folder view. |
SFVM_DEFVIEWMODE | Allows the callback object to specify the view mode. |
SFVM_DIDDRAGDROP | Notifies the callback function that a drag-and-drop operation has begun. |
SFVM_FSNOTIFY | Notifies the callback object that an event has taken place that affects one of its items. |
SFVM_GETANIMATION | Allows the callback object to specify that an animation be displayed while items are enumerated on a background thread. |
SFVM_GETBUTTONINFO | Allows the callback object to add buttons to the toolbar. |
SFVM_GETBUTTONS | Allows the callback object to specify the buttons to be added to the toolbar. |
SFVM_GETDETAILSOF | Allows the callback object to provide the details for an item in a Shell folder. Use only if a call to GetDetailsOf fails and there is no GetDetailsOf method available to call. |
SFVM_GETHELPTEXT | Allows the callback object to specify a help text string for menu items or toolbar buttons. |
SFVM_GETHELPTOPIC | Allows the callback object to specify a Help file and topic. |
SFVM_GETNOTIFY | Specifies which events will generate an SFVM_FSNOTIFY message for a given item. |
SFVM_GETPANE | Allows the callback object to provide the status bar pane in which to display the Internet zone information. |
SFVM_GETSORTDEFAULTS | Allows the callback object to specify default sorting parameters. |
SFVM_GETTOOLTIPTEXT | Allows the callback object to specify a tooltip text string for menu items or toolbar buttons. |
SFVM_GETZONE | Allows the callback object to provide Internet zone information. |
SFVM_INITMENUPOPUP | Allows the callback object to modify an item's context menu. |
SFVM_INVOKECOMMAND | Notifies the callback object that one of its toolbar or menu commands has been invoked. |
SFVM_MERGEMENU | Allows the callback object to merge menu items into the Windows Explorer menus. |
SFVM_QUERYFSNOTIFY | Allows the callback object to register a folder so that changes to that folder's view will generate notifications. |
SFVM_SETISFV | Notifies the callback object of the container site. This is used only when IObjectWithSite::SetSite is not supported and SHCreateShellFolderViewEx is used. |
SFVM_SIZE | Notifies the callback object that the folder view has been resized. |
SFVM_THISIDLIST | Allows the callback object to specify the view's PIDL. This is used only when SetIDList and IPersistFolder2::GetCurFolder have failed. |
SFVM_UNMERGEMENU | Notifies the callback object that a menu is being removed. |
SFVM_UPDATESTATUSBAR | Allows the callback object to request that the status bar be updated. |
SFVM_WINDOWCREATED | Notifies the callback object that the folder view window is being created. |
wParam
Type: WPARAM
Additional information. See the individual notification pages for specific requirements.
lParam
Type: LPARAM
Additional information. See the individual notification pages for specific requirements.
Return value
Type: HRESULT
This method can return one of these values.
Return code | Description |
---|---|
|
The notification has been handled. |
|
The message has not been handled and the system folder view object should perform default processing. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shlobj_core.h |
DLL | Shell32.dll |