Click here to Skip to main content
15,898,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Save an image using CImage class Pin
VC++Maniac12-Jan-09 17:18
VC++Maniac12-Jan-09 17:18 
QuestionRe: Save an image using CImage class Pin
Mark Salsbery12-Jan-09 17:46
Mark Salsbery12-Jan-09 17:46 
AnswerRe: Save an image using CImage class Pin
VC++Maniac12-Jan-09 21:10
VC++Maniac12-Jan-09 21:10 
GeneralRe: Save an image using CImage class Pin
Mark Salsbery13-Jan-09 6:24
Mark Salsbery13-Jan-09 6:24 
GeneralRe: Save an image using CImage class Pin
CPallini12-Jan-09 2:34
mveCPallini12-Jan-09 2:34 
AnswerRe: Save an image using CImage class Pin
Hamid_RT12-Jan-09 0:50
Hamid_RT12-Jan-09 0:50 
GeneralRe: Save an image using CImage class Pin
VC++Maniac12-Jan-09 17:07
VC++Maniac12-Jan-09 17:07 
GeneralRe: Save an image using CImage class Pin
Hamid_RT13-Jan-09 5:12
Hamid_RT13-Jan-09 5:12 
QuestionRe: Save an image using CImage class Pin
Luc Pattyn12-Jan-09 3:29
sitebuilderLuc Pattyn12-Jan-09 3:29 
AnswerRe: Save an image using CImage class Pin
VC++Maniac12-Jan-09 17:10
VC++Maniac12-Jan-09 17:10 
GeneralRe: Save an image using CImage class Pin
Luc Pattyn12-Jan-09 18:02
sitebuilderLuc Pattyn12-Jan-09 18:02 
GeneralRe: Save an image using CImage class Pin
VC++Maniac12-Jan-09 21:14
VC++Maniac12-Jan-09 21:14 
QuestionHow can set Hand Cursor on Hyperlink? Pin
Le@rner11-Jan-09 22:40
Le@rner11-Jan-09 22:40 
AnswerRe: How can set Hand Cursor on Hyperlink? Pin
Iain Clarke, Warrior Programmer11-Jan-09 23:21
Iain Clarke, Warrior Programmer11-Jan-09 23:21 
AnswerRe: How can set Hand Cursor on Hyperlink? Pin
Harish_kj12-Jan-09 2:32
Harish_kj12-Jan-09 2:32 
QuestionError messages Pin
vanishaa11-Jan-09 21:26
vanishaa11-Jan-09 21:26 
AnswerRe: Error messages Pin
Stuart Dootson11-Jan-09 21:46
professionalStuart Dootson11-Jan-09 21:46 
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


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.