View Single Post

  #1 (permalink)  
Old 05-12-2008
leopoldB leopoldB is offline
Junior Member
White Belt
 
Join Date: Nov 2007
Posts: 5
c++ - setting the color of a line

I cannot set the color of a line that I draw (programmatically in c++). What I have tried so far is using code of the following form;

[pointer to my shape object]->Fill->ForeColor = color

For the color value I have tried pretty much everything I can think of and also anything that I could find on the web that seemed like it might work. I have not had any luck though. Anybody have experience setting a line's color this?
Reply With Quote