Click here to Skip to main content
15,901,122 members
Home / Discussions / Article Writing
   

Article Writing

 
AnswerRe: How can I tell programaticly what OS is running Pin
Nish Nishant31-Oct-01 13:41
sitebuilderNish Nishant31-Oct-01 13:41 
AnswerRe: How can I tell programaticly what OS is running Pin
Michael Martin31-Oct-01 14:37
professionalMichael Martin31-Oct-01 14:37 
AnswerRe: How can I tell programaticly what OS is running Pin
TomKat14-Mar-03 15:46
TomKat14-Mar-03 15:46 
GeneralVisual Builder Pin
Alex Talazar31-Oct-01 8:03
professionalAlex Talazar31-Oct-01 8:03 
GeneralRe: Visual Builder Pin
Michael P Butler31-Oct-01 8:23
Michael P Butler31-Oct-01 8:23 
GeneralRe: Visual Builder Pin
Alex Talazar31-Oct-01 8:30
professionalAlex Talazar31-Oct-01 8:30 
GeneralRe: Visual Builder Pin
Michael P Butler31-Oct-01 8:38
Michael P Butler31-Oct-01 8:38 
GeneralRe: Visual Builder Pin
Rassman1-Nov-01 22:04
Rassman1-Nov-01 22:04 
Clim, I think your trying to jump too far ahead if you haven't yet heard of GDI (CDC). Doing so will be damaging for you for two reasons, you'll miss the basics of graphics work and risk being disillusioned with your programming experience if you fail on your early projects.

As suggested, the scribble sample program is a good place to start, because it teaches the 'object' method of drawing.

After going through the scribble tutorial to get the basics, I would suggest setting up an almost bare-bones project with just a standard View. Then work through the GDI functions, to see what they do and how there work. Then try some drawing objects of your own.

For example you might have a box class

class CBox : public CObject
{//data only class
CRect m_Box;
CPoint m_Possition;
COLORREF m_BorderColor;
COLORREF m_FillColor;
};

You might decide then to add intelligent shapes,

class CCircle : public CObject
{//Intelligent class
CRect m_BoundingRect;

double GetRadius();
double GetCircumference();
};

You could even, once you have done the ground work, create a CDC class of yuor own that understands your own objects.

But first you need to study CDC. Your C++ has already got a wealth of information of how to get started, don't waste your money on a £50 book until you have fully explored what you have and then know exactly which area of graphics you need help with, if any.


We do it for the joy of seeing the users struggle.
GeneralRe: Visual Builder Pin
Rassman1-Nov-01 22:18
Rassman1-Nov-01 22:18 
GeneralParser for C header Pin
31-Oct-01 1:05
suss31-Oct-01 1:05 
GeneralRe: Parser for C header Pin
Michael P Butler31-Oct-01 8:27
Michael P Butler31-Oct-01 8:27 
GeneralProblem with C# Pin
SimonS30-Oct-01 5:43
SimonS30-Oct-01 5:43 
GeneralRe: Problem with C# Pin
Todd Smith30-Oct-01 9:09
Todd Smith30-Oct-01 9:09 
GeneralHTML in PocketPc Pin
30-Oct-01 5:03
suss30-Oct-01 5:03 
GeneralListView Notification Example win32 Pin
author29-Oct-01 3:34
author29-Oct-01 3:34 
GeneralRe: ListView Notification Example win32 Pin
Michael Dunn29-Oct-01 7:33
sitebuilderMichael Dunn29-Oct-01 7:33 
GeneralRe: ListView Notification Example win32 Pin
author29-Oct-01 17:04
author29-Oct-01 17:04 
QuestionHow to save business in UDDI using VB.net? Pin
adeline28-Oct-01 23:29
adeline28-Oct-01 23:29 
QuestionHow to run cgi script from MFC Pin
Huu Quynh28-Oct-01 13:41
Huu Quynh28-Oct-01 13:41 
AnswerRe: How to run cgi script from MFC Pin
markkuk28-Oct-01 20:35
markkuk28-Oct-01 20:35 
GeneralKPT Bryce Pin
Haniff28-Oct-01 10:14
Haniff28-Oct-01 10:14 
QuestionHow can I map a drive programmatically Pin
26-Oct-01 10:55
suss26-Oct-01 10:55 
AnswerRe: How can I map a drive programmatically Pin
Carlos Antollini26-Oct-01 11:15
Carlos Antollini26-Oct-01 11:15 
GeneralRe: How can I map a drive programmatically Pin
SAK27-Oct-01 13:07
SAK27-Oct-01 13:07 
GeneralBorland C++ 3.1 Pin
Sarah26-Oct-01 4:19
Sarah26-Oct-01 4:19 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.