Click here to Skip to main content
15,903,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAnd the answer is .. Pin
Monty219-Nov-06 21:54
Monty219-Nov-06 21:54 
QuestionAdding treeviewCtrl to a combobox Pin
Nagaraju_Focus19-Nov-06 21:33
Nagaraju_Focus19-Nov-06 21:33 
AnswerRe: Adding treeviewCtrl to a combobox Pin
Steve Echols19-Nov-06 21:52
Steve Echols19-Nov-06 21:52 
QuestionScoket. Pin
Abbas Murad19-Nov-06 21:11
Abbas Murad19-Nov-06 21:11 
AnswerRe: Scoket. Pin
Mark Salsbery20-Nov-06 5:58
Mark Salsbery20-Nov-06 5:58 
GeneralRe: Scoket. Pin
Abbas Murad20-Nov-06 17:41
Abbas Murad20-Nov-06 17:41 
QuestionSerial I/O in Non-Overlapped mode .... Pin
Mohammd Bilal19-Nov-06 21:08
Mohammd Bilal19-Nov-06 21:08 
AnswerRe: Serial I/O in Non-Overlapped mode .... Pin
Roger Stoltz19-Nov-06 21:36
Roger Stoltz19-Nov-06 21:36 
There are only two ways for a call to ::ReadFile() on a serial device to return when opened in non-overlapped mode:

1. the device has received the number of bytes you wanted to read
2. there was a timeout due to the COMMTIMEOUTS settings, either there was too much time between two consecutive bytes or the whole operation took too much time to complete

There is no way to get passed this because this is how the system works.
It would be tempting to look at ::CancelIo(), but it can only be used in overlapped mode and by the thread that issued the read request.

--
Roger


"It's supposed to be hard, otherwise anybody could do it!" - selfquote

"No one remembers a coward!" - Jan Elfström 1998
"...but everyone remembers an idiot!" - my lawyer 2005 when heard of Jan's saying above

AnswerRe: Serial I/O in Non-Overlapped mode .... Pin
CPallini20-Nov-06 2:24
mveCPallini20-Nov-06 2:24 
QuestionHow to draw the window border by myself ? Pin
samfromcn19-Nov-06 21:08
samfromcn19-Nov-06 21:08 
QuestionHow to get mouse selected text? thanks ... Pin
tiaozi19-Nov-06 20:46
tiaozi19-Nov-06 20:46 
AnswerRe: How to get mouse selected text? thanks ... Pin
Rajesh R Subramanian19-Nov-06 23:20
professionalRajesh R Subramanian19-Nov-06 23:20 
Answerchildfrm Pin
Programm3r20-Nov-06 4:47
Programm3r20-Nov-06 4:47 
AnswerMainfrm Pin
Programm3r20-Nov-06 4:48
Programm3r20-Nov-06 4:48 
Questionset transparent to slidercontrol background... Pin
klvin19-Nov-06 19:53
klvin19-Nov-06 19:53 
AnswerRe: set transparent to slidercontrol background... Pin
prasad_som19-Nov-06 20:09
prasad_som19-Nov-06 20:09 
GeneralRe: set transparent to slidercontrol background... Pin
klvin20-Nov-06 1:22
klvin20-Nov-06 1:22 
Generalc++ constructor Pin
Swetha Desai19-Nov-06 19:00
Swetha Desai19-Nov-06 19:00 
GeneralRe: c++ constructor Pin
Parthi_Appu19-Nov-06 19:46
Parthi_Appu19-Nov-06 19:46 
GeneralRe: c++ constructor Pin
tiaozi19-Nov-06 20:48
tiaozi19-Nov-06 20:48 
QuestionHow I can resize the web page size in Microsoft web browser? Pin
Sameer_Thakur19-Nov-06 18:58
Sameer_Thakur19-Nov-06 18:58 
AnswerRe: How I can resize the web page size in Microsoft web browser? Pin
Parthi_Appu19-Nov-06 19:44
Parthi_Appu19-Nov-06 19:44 
QuestionWriting an iterator for your class Pin
HondaCBR60019-Nov-06 18:29
HondaCBR60019-Nov-06 18:29 
AnswerRe: Writing an iterator for your class Pin
Sceptic Mole19-Nov-06 22:14
Sceptic Mole19-Nov-06 22:14 
Questionsetfocus not working Pin
prithaa19-Nov-06 17:21
prithaa19-Nov-06 17:21 

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.