A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



GetTitleBarInfo

The GetTitleBarInfo function retrieves information about the specified title bar.

VB4-32,5,6
Declare Function GetTitleBarInfo Lib "user32.dll" (ByVal hwnd As Long, ByRef pti As TITLEBARINFO) As Long

Operating Systems Supported
Included in Windows NT 4.0 SP6 and later; Included in Windows 98 and later

Library
User32

Parameter Information
- hwnd
[in] Handle to the title bar whose information is to be retrieved.

- pti
[out] Pointer to a TITLEBARINFO structure to receive the information. Note that you must set TITLEBARINFO.cbSize to sizeof(TITLEBARINFO) before calling this function.

Return Values
If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Last update: 07 April 2006