youpiyoyo
Messages postés539Date d'inscriptionvendredi 6 juin 2003StatutMembreDernière intervention14 juillet 2010
-
17 avril 2004 à 15:15
vecchio56
Messages postés6535Date d'inscriptionlundi 16 décembre 2002StatutMembreDernière intervention22 août 2010
-
17 avril 2004 à 15:54
slt j'aurai besoin d'un coup de main
j'ai mis un slider control dans ma boite de dlg et vu ke j'utilise WM_CTLCOLORSTATIC pour changer la couleur d'un text ceci fais changer la couleur du slider en vert.....
en regardant dans msdn j'ai vu ke il disait:
"Edit controls that are not read-only or disabled do not send the WM_CTLCOLORSTATIC message; instead, they send the WM_CTLCOLOREDIT message"
donc j'ai testé avec WM_CTLCOLOREDIT et en renvoyant un
GetStockObject(WHITE_BRUSH); car ceci changer tout mes edit conrol de couleur.
je suppose k'il fo mettre un SetBkMode((HDC) wParam, TRANSPARENT);