[Win32lib] setPenColor

new topic     » topic index » view thread      » older message » newer message

Hello all Win32lib developers,

I found a problem in Win32lib v 0.57.8 17/June/2002
setPenColor must now be called with every drawLine( ).
Instead of :
setPenColor( id, getSysColor( COLOR_HILIGHT ) )
drawLine( id, x, y+1, x+size, y+1 )
drawLine( id, x, y+1, x, y+55 )

you must do this now:
setPenColor( id, getSysColor( COLOR_HILIGHT ) )
drawLine( id, x, y+1, x+size, y+1 )
setPenColor( id, getSysColor( COLOR_HILIGHT ) )
drawLine( id, x, y+1, x, y+55 )

I looked at fixing the problem but this is got to be the most 
code I have ever seen for seleting a pen and drawing a line. 
"Hoop jumping".

Euman
euman at bellsouth.net

==================================================================
The information contained in this message may be confidential 
and is intended to be exclusively for the addressee. Should you 
receive this message unintentionally, please do not use the contents 
herein and notify the sender immediately by return e-mail.
==================================================================

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu