TITLEBARINFO structure (winuser.h)
Contains title bar information.
Syntax
typedef struct tagTITLEBARINFO {
DWORD cbSize;
RECT rcTitleBar;
DWORD rgstate[CCHILDREN_TITLEBAR + 1];
} TITLEBARINFO, *PTITLEBARINFO, *LPTITLEBARINFO;
Members
cbSize
Type: DWORD
The size, in bytes, of the structure. The caller must set this member to sizeof(TITLEBARINFO)
.
rcTitleBar
Type: RECT
The coordinates of the title bar. These coordinates include all title-bar elements except the window menu.
rgstate[CCHILDREN_TITLEBAR + 1]
Type: DWORD[CCHILDREN_TITLEBAR+1]
An array that receives a 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | winuser.h (include Windows.h) |
See also
Conceptual
Reference