Click here to Skip to main content
15,923,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Clearing the edit box in ccombobox Pin
David Crow29-Sep-06 6:20
David Crow29-Sep-06 6:20 
AnswerRe: Clearing the edit box in ccombobox Pin
lctrncs29-Sep-06 6:40
lctrncs29-Sep-06 6:40 
GeneralRe: Clearing the edit box in ccombobox Pin
David Crow29-Sep-06 6:49
David Crow29-Sep-06 6:49 
GeneralRe: Clearing the edit box in ccombobox Pin
lctrncs29-Sep-06 8:42
lctrncs29-Sep-06 8:42 
GeneralRe: Clearing the edit box in ccombobox Pin
David Crow29-Sep-06 8:55
David Crow29-Sep-06 8:55 
GeneralRe: Clearing the edit box in ccombobox Pin
lctrncs29-Sep-06 10:48
lctrncs29-Sep-06 10:48 
GeneralRe: Clearing the edit box in ccombobox Pin
David Crow29-Sep-06 10:55
David Crow29-Sep-06 10:55 
Questiongraphing app help Pin
sys0p27-Sep-06 8:33
sys0p27-Sep-06 8:33 
hi there!

im trying to write a graphing app using the win32 api with MFC...

im trying to figure out how i can represent a decimal number position in a grid of pixels:

i.e.

given y = sqrt(x)

if i calculate with x = 5.7 then y becomes 32.49 which is a bit of a problem because no pixel exists at 32.49, so the line gets drawn at y = 32, so the graph curve is messed up because the curves arent matching up because of the round-off error...

im trying to draw the line using the MoveTo and LineTo functions, and if i can figure out a way to draw the correct pixel corresponding to the equation then i can use a very low incremental value such as 0.1 to make the curve look smooth, though its not really smooth...

but if theres a better way of drawing a graph app (without using bezier curves or whatever) please could u let me know!

hope u can help me out! thx!
AnswerRe: graphing app help Pin
Reagan Conservative27-Sep-06 8:46
Reagan Conservative27-Sep-06 8:46 
QuestionHDC coordinate space Pin
anthonym727-Sep-06 6:55
anthonym727-Sep-06 6:55 
AnswerRe: HDC coordinate space Pin
Chris Losinger27-Sep-06 7:15
professionalChris Losinger27-Sep-06 7:15 
GeneralRe: HDC coordinate space Pin
anthonym727-Sep-06 7:35
anthonym727-Sep-06 7:35 
GeneralRe: HDC coordinate space Pin
Shog927-Sep-06 20:17
sitebuilderShog927-Sep-06 20:17 
GeneralRe: HDC coordinate space Pin
anthonym728-Sep-06 6:13
anthonym728-Sep-06 6:13 
QuestionLinked lists Pin
EvScott27-Sep-06 6:12
EvScott27-Sep-06 6:12 
AnswerRe: Linked lists Pin
Zac Howland27-Sep-06 6:39
Zac Howland27-Sep-06 6:39 
GeneralRe: Linked lists Pin
Jörgen Sigvardsson27-Sep-06 13:46
Jörgen Sigvardsson27-Sep-06 13:46 
AnswerRe: Linked lists Pin
Christian Graus27-Sep-06 11:28
protectorChristian Graus27-Sep-06 11:28 
Questionhow to display a rectangle on the CHtmlView? Pin
blownfire27-Sep-06 5:13
blownfire27-Sep-06 5:13 
AnswerRe: how to display a rectangle on the CHtmlView? Pin
Maximilien27-Sep-06 6:48
Maximilien27-Sep-06 6:48 
QuestionError after call ReadDirectoryChangesW() Pin
Max++27-Sep-06 4:12
Max++27-Sep-06 4:12 
AnswerRe: Error after call ReadDirectoryChangesW() Pin
Chris Losinger27-Sep-06 4:52
professionalChris Losinger27-Sep-06 4:52 
AnswerRe: Error after call ReadDirectoryChangesW() Pin
toxcct27-Sep-06 5:09
toxcct27-Sep-06 5:09 
AnswerRe: Error after call ReadDirectoryChangesW() Pin
David Crow27-Sep-06 5:10
David Crow27-Sep-06 5:10 
AnswerRe: Error after call ReadDirectoryChangesW() Pin
Hamid_RT28-Sep-06 9:23
Hamid_RT28-Sep-06 9:23 

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.