Archive for the ‘Pocket PC’ Category

Ever wondered how contact application searches using all the character mapping of a key?When you press the “2” key it matches all the contacts 

with ‘a’,’b’ and ‘c’. If you want to have the same kind of functionality in your application then the magic lies in the following registry key:

 “KeyboardMappings” = REG_SZ

This has the mappings for all the keys and there corresponding character values.


Read Full Post »

Came across this article on Windows Mobile 7. This speaks about the various features of Windows Mobile 7 – like gesture and motion recognition, better visual effects like transition etc.

Though this is not an official announcement and might not be 100% accurate.But if even 70% of it is true, it would be an exiting time ahead, and might give iPhone a serious run for its money :-).Check the following link for the article:


Read Full Post »

Next Version of Windows Mobile 6 , that is Windows Mobile 6.1 should be hitting the market in first quarter 2008.It would have enhancements over winmo 6.

It would have message threading so that you can view all the message in its context (Ala Palm Treo).

Home screen has been redesigned, a new application called Task manager (like Desktop Taskmanager) would be a part of it

it supports bluetooth DUN

support for vCard Version 3.0,photo sharing through bluetooth

while roaming when user wants to make a call a message would be shown to notify him that he is on roaming

it include communicator mobile

better integration of 3GPP codecs with Windows Media Player

Read Full Post »

When trying to display notification ballon you must have observed that they are displayed at the bottom of the screen.Whereas applications like volume control,clock display it at the top of the screen.This is much more intutive and user freindly, especially in the scenario when you are displaying it in response to user clicking at your icon. You can also do the same :

In the SHNOTIFICATIONDATA structure give the following value to the clsid member:

{ 0x99de7411, 0x772f, 0x43d0, { 0x81, 0xf0, 0x66, 0x83, 0x36, 0xca,
0x65, 0x1b } }

Read Full Post »

Crating status bar windows is easy enough, you just need to use CreateStatusWindow function and you won’t forget to set WS_VISIBLE and WS_CHILD flag, would you?

When you are trying to set the background color of the status bar it’s easy again, if its simple, you just need to send SB_SETBKCOLOR message to status part. But the fun starts when you have set parts in your status bar. In this case parts would have the default color,so it would look as if border color has been setup.

To solve this issue you would need handle WM_DRAWITEM message in your WndProc. The lParam in this case is a pointer to LPDRAWITEMSTRUCT.

Eg.: code inside WM_DRAWITEM


HBRUSH hBrush;



FillRect(lpDrawStruct->hDC, &lpDrawStruct->rcItem, hBrush);

Read Full Post »

Recently I was trying to extend the menu of the Phone context in windows mobile 6 device.We hit a strange problem.As long as we were inserting Menu it was fine,but when we tried to insert Sub menu, all the main menu items were automatically inserted in the Submenu. E.g. If main Menu has a menu item “Create Note” the same menu item would reappear in the submenu. And what was really weird was that when you click on that it would launch the Note application. After lot of head scratching we couldn’t solve it. We later came to know that it is a bug and has been solved in Windows Mobile 6 AKU 0.3.

So guys if you hit this issue, please don’t scratch your head 🙂

Read Full Post »

Came across these interesting links for white-papers on Security on Windows Mobile.

1.Security considerations for Windows Mobile Messaging in the Enterprise: This white-paper covers the security consideration on the device,Security considerations within the corporate network and Security considerations on the network.

2.Security Model for Windows Mobile 5 and Windows Mobile 6: This white-paper deals with provisioning and managing windows mobile 5/6 device.

Read Full Post »

Older Posts »