Last year Chris Craft wrote this excellent "30 days of .NET" articles where he wrote 30 .NET applications in C# each day. I have gone through the initial few and plan to complete the list as and when I find time. He hasn't actually explained the code and the application logic in detail and that would surely be some task if you are doing 30 apps in 30 days (; You couldn't ask for more. The source code for all the applications is available. So just download'em and dig through. There's no better way ......
Found a nice article on Code Project about using gesture API's on Windows Mobile 6.5 devices. Hit the link and give it a read. And off I go to try the program out. Update: Well, I gave the program a try and it works nicely. I have one concern however. When you double tap, you get a GID_SELECT message first and then GID_DOUBLESELECT, but what if I want to handle both messages differently? Like for example in a game where I want GID_SELECT and GID_DOUBLESELECT to do different things exclusively. I ......
Windows Marketplace for mobile, which was up until now only available for Windows Mobile 6.5 users, is now officially made available for Windows Mobile 6.0 and 6.1 devices. This is great news since it adds almost the entire windows mobile user base to the marketplace equation in one scoop! You can catch more details below: Windows Marketplace for Windows Mobile 6.0 and 6.1 ......
I stumbled across this series of posts by Maarten Struys and Dougturn on "Getting started with windows mobile development with Visual C#". I remember Joel too having mentioned it in one of his posts. I went through a couple of articles and was able to create a few basic applications in C#. I must mention that creating a basic application with your menus and a few controls takes no time at all in visual C#. The visual designer is nice, supports a lot more controls and takes care of things that you ......
Context menus really add to the user experience. You may decide to display a context popup menu when the user taps-and-holds or double-taps on the touch screen. In this post we will see how a few lines of code enable you to do just that. While reading about popup menus I came across the WM_CONTEXTMENU message. According to the windows mobile documentation that I referred this message is sent to a window when the user right clicks on the window's client area. Since I haven't yet seen a windows mobile ......
To change the text of a softkey menu item, all you have to do is pretend that they are buttons. Well, they are specialized buttons in any case. So in order to change its property (in this case the 'text') you will have to use the TBBUTTONINFO structure along with TB_GETBUTTONINFO and TB_SETBUTTONINFO messages. Lets dive into the code: Note: Error checking is omitted for obvious reasons. TCHAR szText[128] = TEXT(""); TBBUTTONINFO tbi; ZeroMemory(&tbi, sizeof(tbi)); tbi.cbSize = sizeof(tbi); tbi.dwMask ......