With Delphi 7, it tries to change the color of the title bar of a software from a window theme. I saw code that allows you to change ALL header lines of all programs, but I just want to change my program.
Has anyone seen / done anything like this? Ignore the component if necessary.
I believe that Windows sends the WM_NCPAINT message to the application when it should draw the window frame, including the title bar. The default behavior is to return to the default Windows handler, which draws a default border. You can replace this or recolor the header section immediately after.
This looks like a good example: http://delphi.about.com/od/adptips2006/qt/draw_captionbar.htm
Stijn , , (). , WM_NCPAINT WM_NCACTIVATE. , , ( ) , . , , , , , .
WM_NCPAINT
WM_NCACTIVATE
- , . . " XP " , Windows API, Delphi. , , .
You can take a look at the skinning library. ExpressExpress from DevExpress is good.
Source: https://habr.com/ru/post/1727587/More articles:What API / Google Tool should a web developer know? - google-apiCheck in text box in wpf - c #creating inner classes with spring - javaMongoDB для хранения различных файлов (схем) журнала - loggingWhat is the (most?) Secure way to handle database connections in a web application? - securityIs it possible to issue a select query in mysql without any read locks? - performanceWhy does XML :: Twig print the extracted string twice? - xmlNSInteger and decodeInteger: forKey: problems - objective-cExternal and internal glow with transparent buttons WPF - buttonNested sql connection requires an explanation of the process - sqlAll Articles