Groups | Blog | Home


Archived Months
November 2003
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet windows forms controls > june 2008

scroll DataGridView to selected row
Posted by John A Grandy at 6/23/2008 5:39:59 PM
For a DataGridView, programmatically selecting a row not currently displayed does not cause the grid to scroll ... How to programmatically cause the grid to scroll to display the selected row ? ...more >>


Can't derive from System.Windows.Forms.TreeView
Posted by Axel Dahmen at 6/23/2008 3:38:08 AM
Hi, I'd like to create a specialized version of = System.Windows.Forms.TreeView. But creating a class and deriving from = TreeView doesn't work. I can't drag this new class onto a Form or store = it in the Toolbox. What am I doing wrong here? How can I derive from TreeView and have all = t...more >>

ToolStripProgressBar: Style is always Continuous
Posted by Axel Dahmen at 6/20/2008 11:12:46 PM
Hi, I don't seem to be able to change the ProgressBar Style property in = Visual Studio 2008. No matter what value I set it to, the ProgressBar is = always displayed as "Continuous". Does anyone have the same experience? Or am I doing something wrong = here? TIA, Axel Dahmen...more >>

ToolStripStatusLabel (.NET 3.5): Can't clear text property
Posted by Axel Dahmen at 6/20/2008 7:18:42 PM
Hi, in a WinForms application I'm using a System.Windows.Forms.StatusStrip = control. In this control I'm using a = System.Windows.Forms.ToolStripStatusLabel control. What's strange is that I can't clear the text of the = ToolStripStatusLabel control once I've set it to something else but =...more >>

DataGridViewImageButtonColumn, custom column for DataGridView, image with mouse-overs
Posted by Patrick B. at 6/20/2008 9:47:04 AM
Dear DataGridView lovers, I want a DataGridViewColumn that acts like a button but that shows an image. Furthermore, when the user mouse-overs the image or clicks on it, I want the image to change. I've written some code the works, KINDA. Actually it works well, except it generates error ...more >>

Any free UI controls? I mean real free controls.
Posted by RealCat at 6/19/2008 9:47:23 PM
A few years ago, when the .NET version was still 1.1, there was a UI controls library called Magic Library. It was free, but now it's gone commercial. I'd like to add some UI eye candies for my freewares but don't need them that much to create them spending my time. I'd rather enhance the pro...more >>

How to refresh a computed column in DataGridView before leaving the row ?
Posted by Patrice at 6/19/2008 12:30:03 PM
Hi all, I'm using a DataTable with computed columns as the source for my DataGridView. When I change the value used by the computed column, the computed column is updated only when I leave the row. I would like to update the computed column when I leave cell (moving to another cell on th...more >>

Win Handler on Vista
Posted by Vivek Waghmare at 6/10/2008 6:58:15 PM
hi All I have customized SaveAs Dialog box to handle the events of UI elements such as selectedindex change of Filter combo box. For this purpose I have inherited a class from NativeWindow class, and written call back method catch the windows handler. I used class name as #32770 to check if ...more >>



Updating custom control
Posted by Andrew Gray at 6/10/2008 5:00:54 PM
Hi All, My task is to port some .Net 1.1 custom controls to .Net 3.5 I wasn't expecting that there would be much to do but have just spent a long time tracking down a runtime error on a button control that inherits from a Windows.Forms.Label and implements IButtonControl. The control modif...more >>

deadlock when using waitOne in a STA thread
Posted by Daniel Cuculescu at 6/10/2008 1:41:27 PM
Hi, I have the problem described bellow with the calls to WaitHandle.WaitOne causing re-entrancy on main GUI thread (STA) of a .NET application and I would like to find out: - did anybody else run into the same problem? - is it a known issue? is there a fix for it? - is there a work...more >>

SerialPort hardware handshaking problem (not the usual one)
Posted by Steve Mowbray at 6/10/2008 12:44:29 PM
Hi I am using SerialPort component to send raw binary files to a remote device with RTS/CTS handshaking - the remote device has a small receive buffer and is slow so needs to be hardware flow controlled to prevent the PC sending too much data per second. Here is my attempt at setting the ha...more >>

Drawing Over Other Controls
Posted by HaySeed at 6/9/2008 3:38:01 PM
There is a functionality in the standard Splitter control I would like to emulate. When a user presses the mouse down on a splitter, then begins to drag the splitter left or right, a graphical line is drawn that tracks the mouse movements. This graphical line has three features of interest.....more >>

Webbrowser Downloading file
Posted by Martin Thompson at 6/4/2008 5:29:02 PM
Hello I want programmatically surf a web site and then download a file programmatically. I am using the WebBrowser control in wonforms When I post the data, I get the file download dialog popping up asking me where to save the file ( csv file ) . How can I make this happen automatical...more >>

search within an arraylist
Posted by Andrew at 6/3/2008 1:49:06 AM
Hi, Is it possible to search within an arraylist ? eg: Arraylist arlData = new ArrayList(); arlData.Add(new Item("test", "this")); public class Item { private string a, private string b, public Item(string A, string B) { } public string A {get;set; } public str...more >>

Tabcontrol in Usercontrol not painting activex controls
Posted by News at 6/2/2008 11:14:55 AM
I have created a usercontrol that has a Tabcontrol with 2 tab pages. On each page I have placed an ActiveX control. All looks fine at design time but when I run the app - only the activex control on the first disaplayed tab is shown. ActiveX controls on the other tabs are never painted. ...more >>

Alternatives for WPF
Posted by Mark at 6/1/2008 9:21:10 PM
Are there any alternatives for using WPF for developing controls and skin? Regards Mark ...more >>


DevelopmentNow Blog