![]() |
How to capture ON_WM_DEVICECHANGE using Toolkit Pr |
Post Reply ![]() |
Author | |
djesling ![]() Newbie ![]() ![]() Joined: 08 September 2003 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 25 February 2009 at 2:00pm |
I think that the CXTPTopLevelWndMsgNotifier installs itself as the top-most window in a XTPToolKitPro derived application. As a result, it becomes the receipent of the "WM_DEVICECHANGE" message. My question is if there is a method by which to easily capture/forward this to a more useful window (for my application).
I'm trying to detect when USB devices connect/disconnect to gracefully handle it in my application logic. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Why you can't catch it in CMainFrame ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
djesling ![]() Newbie ![]() ![]() Joined: 08 September 2003 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
![]() |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |