Click here to Skip to main content
15,922,315 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Bringing MFC app to web - which technology horse to ride? Pin
Mark Salsbery15-Jul-07 11:21
Mark Salsbery15-Jul-07 11:21 
AnswerRe: Bringing MFC app to web - which technology horse to ride? Pin
jhwurmbach16-Jul-07 0:00
jhwurmbach16-Jul-07 0:00 
Questiondifferent %f for variables in a string Pin
Dane Grant15-Jul-07 9:20
Dane Grant15-Jul-07 9:20 
QuestionRe: different %f for variables in a string Pin
Mark Salsbery15-Jul-07 9:30
Mark Salsbery15-Jul-07 9:30 
AnswerRe: different %f for variables in a string Pin
Dane Grant15-Jul-07 9:35
Dane Grant15-Jul-07 9:35 
GeneralRe: different %f for variables in a string Pin
Mark Salsbery15-Jul-07 9:45
Mark Salsbery15-Jul-07 9:45 
GeneralRe: different %f for variables in a string Pin
David Crow16-Jul-07 4:30
David Crow16-Jul-07 4:30 
Questionplotting in real time Pin
Sam Rens15-Jul-07 8:50
Sam Rens15-Jul-07 8:50 
hi!

i have a visual c++ prog which gives me value( dist ) which i have calculated.The value varies between 1-5.( i.e not a lot ). I want to plot this in real time. Maybe just a simple bar which changes size as this would be much more eaasier than a graph as it would need scrolling.
Any one have a code for this ??or a suggestion
Thx !

[code]
LONG FAR PASCAL
MainMessageHandler(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam)
{
HDC hDC; /* handle for the display device */
PAINTSTRUCT ps; /* holds PAINT information */
TEXTMETRIC tm; /* holds TEXT information */

static HRGN hRgn; /* Rectangle region Handles */
static int CharWidth, CharHeight;
...
...
...
y += CharHeight*2; /* Print raw data value */
sprintf (OutString,"dist = %lf ", dist);
TextOut(hDC, x, y, OutString, strlen (OutString));

}

[/code]

thanks!
QuestionRe: plotting in real time Pin
Mark Salsbery15-Jul-07 9:35
Mark Salsbery15-Jul-07 9:35 
AnswerRe: plotting in real time Pin
Sam Rens15-Jul-07 9:43
Sam Rens15-Jul-07 9:43 
GeneralRe: plotting in real time Pin
Mark Salsbery15-Jul-07 9:51
Mark Salsbery15-Jul-07 9:51 
GeneralRe: plotting in real time Pin
Sam Rens15-Jul-07 9:57
Sam Rens15-Jul-07 9:57 
GeneralRe: plotting in real time Pin
Mark Salsbery15-Jul-07 10:04
Mark Salsbery15-Jul-07 10:04 
Questioncreating dialogs with winapi Pin
Dane Grant15-Jul-07 6:48
Dane Grant15-Jul-07 6:48 
QuestionRe: creating dialogs with winapi Pin
Mark Salsbery15-Jul-07 6:51
Mark Salsbery15-Jul-07 6:51 
AnswerRe: creating dialogs with winapi Pin
Paul Conrad15-Jul-07 6:52
professionalPaul Conrad15-Jul-07 6:52 
AnswerRe: creating dialogs with winapi Pin
Dane Grant15-Jul-07 6:53
Dane Grant15-Jul-07 6:53 
GeneralRe: creating dialogs with winapi Pin
Dane Grant15-Jul-07 6:57
Dane Grant15-Jul-07 6:57 
GeneralRe: creating dialogs with winapi Pin
Mark Salsbery15-Jul-07 7:00
Mark Salsbery15-Jul-07 7:00 
GeneralRe: creating dialogs with winapi Pin
Mark Salsbery15-Jul-07 6:59
Mark Salsbery15-Jul-07 6:59 
GeneralRe: creating dialogs with winapi Pin
Dane Grant15-Jul-07 7:01
Dane Grant15-Jul-07 7:01 
JokeRe: creating dialogs with winapi Pin
David Crow16-Jul-07 4:32
David Crow16-Jul-07 4:32 
GeneralRe: creating dialogs with winapi Pin
Mark Salsbery16-Jul-07 5:11
Mark Salsbery16-Jul-07 5:11 
AnswerRe: creating dialogs with winapi Pin
Hamid_RT15-Jul-07 7:16
Hamid_RT15-Jul-07 7:16 
QuestionHow to resolve such problems in VC2005? Pin
kcynic15-Jul-07 6:32
kcynic15-Jul-07 6:32 

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.