From: winapi on 2 Apr 2010 14:42 Hello, I now one can change the font type of a standard button control and I wondered if it's possible to change the "font color" of the button control also, that is without using the "owner draw" method? Thanks.
From: Timo Kunze on 2 Apr 2010 16:16 The button will send its parent window a WM_CTLCOLORBTN message. When handling this message, you can use SetTextColor to set the color that will be used when drawing the button's caption. Timo -- www.TimoSoft-Software.de - Unicode controls for VB6 "Those who sacrifice freedom for safety deserve neither." "Demokratie ist per Definition unsicher. Ihr Schutz entsteht aus der Überzeugung, dass die demokratischen Kräfte überwiegen und sich – auf demokratischem Wege – durchsetzen."
|
Pages: 1 Prev: Application crash Next: Bitmap shown "transparent" in static control due to Common Controls 6? |