Hello,
so i'm using the lineto(); function to draw somestuff..
my question is.. how to i change the color of the line..
i was searching through the help in visual studio .net.. but no good....
can someone at least point to a resource?
thanks
Hello,
so i'm using the lineto(); function to draw somestuff..
my question is.. how to i change the color of the line..
i was searching through the help in visual studio .net.. but no good....
can someone at least point to a resource?
thanks
If you are talking about the GDI function LineTo, you need to create a pen with CreatePen and select it into the current hdc with SelectObject. An example is here.
thanks for the replies... i think that might help.. but I can't look into it till tomorrow... we'll see how it goes..
thanks
Hello,
okay so i was trying to run the example, but it's not working out.
I am using the GDI function lineto().
But i don't understand why i have to make a pen? and it seems like I can't, i just get errors when I try to create a pen.
CreatePen(), RGB(), SelectObject(), http://msdn.microsoft.com
ha!... thanks.. that was a lot easier.. search this search that.. search this.. i like your style..
thanks