changing text color of static comtrol
-
hi friends, i want to change the text colour of a static text, when the mouse cursor stays over it.it'll be realy great if someone can help me out in this. thank you in advance rajeev
rajeev82 wrote:
i want to change the text colour of a static text, when the mouse cursor stays over it.it'll be realy great if someone can help me out in this.
You can derive the class from CStatic and override the MouseOver and MouseLeave Messages. Knock out 't' from can't, You can if you think you can :cool:
-
rajeev82 wrote:
i want to change the text colour of a static text, when the mouse cursor stays over it.it'll be realy great if someone can help me out in this.
You can derive the class from CStatic and override the MouseOver and MouseLeave Messages. Knock out 't' from can't, You can if you think you can :cool:
A_Laxman wrote:
You can derive the class from CStatic and override the MouseOver and MouseLeave Messages
Your should register first to get those messages... Refer
TrackMouseEvent
andTRACKMOUSEEVENT
.
Nibu thomas A Developer Programming tips[^] My site[^]
-
rajeev82 wrote:
i want to change the text colour of a static text, when the mouse cursor stays over it.it'll be realy great if someone can help me out in this.
You can derive the class from CStatic and override the MouseOver and MouseLeave Messages. Knock out 't' from can't, You can if you think you can :cool:
-
hi friends, i want to change the text colour of a static text, when the mouse cursor stays over it.it'll be realy great if someone can help me out in this. thank you in advance rajeev
-
A_Laxman wrote:
MouseOver and MouseLeave Messages
Please, could you be more clear on these messages:) Cheers, Russell -- modified at 5:52 Wednesday 24th May, 2006
-
A_Laxman wrote:
MouseOver and MouseLeave Messages
Please, could you be more clear on these messages:) Cheers, Russell -- modified at 5:52 Wednesday 24th May, 2006
-
-
hi friends, i want to change the text colour of a static text, when the mouse cursor stays over it.it'll be realy great if someone can help me out in this. thank you in advance rajeev