Click here to Skip to main content
15,905,566 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFTP query Pin
Member 355617523-Feb-03 18:42
Member 355617523-Feb-03 18:42 
GeneralAccess Java class from VC++ Pin
Chintan23-Feb-03 17:38
Chintan23-Feb-03 17:38 
GeneralRe: Access Java class from VC++ Pin
adapterJohn24-Feb-03 1:27
adapterJohn24-Feb-03 1:27 
GeneralRe: Access Java class from VC++ Pin
KingTermite24-Feb-03 2:20
KingTermite24-Feb-03 2:20 
GeneralRe: Access Java class from VC++ Pin
Chintan27-Feb-03 17:58
Chintan27-Feb-03 17:58 
GeneralTo Display the percentage font inside a "Progress Bar" Pin
Neel Abraham23-Feb-03 17:13
Neel Abraham23-Feb-03 17:13 
GeneralRe: To Display the percentage font inside a "Progress Bar" Pin
valikac23-Feb-03 17:46
valikac23-Feb-03 17:46 
QuestionHow to Update numbers in an editbox control on the fly "OnMouseMove" Pin
Neel Abraham23-Feb-03 17:10
Neel Abraham23-Feb-03 17:10 
Dear Guys,

Can someone help me how to update an editbox control in a modeless dialog box on the fly. That is for example I've added this piece of code in "OnMouseMove" function.

CClientDC dc(this);
int xcordinate,ycordinate;
char str[100];
xcordinate = point.x;
ycordinate = point.y;
sprintf(str,"X->%d Y->%d",xcordinate,ycordinate);
dc.TextOut(600,20,str);

This code displays the X and Y co-ordinates on the fly in a SDI or MDI.What I mean by on the fly is you know, the way the number moves in a VCR while rewinding. The same functionality I would like to have inside a dialog box's edit box. I tried the usual m_edit=str; UpdateData(false) and SetDlgItemText but to no effect. It displays only the co-ordinate where the mouse was at first, but it doesn't update when I move it. Please Help.

Neel.
AnswerRe: How to Update numbers in an editbox control on the fly "onmousemove" Pin
HENDRIK R24-Feb-03 0:49
HENDRIK R24-Feb-03 0:49 
GeneralCChecklistbox having trouble painting Pin
brandon187923-Feb-03 14:54
brandon187923-Feb-03 14:54 
GeneralRe: CChecklistbox having trouble painting Pin
brandon187923-Feb-03 17:31
brandon187923-Feb-03 17:31 
QuestionDoes WS_TABSTOP works on CWnd classes? Pin
Miguel Lopes23-Feb-03 14:42
Miguel Lopes23-Feb-03 14:42 
AnswerRe: Does WS_TABSTOP works on CWnd classes? Pin
Chris Richardson23-Feb-03 17:33
Chris Richardson23-Feb-03 17:33 
QuestionHow do i make something execute in VS .NET? Pin
silversnake05 a.k.a. Michael23-Feb-03 14:29
susssilversnake05 a.k.a. Michael23-Feb-03 14:29 
AnswerRe: How do i make something execute in VS .NET? Pin
Chris Losinger23-Feb-03 18:39
professionalChris Losinger23-Feb-03 18:39 
AnswerRe: How do i make something execute in VS .NET? Pin
Jon Hulatt23-Feb-03 22:03
Jon Hulatt23-Feb-03 22:03 
GeneralRe: How do i make something execute in VS .NET? Pin
Anonymous24-Feb-03 8:18
Anonymous24-Feb-03 8:18 
GeneralOnFileNew() Question... Pin
JoeSox23-Feb-03 13:27
JoeSox23-Feb-03 13:27 
GeneralRe: OnFileNew() Question... Pin
HENDRIK R23-Feb-03 23:19
HENDRIK R23-Feb-03 23:19 
GeneralRe: OnFileNew() Question... Pin
JoeSox24-Feb-03 10:02
JoeSox24-Feb-03 10:02 
GeneralRe: OnFileNew() Question... Pin
HENDRIK R24-Feb-03 21:06
HENDRIK R24-Feb-03 21:06 
GeneralRe: OnFileNew() Question... Pin
JoeSox25-Feb-03 4:56
JoeSox25-Feb-03 4:56 
GeneralOff-screen bitmap drawing while printing and print previewing Pin
cdsmith23-Feb-03 13:25
cdsmith23-Feb-03 13:25 
GeneralRe: Off-screen bitmap drawing while printing and print previewing Pin
Chris Losinger23-Feb-03 14:50
professionalChris Losinger23-Feb-03 14:50 
GeneralRe: Off-screen bitmap drawing while printing and print previewing Pin
Roger Allen24-Feb-03 1:09
Roger Allen24-Feb-03 1:09 

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.