Click here to Skip to main content
15,887,962 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[Message Deleted] Pin
Alex@9C11-Jan-09 21:19
Alex@9C11-Jan-09 21:19 
NewsRe: Tabs in the Container window of the CPropertySheet not getting in RTL layout. Pin
Iain Clarke, Warrior Programmer11-Jan-09 22:11
Iain Clarke, Warrior Programmer11-Jan-09 22:11 
GeneralRe: Tabs in the Container window of the CPropertySheet not getting in RTL layout. Pin
Cedric Moonen11-Jan-09 22:31
Cedric Moonen11-Jan-09 22:31 
AnswerRe: [Message Deleted] Pin
Iain Clarke, Warrior Programmer12-Jan-09 0:12
Iain Clarke, Warrior Programmer12-Jan-09 0:12 
GeneralRe: [Message Deleted] Pin
Hamid_RT12-Jan-09 1:02
Hamid_RT12-Jan-09 1:02 
GeneralRe: [Message Deleted] Pin
Iain Clarke, Warrior Programmer12-Jan-09 1:27
Iain Clarke, Warrior Programmer12-Jan-09 1:27 
QuestionUSB Device Name Pin
newhivc11-Jan-09 20:39
newhivc11-Jan-09 20:39 
QuestionRe: USB Device Name Pin
Roger Stoltz11-Jan-09 21:38
Roger Stoltz11-Jan-09 21:38 
newhivc wrote:
How to get connected USB Device name?


What do you mean by that?
What kind of device is it?
How do you want to discover it? By enumerating the USB tree or when the user inserts the device in a port or both?

Do you have a way to recognize the device when you encounter it during a USB enumeration, such as part of the device name?

Getting the device name when the user attaches the device to the system is fairly straight-forward:
You register for device notification for the device class the particular device belongs to and handle the WM_DEVICECHANGE message. The device name is part of the struct that is passed as an argument to the message handler.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


AnswerRe: USB Device Name Pin
Iain Clarke, Warrior Programmer11-Jan-09 22:08
Iain Clarke, Warrior Programmer11-Jan-09 22:08 
AnswerRe: USB Device Name [modified] Pin
Jijo.Raj11-Jan-09 22:17
Jijo.Raj11-Jan-09 22:17 
GeneralRe: USB Device Name Pin
Hamid_RT12-Jan-09 1:00
Hamid_RT12-Jan-09 1:00 
GeneralRe: USB Device Name Pin
Jijo.Raj12-Jan-09 5:12
Jijo.Raj12-Jan-09 5:12 
GeneralRe: USB Device Name Pin
Hamid_RT12-Jan-09 7:48
Hamid_RT12-Jan-09 7:48 
AnswerRe: USB Device Name Pin
Hamid_RT12-Jan-09 1:00
Hamid_RT12-Jan-09 1:00 
Questionfinding dependencies Pin
kir_MFC11-Jan-09 19:34
kir_MFC11-Jan-09 19:34 
AnswerRe: finding dependencies Pin
Hamid_RT11-Jan-09 19:43
Hamid_RT11-Jan-09 19:43 
AnswerRe: finding dependencies Pin
Jijo.Raj11-Jan-09 22:23
Jijo.Raj11-Jan-09 22:23 
AnswerRe: finding dependencies Pin
David Crow12-Jan-09 3:20
David Crow12-Jan-09 3:20 
QuestionDialog on top of another application [modified] Pin
Super Hornet11-Jan-09 19:15
Super Hornet11-Jan-09 19:15 
AnswerRe: Dialog on top of another application Pin
Hamid_RT11-Jan-09 19:47
Hamid_RT11-Jan-09 19:47 
AnswerRe: Dialog on top of another application Pin
Iain Clarke, Warrior Programmer11-Jan-09 22:18
Iain Clarke, Warrior Programmer11-Jan-09 22:18 
GeneralRe: Dialog on top of another application Pin
Super Hornet19-Jan-09 19:26
Super Hornet19-Jan-09 19:26 
QuestionAcceptEx parameter type question Pin
followait11-Jan-09 18:58
followait11-Jan-09 18:58 
AnswerRe: AcceptEx parameter type question Pin
Cedric Moonen11-Jan-09 20:29
Cedric Moonen11-Jan-09 20:29 
AnswerRe: AcceptEx parameter type question Pin
Rajkumar R11-Jan-09 21:58
Rajkumar R11-Jan-09 21:58 

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.