Click here to Skip to main content
15,795,318 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionOnDeviceChange dbcc_name length Pin
Member 138991789-Jul-18 5:34
Member 138991789-Jul-18 5:34 
GeneralRe: OnDeviceChange dbcc_name length Pin
Richard MacCutchan9-Jul-18 6:26
mveRichard MacCutchan9-Jul-18 6:26 
GeneralRe: OnDeviceChange dbcc_name length Pin
Member 138991789-Jul-18 21:37
Member 138991789-Jul-18 21:37 
GeneralRe: OnDeviceChange dbcc_name length Pin
Richard MacCutchan9-Jul-18 22:04
mveRichard MacCutchan9-Jul-18 22:04 
GeneralRe: OnDeviceChange dbcc_name length Pin
Member 138991789-Jul-18 22:06
Member 138991789-Jul-18 22:06 
SuggestionRe: OnDeviceChange dbcc_name length Pin
David Crow9-Jul-18 17:24
David Crow9-Jul-18 17:24 
AnswerRe: OnDeviceChange dbcc_name length Pin
Jochen Arndt9-Jul-18 23:57
professionalJochen Arndt9-Jul-18 23:57 
GeneralRe: OnDeviceChange dbcc_name length Pin
Member 1389917810-Jul-18 0:26
Member 1389917810-Jul-18 0:26 
All valid points, thank you. The note about device interface was good and got me on the right track. I was blind to that part as the code seemed to work and returned something. The problem seems to have been that I have registered to receive messages to my Hwnd from GUID_DEVCLASS_PORTS which is not an interface class, now I changed to GUID_DEVINTERFACE_USB_DEVICE and I get a proper string with VID & PID. Problem solved, thanks!
GeneralRe: OnDeviceChange dbcc_name length Pin
Jochen Arndt10-Jul-18 0:42
professionalJochen Arndt10-Jul-18 0:42 
GeneralRe: OnDeviceChange dbcc_name length Pin
Member 1389917810-Jul-18 0:44
Member 1389917810-Jul-18 0:44 
QuestionChanging Display gamma [SOLVED] Pin
Valentinor9-Jul-18 1:48
Valentinor9-Jul-18 1:48 
AnswerRe: Changing Display gamma Pin
Jochen Arndt9-Jul-18 2:05
professionalJochen Arndt9-Jul-18 2:05 
GeneralRe: Changing Display gamma Pin
Valentinor9-Jul-18 3:42
Valentinor9-Jul-18 3:42 
GeneralRe: Changing Display gamma Pin
Jochen Arndt9-Jul-18 3:59
professionalJochen Arndt9-Jul-18 3:59 
GeneralRe: Changing Display gamma Pin
Valentinor9-Jul-18 11:51
Valentinor9-Jul-18 11:51 
GeneralRe: Changing Display gamma Pin
Jochen Arndt9-Jul-18 22:00
professionalJochen Arndt9-Jul-18 22:00 
GeneralRe: Changing Display gamma Pin
Valentinor9-Jul-18 23:36
Valentinor9-Jul-18 23:36 
GeneralRe: Changing Display gamma Pin
Valentinor10-Jul-18 0:33
Valentinor10-Jul-18 0:33 
GeneralRe: Changing Display gamma Pin
Jochen Arndt10-Jul-18 0:50
professionalJochen Arndt10-Jul-18 0:50 
GeneralRe: Changing Display gamma Pin
Valentinor10-Jul-18 2:10
Valentinor10-Jul-18 2:10 
QuestionMouse Wheel scrolling support for MFC application. Pin
Member 139038189-Jul-18 1:01
Member 139038189-Jul-18 1:01 
AnswerRe: Mouse Wheel scrolling support for MFC application. Pin
Jochen Arndt9-Jul-18 1:52
professionalJochen Arndt9-Jul-18 1:52 
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Member 139038189-Jul-18 20:16
Member 139038189-Jul-18 20:16 
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Victor Nijegorodov9-Jul-18 21:37
Victor Nijegorodov9-Jul-18 21:37 
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Member 139038189-Jul-18 22:04
Member 139038189-Jul-18 22:04 

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.