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.
Retrieves the index of the tab that contains the specified HWND object.
virtual int GetTabFromHwnd(
HWND hwnd
) const;
Parameters
- [in] hwnd
A handle to a window.
Return Value
The zero-based index of the tab if successful; -1 if no tab contains hwnd.
Requirements
Header: afxbasetabctrl.h