Archive for the 'Articles' Category

Using WinCE’s POOM SDK

Wednesday, November 1st, 2000

Windows CE includes a World Clock applet that allows you to view the time and date in two cities labeled “Home” and “Visiting” simultaneously. If you switch the view from one city to another or change the city in the currently selected view, all your appointments in Pocket Outlook Calendar will automatically display adjusted with respect to the new time zone. For example, let’s say you live in San Francisco and you are planning a trip to New York City. In anticipation to your trip, you’d want to enter your itinerary and meeting schedule in the local times for the east coast. You could switch the World Clock to the east coast time, enter the appointments and then switch back to the west coast time. This would cause the appointment times to display using west coast time for now, but once you land in New York you can simply switch the clock to east coast time and all is well. (more…)

Extending the Win2K Shell with COM

Friday, September 1st, 2000

Both Windows 2000 and the upcoming Windows Millenium Edition feature a new standard shell folder called “My Pictures”. This folder is a perfectly normal file system folder, yet when the shell’s Web View setting is enabled it includes a convenient image preview window as shown in Figure 1. Simply select an image file and you will get an instant preview of it, along with the dimensions of the image as well as the usual vital stats such as creation date/time, etc. You can zoom in and out, fit the image to the preview window, view it actual size or full screen, or even print it. (more…)

Creating Dual-Version Apps for Win95

Tuesday, October 1st, 1996

Your 16-bit application may run fine under Windows 95, but you have to mark it as a 4.0 application to get access to some Windows 95 features, such as the new icon messages. Unfortunately, if you mark it as 4.0, then Windows 3.x will refuse to run it. The trick is to mark your application 4.0 at runtime when it executes under Windows 95. Here’s the code you need to do the trick. (more…)