Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deprecated. Used when translating accelerators through TranslateAcceleratorSB and in checking the cycle of focus between the view and the browser's toolbars.
Syntax
HRESULT v_MayGetNextToolbarFocus(
[in] LPMSG lpMsg,
[in] UINT itbNext,
[in] int citb,
[out] LPTOOLBARITEM *pptbi,
[out] HWND *phwnd
);
Parameters
[in] lpMsg
Type: LPMSG
A pointer to a MSG that contains the keystroke message.
[in] itbNext
Type: UINT
The index of the next toolbar, or ITB_VIEW if focus is shifting to the view.
[in] citb
Type: int
The ID of the current toolbar with focus, or ITB_VIEW if the view has focus.
[out] pptbi
Type: LPTOOLBARITEM*
A pointer to a TOOLBARITEM structure that represents the toolbar receiving the focus.
[out] phwnd
Type: HWND*
A pointer to the handle of the window that contains the toolbar.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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 | shdeprecated.h |