MatthewL
asked on
How do I set a custom pen style?
Hi
I have an app where I draw on a picture box, much like you would with MSPaint. I want to set a custom pen style so that I can have the user draw what looks like roads, highways, and rivers.
Thanks,
Matt
I have an app where I draw on a picture box, much like you would with MSPaint. I want to set a custom pen style so that I can have the user draw what looks like roads, highways, and rivers.
Thanks,
Matt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Dr. Delphi,
The first article looks like exactly what I want, except it is VB.net. I am using VB6. Do you know of a way to do it with 6?
Thanks,
Matt
The first article looks like exactly what I want, except it is VB.net. I am using VB6. Do you know of a way to do it with 6?
Thanks,
Matt
This will work for you in VB6 as well... it is just straight Windows32 API functions. There's nothing VB specific in it.
Good luck!!
Good luck!!
ASKER
Hi Dr. Delphi.
Perfect. Thanks for the help!
Matt
Perfect. Thanks for the help!
Matt
Cheers.
http://www.allapi.net/apilist/example.php?example=Draw%20Hotchpotch
Happy coding!!