Click here to Skip to main content
15,892,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionlogger performance Pin
Chintoo72314-Jan-06 22:07
Chintoo72314-Jan-06 22:07 
QuestionRe: logger performance Pin
Roland Pibinger15-Jan-06 4:00
Roland Pibinger15-Jan-06 4:00 
AnswerRe: logger performance Pin
Chintoo72315-Jan-06 4:38
Chintoo72315-Jan-06 4:38 
GeneralRe: logger performance Pin
Roland Pibinger15-Jan-06 5:55
Roland Pibinger15-Jan-06 5:55 
GeneralRe: logger performance Pin
Chintoo72315-Jan-06 15:38
Chintoo72315-Jan-06 15:38 
AnswerRe: logger performance Pin
cmk15-Jan-06 18:46
cmk15-Jan-06 18:46 
AnswerRe: logger performance Pin
kakan15-Jan-06 20:08
professionalkakan15-Jan-06 20:08 
QuestionSimulating mouse clicks on SysDateTimePick32 control Pin
Still learning how to code14-Jan-06 21:40
Still learning how to code14-Jan-06 21:40 
The app that I am currently writing uses simulated mouse clicks to interact with controls on another program's window using Send/PostMessage() calls. I have successfully dealt with pushbuttons, radio buttons, edit boxes and comboboxes, but have now come up against one that won't cooperate ! It is a SysDateTimePick32 control which is used to input dates and times (surprisingly !!). Normally, one can left-click on one of the 3 fields within the control, that field would highlight, and then you could use keyboard input to change the value. In my app, I have (basically) used the same sequence of ops as I would to interact with an edit control. (Get the hwnd for the control, position the cursor over the target field, WM_LBUTTONDOWN/UP to highlight it, and then WM_SETTEXT to attempt to modify the text). This all works except that the text does NOT change (I have checked the message flow in MS SPY++, and it gets a TRUE response to the WM_SETTEXT. I'm baffled ! Confused | :confused: Surely, if the user can interact with this control in real life, I SHOULD be able to simulate his actions with messages ?? Laugh | :laugh: Anybody has experience of the SysDateTimePick32 control in this respect ? Confused | :confused: Any suggestions appreciated, as my app is dead unless I can get over this !

Doug
AnswerRe: Simulating mouse clicks on SysDateTimePick32 control Pin
Gary R. Wheeler15-Jan-06 4:23
Gary R. Wheeler15-Jan-06 4:23 
GeneralRe: Simulating mouse clicks on SysDateTimePick32 control Pin
Still learning how to code15-Jan-06 22:00
Still learning how to code15-Jan-06 22:00 
GeneralRe: Simulating mouse clicks on SysDateTimePick32 control Pin
Gary R. Wheeler17-Jan-06 16:11
Gary R. Wheeler17-Jan-06 16:11 
Questionhow to draw table? Pin
Ali Tavakol14-Jan-06 21:13
Ali Tavakol14-Jan-06 21:13 
AnswerRe: how to draw table? Pin
includeh1015-Jan-06 3:54
includeh1015-Jan-06 3:54 
GeneralRe: how to draw table? Pin
Ali Tavakol15-Jan-06 20:14
Ali Tavakol15-Jan-06 20:14 
Questionvariable, a simple suggestion to C/C++ beginner Pin
includeh1014-Jan-06 17:13
includeh1014-Jan-06 17:13 
AnswerRe: variable, a simple suggestion to C/C++ beginner Pin
El Corazon14-Jan-06 17:49
El Corazon14-Jan-06 17:49 
GeneralRe: variable, a simple suggestion to C/C++ beginner Pin
Stephen Hewitt14-Jan-06 18:03
Stephen Hewitt14-Jan-06 18:03 
GeneralRe: variable, a simple suggestion to C/C++ beginner Pin
El Corazon14-Jan-06 18:39
El Corazon14-Jan-06 18:39 
GeneralRe: variable, a simple suggestion to C/C++ beginner Pin
Shraddhan22-Jan-06 23:34
Shraddhan22-Jan-06 23:34 
Questionstructure representing file Pin
John Simon14-Jan-06 14:50
John Simon14-Jan-06 14:50 
AnswerRe: structure representing file Pin
El Corazon14-Jan-06 15:04
El Corazon14-Jan-06 15:04 
QuestionHard maths problem Pin
Christian Graus14-Jan-06 12:41
protectorChristian Graus14-Jan-06 12:41 
AnswerRe: Hard maths problem Pin
Sean Cundiff14-Jan-06 14:25
Sean Cundiff14-Jan-06 14:25 
GeneralRe: Hard maths problem Pin
Christian Graus14-Jan-06 19:56
protectorChristian Graus14-Jan-06 19:56 
AnswerRe: Hard maths problem Pin
Stephen Hewitt14-Jan-06 14:35
Stephen Hewitt14-Jan-06 14:35 

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.