Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do I set a custom pen style?

Posted on 2002-04-23
6
Medium Priority
?
220 Views
Last Modified: 2011-10-03
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
0
Comment
Question by:MatthewL
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 6

Accepted Solution

by:
DrDelphi earned 1200 total points
ID: 6963425
Take a look at this site:

http://rookscape.com/vbgaming/tutAT.php


Good luck!!
0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6963567
Got another one you might like:

http://www.allapi.net/apilist/example.php?example=Draw%20Hotchpotch


Happy coding!!
0
 
LVL 1

Author Comment

by:MatthewL
ID: 6964624
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
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:DrDelphi
ID: 6965331
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!!
0
 
LVL 1

Author Comment

by:MatthewL
ID: 6982235
Hi Dr. Delphi.

Perfect.  Thanks for the help!

Matt
0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6982508
Cheers.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question