Notices

X50 / X51 Forums Talk about anything related to the X50 / X51 series.

Reply
 
LinkBack Thread Tools
Old 03-21-07, 10:07 PM   #16 (permalink)
Aximsite Minor League
 
Join Date: Jul 2006
Location: Hong Kong
Posts: 211
Thanked 0 Times in 0 Posts

Awards Showcase
Aximsite Contest Winner 
Total Awards: 1

I guess power off is done by a system call rather than a program. Anyway, sktools could make a shortcut to do full power off and I believe a few paid software could do it too.
zhaoyun is offline   Reply With Quote
Sponsor Ads
Old 03-31-07, 09:32 AM   #17 (permalink)
Aximsite Prospect
 
Join Date: Dec 2006
Location: Munich, Germany
Posts: 10
Thanked 0 Times in 0 Posts
The following C code allows to simulate the power button press:
(see http://msdn2.microsoft.com/en-us/library/ms837843.aspx)

// Send keypresses that mean power off
keybd_event(VK_OFF,0,KEYEVENTF_SILENT,0);
keybd_event(VK_OFF,0,(KEYEVENTF_KEYUP|KEYEVENTF_SI LENT),0);

Works fine with my x50v.
zoulou is offline   Reply With Quote
Reply

Tags
axim, shut, x51v

Sponsor Ads

Thread Tools

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Having software run when Axim has shut down/password protected hieye Windows Mobile 5 0 01-20-07 05:05 PM
AXIM X51v does not shut down automatically: battery everyday empty Willem Bakker X51 Hardware Troubles 3 06-18-06 06:16 AM
Axim X51v Navteq Wont Shut Down rocketroy GPS Talk 6 12-21-05 12:43 PM
My Pc doesn't want to shut down JDThomas PDA/AXIM Newbies 2 10-07-05 01:51 PM
Axim Won't Turn on once shut off rjsmith608 Windows Mobile 2003 3 10-09-03 02:12 AM


All times are GMT -5. The time now is 08:46 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC