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

C / C++ / MFC

 
GeneralSuspendThread problem Pin
Member 13901624-Feb-03 0:43
Member 13901624-Feb-03 0:43 
GeneralDao Recordset cloning ! Pin
Hadi Rezaee24-Feb-03 0:12
Hadi Rezaee24-Feb-03 0:12 
QuestionRegSetValueEx without '\0' ??? Pin
Daniel Strigl23-Feb-03 21:20
Daniel Strigl23-Feb-03 21:20 
AnswerRe: RegSetValueEx without '\0' ??? Pin
Jon Hulatt23-Feb-03 21:59
Jon Hulatt23-Feb-03 21:59 
GeneralRe: RegSetValueEx without '\0' ??? Pin
Daniel Strigl23-Feb-03 22:27
Daniel Strigl23-Feb-03 22:27 
GeneralStop a USB device. Pin
Brian van der Beek23-Feb-03 21:11
Brian van der Beek23-Feb-03 21:11 
GeneralRe: Stop a USB device. Pin
Shiva Prasad T. S.23-Feb-03 22:05
Shiva Prasad T. S.23-Feb-03 22:05 
GeneralRe: Stop a USB device. Pin
Brian van der Beek23-Feb-03 22:32
Brian van der Beek23-Feb-03 22:32 
GeneralFailed to CreateInstance while using IXMLHttpRequestPtr Pin
adapterJohn23-Feb-03 21:09
adapterJohn23-Feb-03 21:09 
QuestionWhy my vc++ is slow when loading a .dsw? Pin
sages23-Feb-03 20:50
sages23-Feb-03 20:50 
AnswerRe: Why my vc++ is slow when loading a .dsw? Pin
Ryan_Roberts24-Feb-03 1:04
Ryan_Roberts24-Feb-03 1:04 
AnswerRe: Why my vc++ is slow when loading a .dsw? Pin
AlexO24-Feb-03 2:41
AlexO24-Feb-03 2:41 
GeneralRe: Why my vc++ is slow when loading a .dsw? Pin
sages24-Feb-03 14:51
sages24-Feb-03 14:51 
Generalabout file operation Pin
fogmen23-Feb-03 19:49
fogmen23-Feb-03 19:49 
GeneralRe: about file operation Pin
fz_zhou23-Feb-03 20:30
fz_zhou23-Feb-03 20:30 
GeneralRe: about file operation Pin
Michael Dunn23-Feb-03 20:42
sitebuilderMichael Dunn23-Feb-03 20:42 
GeneralRe: about file operation Pin
fogmen24-Feb-03 0:54
fogmen24-Feb-03 0:54 
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.

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.