Click here to Skip to main content
16,006,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCan't Build Release........ Pin
1-Jun-01 8:20
suss1-Jun-01 8:20 
GeneralRe: Can't Build Release........ Pin
Chris Losinger1-Jun-01 8:22
professionalChris Losinger1-Jun-01 8:22 
Generalstdout & stderr colors Pin
Amit Jain1-Jun-01 7:57
Amit Jain1-Jun-01 7:57 
GeneralGetting coordinates between two points(CPoint) Pin
mr20031-Jun-01 7:20
mr20031-Jun-01 7:20 
GeneralRe: Getting coordinates between two points(CPoint) Pin
Tomasz Sowinski1-Jun-01 7:30
Tomasz Sowinski1-Jun-01 7:30 
GeneralRe: Getting coordinates between two points(CPoint) Pin
mr20031-Jun-01 8:41
mr20031-Jun-01 8:41 
GeneralRe: Getting coordinates between two points(CPoint) Pin
Christian Graus1-Jun-01 13:20
protectorChristian Graus1-Jun-01 13:20 
GeneralRe: Getting coordinates between two points(CPoint) Pin
1-Jun-01 7:41
suss1-Jun-01 7:41 
Check out Bresenham's alogrithm for finding points on a line. Its simple and fast and works well for discrete space(like the pixels on the screen). Any graphics book worth the paper its written on will address this topic.

Or you could find the midpoint of the line segment, then find the midpoint of each of those line segments, then find the mid point of each of those line segments.........

Josh
josh@schroff.com
GeneralRe: Getting coordinates between two points(CPoint) Pin
1-Jun-01 9:46
suss1-Jun-01 9:46 
GeneralRe: Getting coordinates between two points(CPoint) Pin
1-Jun-01 18:38
suss1-Jun-01 18:38 
GeneralMFC & Thread Pin
Muslim1-Jun-01 6:49
Muslim1-Jun-01 6:49 
GeneralRe: MFC & Thread Pin
1-Jun-01 13:23
suss1-Jun-01 13:23 
GeneralGetting a blank document by clicking OnNewDocument Pin
mr20031-Jun-01 6:45
mr20031-Jun-01 6:45 
GeneralRe: Getting a blank document by clicking OnNewDocument Pin
2-Jun-01 5:11
suss2-Jun-01 5:11 
GeneralLoad CBitmap with LoadBitmap(); Pin
Paul Goodyear1-Jun-01 6:12
Paul Goodyear1-Jun-01 6:12 
Question"Printing" to a bitmap? - How? Pin
Jim Howard1-Jun-01 6:10
Jim Howard1-Jun-01 6:10 
AnswerRe: Pin
Tomasz Sowinski1-Jun-01 7:54
Tomasz Sowinski1-Jun-01 7:54 
Generaluse a C function from a C++ program Pin
hearties1-Jun-01 5:55
hearties1-Jun-01 5:55 
GeneralRe: use a C function from a C++ program Pin
Stephen Kellett1-Jun-01 6:24
Stephen Kellett1-Jun-01 6:24 
GeneralRe: use a C function from a C++ program Pin
Jim Howard1-Jun-01 6:28
Jim Howard1-Jun-01 6:28 
GeneralCatching ESCape key in a CDialog window Pin
1-Jun-01 4:58
suss1-Jun-01 4:58 
GeneralRe: Catching ESCape key in a CDialog window Pin
Tim Deveaux1-Jun-01 5:38
Tim Deveaux1-Jun-01 5:38 
GeneralCComboBox problem Pin
David Burrows1-Jun-01 4:55
David Burrows1-Jun-01 4:55 
GeneralRe: CComboBox problem Pin
Tomasz Sowinski1-Jun-01 7:42
Tomasz Sowinski1-Jun-01 7:42 
GeneralPlease help : problem with distributing ActifveX control Pin
Bartek1-Jun-01 4:55
Bartek1-Jun-01 4:55 

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.