Click here to Skip to main content
15,893,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalthreads, ui Pin
Member 56966976-Jan-03 7:11
Member 56966976-Jan-03 7:11 
GeneralRe: threads, ui Pin
Tim Smith6-Jan-03 7:43
Tim Smith6-Jan-03 7:43 
GeneralRe: threads, ui Pin
Alvaro Mendez6-Jan-03 11:28
Alvaro Mendez6-Jan-03 11:28 
GeneralWM_TIMER problem Pin
Mazdak6-Jan-03 6:56
Mazdak6-Jan-03 6:56 
GeneralRe: WM_TIMER problem Pin
jmkhael6-Jan-03 7:01
jmkhael6-Jan-03 7:01 
GeneralRe: WM_TIMER problem Pin
Mazdak6-Jan-03 7:49
Mazdak6-Jan-03 7:49 
GeneralRe: WM_TIMER problem Pin
Mazdak6-Jan-03 8:26
Mazdak6-Jan-03 8:26 
GeneralDisplaying Text. Pin
73Zeppelin6-Jan-03 6:08
73Zeppelin6-Jan-03 6:08 
I'll make this as concise as possible.
I have an MDI application which performs some mathematical
calculations. The end result is a double. I would like
to have that double value displayed in the client area of the
MDI window, at the location of the mouse pointer, when a user clicks the right mouse button. As it stands right now, when OnRButtonDown() is called, the calculation is done and I use an AfxMessageBox() call to display the double value. I don't particularly like the effect of this, so I would like to display the value using a call something like:
void ShowText(double Value2Show, CDC* pDC)
{
// Do nifty stuff to show number on DC
}

I suppose the biggest problem I have is changing the double
to a form to be displayed on the DC. Is there an easy way of doing this?
Could someone enlighten me as to what the "Do nifty stuff" part should contain?



GeneralRe: Displaying Text. Pin
Alvaro Mendez6-Jan-03 6:15
Alvaro Mendez6-Jan-03 6:15 
GeneralRe: Displaying Text. Pin
Gary Kirkham6-Jan-03 7:03
Gary Kirkham6-Jan-03 7:03 
GeneralSystem Local and Percentage Symbol Pin
orcun colak6-Jan-03 5:45
orcun colak6-Jan-03 5:45 
General??? Pin
AlexO6-Jan-03 5:48
AlexO6-Jan-03 5:48 
GeneralRephrasing the question Pin
orcun colak6-Jan-03 5:55
orcun colak6-Jan-03 5:55 
GeneralRe: Rephrasing the question Pin
Alvaro Mendez6-Jan-03 6:28
Alvaro Mendez6-Jan-03 6:28 
GeneralRe: Rephrasing the question Pin
orcun colak6-Jan-03 6:52
orcun colak6-Jan-03 6:52 
Generalmy birthday today :) Pin
joshfl6-Jan-03 4:55
joshfl6-Jan-03 4:55 
GeneralRe: my birthday today :) Pin
benjymous6-Jan-03 5:02
benjymous6-Jan-03 5:02 
GeneralNot sure how to do this: Pin
ns6-Jan-03 4:45
ns6-Jan-03 4:45 
GeneralRe: Not sure how to do this: Pin
benjymous6-Jan-03 5:29
benjymous6-Jan-03 5:29 
GeneralRe: Not sure how to do this: Pin
ns6-Jan-03 5:57
ns6-Jan-03 5:57 
GeneralRe: Not sure how to do this: Pin
benjymous6-Jan-03 6:07
benjymous6-Jan-03 6:07 
GeneralRe: Not sure how to do this: Pin
ns6-Jan-03 6:14
ns6-Jan-03 6:14 
GeneralRe: Not sure how to do this: Pin
jmkhael6-Jan-03 6:54
jmkhael6-Jan-03 6:54 
GeneralRe: Not sure how to do this: Pin
ns6-Jan-03 6:29
ns6-Jan-03 6:29 
GeneralRe: Not sure how to do this: Pin
jmkhael6-Jan-03 6:50
jmkhael6-Jan-03 6:50 

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.