|
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 |
· 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. |
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. |
|
|
|