Click here to Skip to main content
15,917,455 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to Grayout an editbox in a dialog ON THE Fly Pin
jeron113-Nov-07 8:12
jeron113-Nov-07 8:12 
GeneralRe: How to Grayout an editbox in a dialog ON THE Fly Pin
Nelek13-Nov-07 22:14
protectorNelek13-Nov-07 22:14 
GeneralRe: How to Grayout an editbox in a dialog ON THE Fly Pin
jhwurmbach13-Nov-07 22:18
jhwurmbach13-Nov-07 22:18 
AnswerRe: How to Grayout an editbox in a dialog ON THE Fly Pin
David Crow13-Nov-07 8:48
David Crow13-Nov-07 8:48 
QuestionAPI for Direct-Disk printers? Pin
Richard Blythe13-Nov-07 4:40
Richard Blythe13-Nov-07 4:40 
QuestionAuto-detect a COM port device Pin
KellyR13-Nov-07 4:24
KellyR13-Nov-07 4:24 
AnswerRe: Auto-detect a COM port device Pin
CPallini13-Nov-07 4:39
mveCPallini13-Nov-07 4:39 
AnswerRe: Auto-detect a COM port device Pin
Iain Clarke, Warrior Programmer13-Nov-07 6:28
Iain Clarke, Warrior Programmer13-Nov-07 6:28 
As CPallini says, you're just plain out of luck. RS232 is nothing like USB. It has no intelligence what so ever.

And if you set handshaking to none, you can even successfully write to a com port that's not connected to anything.

Not only will you have to iterate through all the com ports, you'll have to go through all the baud rates, bit size, handshaking, parity...

Amd for each of the combinations, you'll have to hope the hardware you're looking for will have a meaningful reply to a message you send it.

In short - pop up a COM configuration box, and let the user do the work.

Going back to the first sentence, there's good reasons that USB was invented!

Iain.



QuestionCrystal report in c++ Pin
mmmartini13-Nov-07 4:17
mmmartini13-Nov-07 4:17 
QuestionCall C functions from Matlab Pin
matfico13-Nov-07 4:07
matfico13-Nov-07 4:07 
AnswerRe: Call C functions from Matlab Pin
Bram van Kampen13-Nov-07 14:09
Bram van Kampen13-Nov-07 14:09 
QuestionHow do I drag a vertical line across a line graph (displayed on a dialog) & display the intersecting values? Pin
pod_99913-Nov-07 3:43
pod_99913-Nov-07 3:43 
AnswerRe: How do I drag a vertical line across a line graph (displayed on a dialog) & display the intersecting values? Pin
Iain Clarke, Warrior Programmer13-Nov-07 6:33
Iain Clarke, Warrior Programmer13-Nov-07 6:33 
GeneralRe: How do I drag a vertical line across a line graph (displayed on a dialog) & display the intersecting values? Pin
Nelek13-Nov-07 22:10
protectorNelek13-Nov-07 22:10 
AnswerRe: How do I drag a vertical line across a line graph (displayed on a dialog) & display the intersecting values? Pin
John R. Shaw13-Nov-07 17:27
John R. Shaw13-Nov-07 17:27 
Questioncan anybody help me out Pin
SnaKeBeD13-Nov-07 3:41
SnaKeBeD13-Nov-07 3:41 
AnswerRe: can anybody help me out Pin
BadKarma13-Nov-07 4:47
BadKarma13-Nov-07 4:47 
Questionhow to catch commands executed by the cmd.exe Pin
carabutnicolae123413-Nov-07 2:49
carabutnicolae123413-Nov-07 2:49 
AnswerRe: how to catch commands executed by the cmd.exe Pin
David Crow13-Nov-07 3:17
David Crow13-Nov-07 3:17 
GeneralRe: how to catch commands executed by the cmd.exe [modified] Pin
carabutnicolae123413-Nov-07 4:29
carabutnicolae123413-Nov-07 4:29 
QuestionNMLISTVIEW Pin
carabutnicolae123413-Nov-07 2:45
carabutnicolae123413-Nov-07 2:45 
QuestionRe: NMLISTVIEW Pin
CPallini13-Nov-07 4:24
mveCPallini13-Nov-07 4:24 
AnswerRe: NMLISTVIEW Pin
carabutnicolae123413-Nov-07 4:34
carabutnicolae123413-Nov-07 4:34 
AnswerRe: NMLISTVIEW Pin
Iain Clarke, Warrior Programmer13-Nov-07 6:45
Iain Clarke, Warrior Programmer13-Nov-07 6:45 
GeneralRe: NMLISTVIEW Pin
carabutnicolae123413-Nov-07 22:32
carabutnicolae123413-Nov-07 22: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.