Click here to Skip to main content
16,004,944 members
Home / Discussions / Article Writing
   

Article Writing

 
Generalschedual-Calander timeline object Pin
Rayman5-Oct-01 8:23
Rayman5-Oct-01 8:23 
QuestionHow to close a file opened with CreateFile API Pin
SAK4-Oct-01 9:27
SAK4-Oct-01 9:27 
AnswerRe: How to close a file opened with CreateFile API Pin
Chris Losinger4-Oct-01 9:51
professionalChris Losinger4-Oct-01 9:51 
GeneralRe: How to close a file opened with CreateFile API Pin
SAK4-Oct-01 12:12
SAK4-Oct-01 12:12 
AnswerRe: How to close a file opened with CreateFile API Pin
Lim Bio Liong3-Dec-01 0:41
Lim Bio Liong3-Dec-01 0:41 
GeneralSQL CE Skip Pattern Surveying Pin
Terence4-Oct-01 5:00
Terence4-Oct-01 5:00 
GeneralSimple search engine in c# Pin
Bryan24-Oct-01 4:45
Bryan24-Oct-01 4:45 
GeneralDrawing lines with OpenGL(like the Paint program in windows) Pin
Steve Lai3-Oct-01 18:48
Steve Lai3-Oct-01 18:48 
Hi everyone,
I'm new to programming in C++ and have the following problem: I would like to Drawing lines (and other objects, ie squares, circles, etc) with OpenGL(like the Paint program in windows)with a MFC application.

I've created a MFC application that is linked to OpenGL. How do I created functions like the ones we see in the "Paint" program found in windows accesories?

For example, if I click on the menu which as a "draw lines" function and after clicking on that, I would like to use the mouse to draw lines, (line starts when the mouse is clicked and dragged. Then the line stops when mouse is released).

I'm having great difficulty doing this and if anyone can help it would be greatly appreciated.
Thank you in advance!
Steve
GeneralRe: Drawing lines with OpenGL(like the Paint program in windows) Pin
Jonathan de Halleux31-Oct-01 3:17
Jonathan de Halleux31-Oct-01 3:17 
GeneralNET DataSet Implemented in Visual C++ Pin
jawillia993-Oct-01 4:36
jawillia993-Oct-01 4:36 
GeneralRemoving cursor from Richedit control Pin
Newbie3-Oct-01 0:34
Newbie3-Oct-01 0:34 
GeneralRe: Removing cursor from Richedit control Pin
Ravi Bhavnani4-Oct-01 7:42
professionalRavi Bhavnani4-Oct-01 7:42 
GeneralRe: Removing cursor from Richedit control Pin
Newbie5-Oct-01 3:33
Newbie5-Oct-01 3:33 
GeneralGetting memory address from handle Pin
SAK2-Oct-01 8:51
SAK2-Oct-01 8:51 
GeneralRebuilding project (VBS) Pin
Igor Proskuriakov2-Oct-01 3:20
Igor Proskuriakov2-Oct-01 3:20 
Generalgenerate graph source code in c++ Pin
1-Oct-01 20:47
suss1-Oct-01 20:47 
GeneralPalm Serial Port (Code Request) Pin
Jayce1-Oct-01 17:57
Jayce1-Oct-01 17:57 
Generalasp Pin
ah_san30-Sep-01 22:27
ah_san30-Sep-01 22:27 
GeneralRe: asp Pin
pushpi24-Oct-01 20:19
pushpi24-Oct-01 20:19 
GeneralIp phone Pin
ah_san30-Sep-01 20:51
ah_san30-Sep-01 20:51 
GeneralPalm programming for SMS ( Code request ) Pin
yskinny30-Sep-01 20:31
yskinny30-Sep-01 20:31 
GeneralIP grabber Pin
29-Sep-01 18:55
suss29-Sep-01 18:55 
GeneralRe: IP grabber Pin
Michael Dunn29-Sep-01 19:48
sitebuilderMichael Dunn29-Sep-01 19:48 
GeneralPoint of Sale Printers Pin
Steve Thresher27-Sep-01 2:12
Steve Thresher27-Sep-01 2:12 
GeneralVisio like diagram generating free code.. Pin
Ryan Park25-Sep-01 19:31
Ryan Park25-Sep-01 19:31 

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.