Posts: 1,058
Threads: 367
Joined: Oct 2007
I am wondering whether - and how - it is possible to change the font color of "TB StatusBar" toolbar. It is very likely that it can be done through :
CreateControl 0 "Static" "" 0 0 0 0 0 hWnd 1 _hfont
in TB_StatusBar function, but I do not know how.
Thanks
Posts: 12,090
Threads: 142
Joined: Dec 2002
Replace the 'Status Bar' folder with this. If samples2 is shared file, export/replace it, or changes will not be saved.
Attached Files
Status Bar.qml (Size: 1.1 KB / Downloads: 447)
Posts: 1,058
Threads: 367
Joined: Oct 2007
Gintaras,
Many thanks, it works perfectly !
Posts: 1,058
Threads: 367
Joined: Oct 2007
Dear Gintaras,
It does not work with QM 2.4.0.1. I tried various modifications, in vain. Could you please advise.
Regards, Simos
Posts: 12,090
Threads: 142
Joined: Dec 2002
QM now does not load riched32.dll at startup. It contains version 1 rich edit control class "RichEdit". It is very old, I thought nobody uses it now.
In TB_StatusBar replace "RichEdit" to "RichEdit20W".
Or load it in your init2 function: LoadLibrary("Riched32")
Posts: 1,058
Threads: 367
Joined: Oct 2007
Now checked, they both work perfectly. Congratulations for QM 2.4.0 !
Best regards.