Welcome to MSDN Blogs Sign in | Join | Help

February 2005 - Posts

Microsoft Research ...

Soma's blog describes some of the projects that have been undertaken by Microsoft Research lab.
Posted by subhagpo | 1 Comments
Filed under:

What is Control.SelectNextControl(...)?

Today I recieved a question on Winforms discussion list about SelectNextControl function on control and I thought it might be worth sharing some thoughts on this topic. The name "SelectNextControl" suggests that this function would select the next control
Posted by subhagpo | 4 Comments

Whats the difference between Control.Invalidate, Control.Update and Control.Refresh?

Control.Invalidate() v/s Control.Update() v/s Control.Refresh() Before discussing each one of the above functions, let’s look at how winforms controls paint. Windows controls paint is response to WM_PAINT messages . This message is sent when UpdateWindow
Posted by subhagpo | 2 Comments
Filed under:

How can TypeDescriptor and TypeDescriptionProvider be used?

Brian explains how these features in whidbey can be used to design abstract forms. As usual, a great post by Brian .
Posted by subhagpo | 0 Comments
Filed under:

Winforms Tips and Tricks:

Coding : 1) Use BeginUpdate( ) and EndUpdate( ) while performing any bulk operation that would cause the window to redraw itself. a. Large number of items to ListView. b. Large number of nodes to TreeView. BeginUpdate() sends a WM_REDRAW message passing
Posted by subhagpo | 1 Comments
Filed under:

Microsoft Win32 to Microsoft .NET Framework API Map

This is a great one stop shop for 1.0 and 1.1. APIs that map to there corresponding Win32 APIs.
Posted by subhagpo | 1 Comments
Filed under:

What are SafeHandles?

How IntPtr’s can be dangerous? IntPtrs are usually used to store GDI/Kernel/OS or Window Handles and are used by managed code to pass these handles to native code using P/Invoke. Problems will occur if the IntPtr represents some native resource (memory,
Posted by subhagpo | 1 Comments
Filed under:
 
Page view tracker