Click here to Skip to main content
       

Graphics

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionHow can I draw a hexagon with children in VB.NET code?memberTonielro21 Jul '12 - 21:46 
Is it possible to draw a hexagon with children and paint it with Lineargradientbrush? If it is possible, can somebody help me with the sample?
Example is the type used in Microsoft office 2007 color dialog box.
AnswerRe: How can I draw a hexagon with children in VB.NET code?mvpRichard MacCutchan22 Jul '12 - 0:19 
Trying a Google search first would have got you these links[^].
One of these days I'm going to think of a really clever signature.

GeneralRe: How can I draw a hexagon with children in VB.NET code?memberTonielro22 Jul '12 - 0:43 
Ok I am waiting. I believe that there must be a clever way of doing that.
GeneralRe: How can I draw a hexagon with children in VB.NET code?mvpRichard MacCutchan22 Jul '12 - 0:52 
Tonielro wrote:
Ok I am waiting.
Waiting for what?
One of these days I'm going to think of a really clever signature.

GeneralRe: How can I draw a hexagon with children in VB.NET code?memberTonielro22 Jul '12 - 1:15 
I googled it as you directed and I got good one but it is written in C++ and I am not familiar with C++. This is the link (www.codeproject.com/Articles/24970/XColorDialog-MFC-color-picker-control-that-disp). Can you help in converting it to VB.NET or C#? Or can you build the DLL in the same language?
GeneralRe: How can I draw a hexagon with children in VB.NET code?memberCDP180222 Jul '12 - 1:28 
Tht grey mass between your ears is not there to keep them apart. How about using it to figure it out yourself? I know it's unfair, but that's the usual way you accomplish something on this planet.
At least artificial intelligence already is superior to natural stupidity


GeneralRe: How can I draw a hexagon with children in VB.NET code?memberTonielro22 Jul '12 - 1:37 
I am aware of that but remember that 2 good heads are better than one. Well, you advice is very ok. You learn better when you do thing yourself but other persons' idea can pave you way. Your contributions on how to do it is also impotant.
GeneralRe: How can I draw a hexagon with children in VB.NET code?mvpRichard MacCutchan22 Jul '12 - 2:01 
Tonielro wrote:
I googled it as you directed
I don't know what you Googled but if you had bothered to follow the link I provided you would have found lots of samples for drawing shapes in VB.NET.
One of these days I'm going to think of a really clever signature.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 1 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid