Click here to Skip to main content
15,887,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUnable to specify CESetup DLL in VS2005 Smart Device CAB project - Pin
yudhisthira22-Sep-07 15:33
yudhisthira22-Sep-07 15:33 
QuestionOpenRAID challenge - little off topic Pin
Vaclav_22-Sep-07 6:56
Vaclav_22-Sep-07 6:56 
AnswerRe: OpenRAID challenge - little off topic Pin
carrivick22-Sep-07 19:29
carrivick22-Sep-07 19:29 
GeneralRe: OpenRAID challenge - little off topic Pin
Vaclav_23-Sep-07 4:35
Vaclav_23-Sep-07 4:35 
Questiongraphics program Pin
Sai Yasodharan22-Sep-07 6:18
Sai Yasodharan22-Sep-07 6:18 
AnswerRe: graphics program Pin
nbugalia22-Sep-07 7:00
nbugalia22-Sep-07 7:00 
QuestionRe: graphics program Pin
Sai Yasodharan23-Sep-07 5:33
Sai Yasodharan23-Sep-07 5:33 
AnswerRe: graphics program Pin
bob1697223-Sep-07 7:16
bob1697223-Sep-07 7:16 
a console application can only achieve graphics in the most rudimentary way.

Historically, in the DOS days, most of us resorted to using the upper OEM character set or drawing very crude primitives like circles and images by arranging characters in the 80x25 character matrix so they resembled something.

It was hardly adequate and mostly wasteful except for the user interfaces that were early examples of the modern day user interface, particularly menus, scrollbars, and dialogs. Products as Turbo C++ and tools like "edit" were examples of good utilizations of these "graphics" techniques.

If you are in search of how to create a graphics application using C++/MFC then I would recommend starting a new doc/view application in Visual C++ and deriving the view class from CView or CScrollView and experimenting with placing some drawing primitives like line, circles, and rectangles in the CYourDerivedView::OnDraw() method.

In MSDN, look up "MoveTo" and "LineTo" for lines, "Rectangle" for a basic rectangle, and "Ellipse" for ellipses and circles.

After you see how these work, you will want to research "Mapping Modes" for scaling, Pens and Brushes to get different drawing effects, then move on to text by looking up "DrawText".

Hope that helps get you started.
AnswerRe: graphics program Pin
Hamid_RT22-Sep-07 8:28
Hamid_RT22-Sep-07 8:28 
QuestionDatabase vs. RAM Pin
blackbondi22-Sep-07 5:07
blackbondi22-Sep-07 5:07 
AnswerRe: Database vs. RAM Pin
Mohamad K. Ayyash22-Sep-07 5:20
Mohamad K. Ayyash22-Sep-07 5:20 
GeneralRe: Database vs. RAM Pin
blackbondi22-Sep-07 5:24
blackbondi22-Sep-07 5:24 
QuestionRe: Database vs. RAM Pin
David Crow23-Sep-07 9:08
David Crow23-Sep-07 9:08 
AnswerRe: Database vs. RAM Pin
Mohamad K. Ayyash29-Sep-07 4:34
Mohamad K. Ayyash29-Sep-07 4:34 
GeneralRe: Database vs. RAM Pin
David Crow29-Sep-07 4:48
David Crow29-Sep-07 4:48 
Questionrandom string generation Pin
AnayKulkarni22-Sep-07 1:48
AnayKulkarni22-Sep-07 1:48 
AnswerRe: random string generation Pin
Hamid_RT22-Sep-07 2:19
Hamid_RT22-Sep-07 2:19 
AnswerRe: random string generation Pin
Ravi Bhavnani22-Sep-07 5:11
professionalRavi Bhavnani22-Sep-07 5:11 
AnswerRe: random string generation Pin
David Crow23-Sep-07 9:11
David Crow23-Sep-07 9:11 
Question"PutFile" function of CFtpConnection class Pin
AnayKulkarni22-Sep-07 0:38
AnayKulkarni22-Sep-07 0:38 
AnswerRe: "PutFile" function of CFtpConnection class Pin
Parthi_Appu22-Sep-07 0:47
Parthi_Appu22-Sep-07 0:47 
QuestionRe: "PutFile" function of CFtpConnection class Pin
Hamid_RT22-Sep-07 1:57
Hamid_RT22-Sep-07 1:57 
AnswerRe: "PutFile" function of CFtpConnection class Pin
Peter Weyzen22-Sep-07 17:35
Peter Weyzen22-Sep-07 17:35 
Questionproblem in creating singleton class Pin
Shraddha Gautam22-Sep-07 0:17
Shraddha Gautam22-Sep-07 0:17 
AnswerRe: problem in creating singleton class Pin
Parthi_Appu22-Sep-07 0:35
Parthi_Appu22-Sep-07 0:35 

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.