Click here to Skip to main content
15,886,716 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How do I print the GetTitleBarInfo() title in a message box?


What I have tried:

I need to somehow work with the pointer
PTITLEBARINFO pTi;
in
BOOL GetTitleBarInfo(handle, pTi);
Posted
Updated 11-Mar-23 7:01am

1 solution

Ummm... GetTitleBarInfo does NOT get the text of the title bar of a window.

It returns a RECT structure that describes the bound of the title bar, and array of 6 integers indicating the state of certain title bar elements.

Did you not read the documentation on the TITLEBARINFO structure[^]?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900