Geeks With Blogs
Prabhu Kumar a tech twaddler.. August 2010 Entries
Edit boxes and default text selection
While working on an application of mine, I had to display ‘Help’ information. I chose to use a read-only multiline edit box along with SetWindowText() to display the text, sounds simple enough. But I ran into a small but annoying problem. The text displayed was all selected, and I thought why would the text be selected by default!? Here is a sample program to demonstrate this, #include <windows.h> #include <aygshell.h> #include "resource.h" HINSTANCE g_hInst; BOOL CALLBACK EditBoxSelTextDlgProc(HWND, ......

Posted On Friday, August 20, 2010 7:39 PM

HTC HD2, Accelerometer and Windows Phone 7 – Source Code
If you haven’t seen the video demo in my last post, I suggest you watch it first to get a better understanding. So in this post we are going to see how the WCF service, the .NET Compact Framework application running on HD2 and the Silverlight application running on the Windows Phone 7 emulator work together. The Objective We are going to write three applications, a simple WCF service hosted in a windows console application which implements two functions, one called UploadAccelData() and the other ......

Posted On Sunday, August 1, 2010 10:56 PM

Copyright © TechTwaddle | Powered by: GeeksWithBlogs.net