Contents Index Topic Contents | ||
Previous Topic: IShellBrowser::RemoveMenusSB Next Topic: IShellBrowser::SetMenuSB |
IShellBrowser::SendControlMsg
HRESULT SendControlMsg( UINT id, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *pret );Sends control messages to either the toolbar or the status bar in an Explorer window.
- Returns NOERROR if successful, or an OLE-defined error value otherwise.
- id
- Identifier for either a toolbar (FCW_TOOLBAR) or for a status bar window (FCW_STATUS).
- uMsg
- Message to be sent to the control.
- wParam
- Value depends on the message specified in the uMsg parameter.
- lParam
- Value depends on the message specified in the uMsg parameter.
- pret
- Address of the return value of the SendMessage function.
Refer to the Common Controls documentation for more information on the messages that can be sent to the toolbar or status bar control.
Notes to Callers
Use of this call requires diligent attention, because leaving either the status bar or toolbar in an inappropriate state will affect the performance of Windows Explorer.
Notes to Implementers
If your Windows Explorer does not have these controls, you can return E_NOTIMPL.
See also IShellBrowser
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.