Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change text color of "TB StatusBar" toolbar
#1
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
#2
Replace the 'Status Bar' folder with this. If samples2 is shared file, export/replace it, or changes will not be saved.


Attached Files
.qml   Status Bar.qml (Size: 1.1 KB / Downloads: 447)
#3
Gintaras,

Many thanks, it works perfectly !
#4
Dear Gintaras,

It does not work with QM 2.4.0.1. I tried various modifications, in vain. Could you please advise.

Regards, Simos
#5
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")
#6
Now checked, they both work perfectly. Congratulations for QM 2.4.0 !
Best regards.


Forum Jump:


Users browsing this thread: 4 Guest(s)