Geeks With Blogs
Prabhu Kumar a tech twaddler.. April 2010 Entries
Applications: How to create a custom dialog box for Windows Mobile 6 (native)
Ashraf, on the MSDN forum, asks, “Is there a way to make a default choice for the messagebox that happens after a period of time if the user doesn't choose (Clicked ) Yes or No buttons.” To elaborate, the requirement is to show a message box to the user with certain options to select, and if the user does not respond within a predefined time limit (say 8 seconds) then the message box must dismiss itself and select a default option. Now such a functionality is not available with the MessageBox() api, ......

Posted On Thursday, April 22, 2010 9:17 AM

Having trouble with font on this blog?
Sometimes when I open this site on other PC’s the font of the posts turns out be very small and it can be a pain to read the text. Not sure if you’ve noticed the ‘Customize’ bar on top of the page, so I thought I’ll let know. This bar helps you customize the way you want the page to look and saves the settings for you so you don’t have to change it every time. You can change the font size and the main page positioning. The white arrow marks in the image above shows the settings I find convenient. ......

Posted On Sunday, April 18, 2010 9:46 PM

How to: Show wait cursor in managed and native code
Someone on the MSDN forum asked about how to show a wait cursor, like when your application is loading or performing some (background) task. It’s pretty simple to show the wait cursor in both managed and native code, and in this post we will see just how. Managed Code (C#) Set Cursor.Current to Cursors.WaitCursor, and call Cursor.Show(). And to come back to normal cursor, set Cursor.Current to Cursors.Default and call Show() again. Below is a button handler for a sample app that I made, (watch the ......

Posted On Thursday, April 15, 2010 9:04 AM

Windows Live Writer

This is a sample post. Checking out the Windows Live Writer to post to my blog.


Posted On Thursday, April 15, 2010 3:58 AM

Applications: Colliding Marbles in C Sharp
If you follow this blog, you know how much I love marbles. I was staying up for Microsoft's It's Time To Share event and I thought I'll write up a C# version of Colliding Marbles. It's a pretty straight forward port from the native version, the only major difference being in the drawing primitives. Video follows. The solution was created using Visual Studio 2008 and the source code is shared below. Source Code: [Shared on SkyDrive] Video ......

Posted On Monday, April 12, 2010 12:13 PM

Copyright © TechTwaddle | Powered by: