Click here to get back home

Problem with UnRegisterHotKey : Urgent

 HomeNewsGroups | Search | About
 microsoft.public.smartphone    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Problem with UnRegisterHotKey : Urgent Swaroop 10-06-2006
Posted by Swaroop on October 6, 2006, 4:53 am
Please log in for more thread options
Hello All,

I am overriding 'Back' key of Smartphone to give custom functionality.
I am using RegisterHotKey and UnRegisterHotKey functions to
register/unregister key. Following is the functions used by me:

public static void RegisterRecordKey(IntPtr hWnd, int intKeyVal)
{
UnregisterFunc1(KeyModifiers.None, intKeyVal);
RegisterHotKey(hWnd, intKeyVal, KeyModifiers.None,
intKeyVal);
}

public static void UnregisterRecordKey(IntPtr hWnd, uint
intKeyVal)
{
UnregisterHotKey(hWnd, intKeyVal);
}
While exiting app, I m unregistering the Back key. The Back key get
unregistered, but it does not behave as per its original functionality.
When I soft reset the device, then it works with its original
functionality.
Can anybody tell me what could be the problem?

- Swaroop


Similar ThreadsPosted
A urgent Problem about Mpx220 June 13, 2006, 1:17 am
Urgent Help needed! April 19, 2006, 9:15 am
URGENT - Does anyone out there have a WM 2002 to test something fo November 14, 2005, 9:52 pm
urgent requirement for symbian developers January 17, 2008, 12:27 am
Urgent - Symbian Professionals Required ! January 19, 2008, 3:36 am
Report Server on Pocket PC 2003 SE Emulator - Urgent February 21, 2008, 11:22 pm
MMS Problem!! November 29, 2006, 9:35 am
WM6 problem using IE January 5, 2008, 3:15 pm
SP1 upgrade problem June 7, 2005, 8:30 am
Serious OWA ActiveSync Problem June 14, 2005, 4:50 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap