PC Review


Reply
Thread Tools Rate Thread

detect dock event

 
 
Bruce Bakely
Guest
Posts: n/a
 
      23rd Nov 2004
I need to detect when the PPC 2003 handheld has been docked. I'm currently
calling GetSystemPowerStatusEx every second and reacting when it goes from
DC to AC, but there must be a better way. Is RequestPowerNotifications the
way to go? Does anyone have C# sample code?





 
Reply With Quote
 
 
 
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      23rd Nov 2004
Take a look at http://www.alexfeinman.com/download....erAwareApp.zip

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Bruce Bakely" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I need to detect when the PPC 2003 handheld has been docked. I'm currently
> calling GetSystemPowerStatusEx every second and reacting when it goes from
> DC to AC, but there must be a better way. Is RequestPowerNotifications the
> way to go? Does anyone have C# sample code?
>
>
>
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detect if an event has event handler bz Microsoft Dot NET 5 19th Nov 2007 05:55 AM
Detect new row event Edwin Martinez Microsoft Excel Programming 2 20th May 2007 02:24 PM
control's Dock property = Fill: fills entire form regardless of other 'Dock's. Zytan Microsoft C# .NET 7 22nd Mar 2007 03:41 PM
HP xb2000 Dock not being reconized as a dock =?Utf-8?B?SmFrZSBIZW5kZXJzb24=?= Windows XP Hardware 1 12th Jun 2006 06:36 PM
YZ DOCK[appleOSX dock for winXP] ,if you want it you better be quick CHarneyCHRIS Freeware 0 30th Jun 2003 06:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:41 AM.