Mètode SetDrawingStyle
Disponible per als objectes Window i Picture.
Sintaxi
Invoke SetDrawingStyle, hWnd, lStyle
Funció
Escriu la propietat DrawingStyle d'un objecte.
Paràmetres
hWnd
"Handle" de l'objecte.
lStyle
Valor DD que indica el nou estil del pinzell de l'objecte. Pot ser un dels valors següents:
0 ecSolid
1 ecDash
2 ecDot
3 ecDashDot
4 ecDashDotDot
5 ecNull
6 ecInsideFrame
Valor de retorn
Eax torna TRUE si s'ha pogut escriure la propietat, o FALSE si no.
OBSERVACIONS: L'estil del pinzell s'utilitza per dibuixar en els
mètodes Circle i Line.