Click here to Skip to main content
15,920,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Adding binaries to a registry? Pin
kDevloper3-Feb-09 5:24
kDevloper3-Feb-09 5:24 
AnswerRe: Adding binaries to a registry? Pin
Hamid_RT3-Feb-09 20:42
Hamid_RT3-Feb-09 20:42 
Questionlist of connected cameras with system Pin
anilaabc2-Feb-09 18:34
anilaabc2-Feb-09 18:34 
AnswerRe: list of connected cameras with system Pin
Stuart Dootson2-Feb-09 20:41
professionalStuart Dootson2-Feb-09 20:41 
GeneralRe: list of connected cameras with system Pin
anilaabc6-Feb-09 16:49
anilaabc6-Feb-09 16:49 
Questionusing ace framework Pin
hrishiS2-Feb-09 18:20
hrishiS2-Feb-09 18:20 
AnswerRe: using ace framework Pin
Stuart Dootson2-Feb-09 20:26
professionalStuart Dootson2-Feb-09 20:26 
QuestionHandling the device change functionality for HID Devices Pin
hariakuthota2-Feb-09 18:14
hariakuthota2-Feb-09 18:14 
Hi all,
In my application I want to handle the insert(plug in) and removal(plug out) of the devices so that i have to re enumerate and show the user present devices connected to the system.But my application is limited to re enumeration of HID devices only, so i want to handle the device change only for HID devices.


I handled the WindProc() in which I used if(message == WM_DEVICECHANGE) but I am getting in to this loop for every device change but how can I check whether device change is for HID devices or not.

Please suggest a right approach for this.


Thanks in advance.
AnswerRe: Handling the device change functionality for HID Devices Pin
Sarath C2-Feb-09 18:28
Sarath C2-Feb-09 18:28 
AnswerRe: Handling the device change functionality for HID Devices Pin
john.alex.prog14-Feb-10 8:37
john.alex.prog14-Feb-10 8:37 
AnswerRe: Handling the device change functionality for HID Devices Pin
john.alex.prog14-Feb-10 8:41
john.alex.prog14-Feb-10 8:41 
GeneralRe: Handling the device change functionality for HID Devices Pin
hariakuthota14-Feb-10 17:32
hariakuthota14-Feb-10 17:32 
GeneralRe: Handling the device change functionality for HID Devices Pin
john.alex.prog14-Feb-10 19:01
john.alex.prog14-Feb-10 19:01 
GeneralRe: Handling the device change functionality for HID Devices Pin
hariakuthota14-Feb-10 19:10
hariakuthota14-Feb-10 19:10 
GeneralRe: Handling the device change functionality for HID Devices Pin
john.alex.prog15-Feb-10 4:14
john.alex.prog15-Feb-10 4:14 
Questionhow to disable vertical and horizontal scrollbar in a FormView class Pin
Deepu Antony2-Feb-09 18:05
Deepu Antony2-Feb-09 18:05 
AnswerRe: how to disable vertical and horizontal scrollbar in a FormView class Pin
Roger Allen4-Feb-09 14:07
Roger Allen4-Feb-09 14:07 
QuestionHow can chk Dialog box is open? Pin
Le@rner2-Feb-09 17:54
Le@rner2-Feb-09 17:54 
AnswerRe: How can chk Dialog box is open? Pin
Nibu babu thomas2-Feb-09 18:00
Nibu babu thomas2-Feb-09 18:00 
GeneralRe: How can chk Dialog box is open? Pin
Le@rner2-Feb-09 18:15
Le@rner2-Feb-09 18:15 
GeneralRe: How can chk Dialog box is open? Pin
Nibu babu thomas2-Feb-09 18:16
Nibu babu thomas2-Feb-09 18:16 
GeneralRe: How can chk Dialog box is open? Pin
Le@rner2-Feb-09 18:21
Le@rner2-Feb-09 18:21 
GeneralRe: How can chk Dialog box is open? Pin
Nibu babu thomas2-Feb-09 18:38
Nibu babu thomas2-Feb-09 18:38 
GeneralRe: How can chk Dialog box is open? Pin
Le@rner2-Feb-09 18:49
Le@rner2-Feb-09 18:49 
GeneralRe: How can chk Dialog box is open? Pin
SandipG 2-Feb-09 19:29
SandipG 2-Feb-09 19:29 

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.