Geeks With Blogs
Prabhu Kumar a tech twaddler.. April 2009 Entries
Applications: That thing called Gradience
I added a little gradient fill to the main screen. And it is quite easy really. By the way, here's what my main screen looks like now, cool eh (: Lets look at GradientFill first. The function is prototyped as: BOOL GradientFill(HDC hdc, PTRIVERTEX pVertex, ULONG numVertex, PVOID pMesh, ULONG numMesh, ULONG mode); The first parameter is the handle to the device context. The second parameter, pVertex, is a pointer to an array of TRIVERTEX structures. The third parameter contains the number of elements ......

Posted On Wednesday, April 29, 2009 1:15 AM

Applications: Adding Image to your application
Well, back from work and I was sitting idle. I thought the first screen of my application looks a bit stale really, so, I decided to add a small picture to the main screen. Adding an image resource to your project: This is really easy. 1. Copy the bitmap file into you project directory. 2. Go to Resource View, right click and select "Add Resource.." 3. Select "Bitmap" and click on "Import.." 4. Point it to the file you copied in step 1 5. Note the ID assigned to your bitmap. In my case it was IDB_BITMAP1 ......

Posted On Monday, April 27, 2009 11:43 PM

Windows CE: How a windows ce 6.0 image is created
Here is a nice video by Kurt Kennett of Microsoft explaining how a Windows CE 6.0 image is created:

http://www.microsoft.com/video/en/us/details/8cfc98e6-9eba-40d8-b251-8c2187da8248

Posted On Sunday, April 26, 2009 3:08 PM

Applications: Creating a simple UI application for Windows Mobile 6 using Visual Studio 2005: Part 3
So now our program displays the system width and height in a Message box. Let us see how this message box evolves into a Dialog box. Instead of displaying the system metrics in a Message box, we will display the same information in a full screen dialog box. The dialog box will have a menu bar, with the left soft key as "Back" and the right soft key as "Refresh". We'll see what "Refresh" will do later. First lets add the dialog box resource to our project. You can add a new dialog using the resource ......

Posted On Sunday, April 26, 2009 2:24 PM

Applications: Creating a simple UI application for Windows Mobile 6 using Visual Studio 2005: Part 2
Ok now that we have our basic application up and running, lets make some changes. First, I want to change the right soft key from "HELP" to "Menu", somehow "HELP" is not very appealing. One more thing, I use the resource editor only to add new resources to the project, any further changes or modification I like to do it by manually editing the resource files (To do that, just right click on the .rc file and select "View Code"). If you open HelloWorld.cpp and in function WndProc go to the case where ......

Posted On Thursday, April 16, 2009 12:11 AM

Applications: Creating a simple UI application for Windows Mobile 6 using Visual Studio 2005: Part 1
Time to do some actual work. As the title suggests, I will be creating a simple UI application for windows mobile 6 professional device using visual studio 2005 and improve it step by step. I will cover the developments over maybe 2 or 3 posts and lets see how it goes. Make sure you have installed Visual Studio 2005 and Windows Mobile 6 professional SDK before you proceed. Note: When creating new smart device projects with VS2005 you might get a script failure error saying that the project creation ......

Posted On Wednesday, April 15, 2009 10:35 PM

XP running fine with drivers
So I have got most of the drivers for XP working fine and things are running great. Only once did XP crash while I was installing the drivers but that was maybe because I installed the wrong one. I was having trouble finding the right driver for my video card, ATI Radeon 4570. Anyways, to find the drivers I searched google and again came about many posts related to the topic. Tried the drivers one by one, some failed and some didn't. But in the end I came about a post saying that Dell has released ......

Posted On Sunday, April 12, 2009 11:42 AM

My laptop now dual boots with Vista and XP!
Hi there, I have been struggling with my laptop for about a day now, trying to get it to dual boot with vista and xp. And I am happy to say that it is working now! My laptop came pre-installed with Vista home edition and I wanted to install xp on it because I knew that some of the programs I use will not work on Vista. The Mistake I inserted my xp cd and restarted my machine to boot from the cd and the first speed bump came along real quick. As soon as the first screen came up I got the infamous ......

Posted On Saturday, April 11, 2009 3:12 PM

The Future of Tech
What tech is going to be like in the near future.. love the gadgets See a lot of surface !? :) ......

Posted On Friday, April 10, 2009 2:13 PM

Windows CE bare essentials video
Here is nice video by Kurt Kennett on the basics of a Windows CE system and how they are designed: http://www.microsoft.com/vi... Its seems our feedback at Mike Hall's blog haven't gone in vain after all :) http://blogs.msdn.com/mikeh... And at the end of the video Kurt Kennett mentions about more videos on what a Win CE ......

Posted On Friday, April 10, 2009 1:28 PM

Bluetooth emulated!
Check out this article by Dmitry Klionsky on code project where he talks about how to emulate Bluetooth on Windows Mobile Emulators:

http://www.codeproject.com/KB/mobile/bth4devemul.aspx


Posted On Friday, April 10, 2009 12:55 PM

Finally partitioned my drive!
Well, finally after fiddling and trying everything to partition my single gigantic drive on my laptop for close to 4 hours, I have done it! The drive is finally broken. I tried using Vista's disk manager utility to partition but with partial success. I got my C drive from 280GB down to 180GB. And when I further try to shrink C, it says total available shrink space is zero! What the heck! Time to use google and a quick search shows that I am not the only one facing this problem almost half of the ......

Posted On Wednesday, April 8, 2009 1:56 AM

Tools I use
I think the tools that we use and the way we use them define us in some ways. Some people prefer to work with command prompts even though a GUI is available, some people always stick with their editors that they use and switching to a new editor is very unsettling. As you progress as a developer you become greatly attached to these tools and the first thing that we do on a new PC is setup the tools the way we want. So here goes the list of tools that I use. TextPad TextPad has always been the editor ......

Posted On Monday, April 6, 2009 1:25 AM

My laptop arrives!
Finally, I got my laptop after a long wait of three weeks. Its a Dell Studio 15 with Intel Core 2, 2.4GHz, 4GB of RAM, 320gig hard drive and 256mb ATI Radeon graphics card and last but not the least its gorgeous 15.6inch WLED screen. Well, the looks and the finishing are impressive and I must say that Dell has done a good job on the outside. The 15.6inch WLED screen is, as I said gorgeous and super bright, totally worth the extra buck and I would recommend it to anyone planning to buy one. Got a ......

Posted On Monday, April 6, 2009 12:38 AM

Aloha!
Hi there, here goes my first post on geekswithblogs, so let me introduce myself. My name is Prabhu and I work on Windows Mobile technologies. I love programming and solving puzzles. My work involves working with BSP's, porting maintaining tweaking device drivers and sometimes writing small utility applications at work. I work for a large corporation which builds and sells Windows Mobile phones for a living and does a lot of other stuff too! So thats that about me and what I do. This is the first ......

Posted On Wednesday, April 1, 2009 10:52 PM

Copyright © TechTwaddle | Powered by: GeeksWithBlogs.net