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.
Expands on the information described in the TITLEBARINFO structure by including the coordinates of each element of the title bar.
This structure is sent with the WM_GETTITLEBARINFOEX message.
typedef struct tagTITLEBARINFOEX {
DWORD cbSize;
RECT rcTitleBar;
DWORD rgstate[CCHILDREN_TITLEBAR + 1];
RECT rgrect[CCHILDREN_TITLEBAR + 1];
} TITLEBARINFOEX, *PTITLEBARINFOEX, *LPTITLEBARINFOEX;
cbSize
Type: DWORD
The size of the structure, in bytes. Set this member to sizeof(TITLEBARINFOEX)
before sending with the WM_GETTITLEBARINFOEX message.
rcTitleBar
Type: RECT
The bounding rectangle of the title bar. The rectangle is expressed in screen coordinates and includes all titlebar elements except the window menu.
rgstate[CCHILDREN_TITLEBAR + 1]
Type: DWORD[CCHILDREN_TITLEBAR+1]
An array that receives a DWORD value for each element of the title bar. The following are the title bar elements represented by the array.
Index | Title Bar Element |
---|---|
0 | The title bar itself. |
1 | Reserved. |
2 | Minimize button. |
3 | Maximize button. |
4 | Help button. |
5 | Close button. |
Each array element is a combination of one or more of the following values.
rgrect[CCHILDREN_TITLEBAR + 1]
Type: RECT[CCHILDREN_TITLEBAR+1]
An array that receives a structure for each element of the title bar. The structures are expressed in screen coordinates. The following are the title bar elements represented by the array.
Index | Title Bar Element |
---|---|
0 | Reserved. |
1 | Reserved. |
2 | Minimize button. |
3 | Maximize button. |
4 | Help button. |
5 | Close button. |
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | winuser.h (include Windows.h) |
Conceptual
Reference