Search code examples
c++winapititlebarcustom-titlebar

Title Bar customization


I'm trying to build a c++ program that customizes another window title bar, adding colored text and icons. The window I need to customize is in a closed source program.

Right now I can only change the text with SetWindowText, but was unable no find a way to get that level of customization:

Razor Ultima Online Customized Titlebar

The image is from Ultima Online title bar being customized by Razor, a closed source helper program.

Thanks for reading.


Solution

  • Custom drawing and subclassing of other process windows requires DLL injection and hooking to detect the windows creation with subclassing to handle the non client drawing and click/hittest messages..