Posts

Showing posts with the label windows mobile

NoteStack --- A note program for Windows Mobile Smartphones

Image
Several years ago I wanted a note program for my PDA, so I designed one but never built it. Then I got my Motorola Q phone and noticed that it didn't have a note program with it. I tried using a text editor, but it was a hassle to save each note to a different file. I just wanted to enter my note and move on. And I wanted an easy way to see my notes. So I decided to pull out my old design and code it up. What makes it different from other note programs? I tried to make things as easy for the user as possible. The main idea is that you see a list of all your notes on one half of your screen and as you scroll thru them, the currently selected note appears on the other half. You use the Up and Down keys to scroll thru the notes. If the note contains more than half a screen's text, you can scroll thru it by using the left and right keys. You can easily browse your notes with just the directional pad. The first line of text in your note becomes the title that you see in the list. Th...

I just wanted to use a listbox

I just wanted to use a listbox. How hard could that be? Harder than I thought: I’ve recently decided to try my hand at writing programs for Windows Mobile Smartphones. I had an idea for a program and wanted to see if I could use the Compact Framework 2.0 and get it to work. One of the main components of my program is a list. So, not surprisingly, I wanted to use a listbox. But it turns out that the version of the Compact Framework for Smartphones doesn’t have a listbox control. So, I figured: “Oh well, I’ll just have to use a listview control set to List mode.” (I first met listview controls in VB 6; didn’t like ‘em then and I’m still not too fond of ‘em now. I guess I never cared for the way they handle multicolumn lists – I found subitems to be a pain. But for this project I just needed a single column list.) Now, in regular .Net a listbox control can hold objects -- as long as the objects implement a .ToString() method. The listbox uses this method to determine what to display in th...