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 > april 2008

ListBox
Posted by rogersteph@googlemail.com at 4/30/2008 3:51:46 PM
I would like to write a small program where a user can input several data. The data is then displayed in a listBox control and the user can "jump" to several entries (and edit them there) by just selecting items in the listBox. My problem is that once I've added items to the listbox I cannot ...more >>


How to pass the IE windows handle out of the WebBrowser?
Posted by Sean at 4/30/2008 2:16:00 PM
I am using a WebBrowser control to access a third-party website in my application. I need to intercept the pop up IE window event on the website and display page in another WebBrowser control so that I can parse the DOM object in the pop up page. Private Sub webWebBrowser_NewWindowExtended...more >>

Notifying user of Textbox input error
Posted by brad at 4/25/2008 1:17:01 PM
I have 20+ Textboxes on a form bound to data fields; some hold dates. If an invalid date is entered the control prevents the user from moving to another control (this is automatically handled by the default implementation of Textbox), but no error message is shown and nothing happens to ale...more >>

TreeView defect
Posted by xakee at 4/24/2008 7:16:51 AM
Hello, I have found the following defect with the TreeView Control (i'm using VS .Net 2005, with .Net framework 3.0 installed, on windows XP Professional SP2 machine). Here are the steps to create a sample application that will reproduce the defect (expected time to reproduce, 2 minutes): ...more >>

DataGridView performance very bad
Posted by Peter Sabath at 4/23/2008 1:14:06 PM
The drawing performance of the DataGridView (.NET Framework 2.0) is very bad. I can every single cell getting painted. This behavior is even worse on nVidia based graphic adapters even with the more powerfull ones with current drivers. (e.g. 8600 GT) On an ATI Radeon X1900 the drawing is slow ...more >>

ImageAnimator and PNGs?
Posted by rory.groves@gmail.com at 4/23/2008 11:33:09 AM
Has anyone had any success with ImageAnimator and Animated PNGs? (APNG) So far I have only been able to get GIF's to be recognized as animate- able....more >>

Change Browsable Attribute Setting at Runtime
Posted by E at 4/22/2008 2:06:01 PM
Is there a way to change the Browsable Attribute Setting at Runtime for a Control. i need to set some properties to off so I can display some settings in a Property Grid. Can this be done? -- Ed...more >>

Problems drawing GDI+ text
Posted by Bob Altman at 4/18/2008 4:02:49 PM
Hi all, I'm trying to do something that should be really simple, but I can't get it to work. I have a simple test program that consists of a Panel control (Panel1), a TextBox (TextBox1), and a Button (Button1). When the user clicks on the button, I want to draw the text in the TextBox ont...more >>



Danish text not displayed properly with web browser control
Posted by dehranph@gmail.com at 4/17/2008 7:54:16 PM
Im workin on a screen scrapping enginewhere it uses windows forms Web Browser control to simulate the browsing of website from Login, Search, and get search results via RegEx and Logout after the search. If I use Internet Explorer, the search results works fine. All special characters are displa...more >>

Custom TabControl - hide/customize left-right buttons
Posted by Olaf Rabbachin at 4/17/2008 4:16:57 PM
Hi *, I have created a custom TabControl (inherited from the default one). The only thing that's still missing is to customize the behaviour when the horizontal extension of the tab-strips exceeds the TabControl's width. In this case, the original TabControl displays those two buttons on the t...more >>

Esc in DataGridView on a dialog
Posted by Paul S at 4/15/2008 6:55:02 AM
Hi I have a DataGridView on a dialog. The dialog has a Cancel button abd the CancelButton property set to this button so pressing ESC in the dialog closes the dialog. The grid has a drop down box in one of the cells. When the user regrets a selection he presses ESC to restore the previous ...more >>

Support for Managed Controls in MS Office? Windows Forms or WPF?
Posted by Siegfried Heintze at 4/10/2008 10:43:01 AM
I would like to write a Microsoft Office (power point, web expression, word) resident control that will play fragments of DVD movies. Can someone point me to the documentation where it says that office supports managed controls? Back in VS2005 days a Visual Studio PM posted declaring that whil...more >>

Changing property editor in property grid during runtime
Posted by irtaiza at 4/8/2008 3:23:14 AM
Hi, I have a requirement where I display the properties of an object in the property grid. There are two properties "Type" and "Name". The "Type" is an enum and hence will be displayed as a combo box. The "Name" is dependent on "Type". If "Type" is, say A, I want "Name" to be another combo ...more >>

Suppressing the mouse wheel for a specific control or an entire ap
Posted by michael at 4/7/2008 7:25:02 AM
I have a WindowsForms app. A ComboBox's SelectedIndexChanged event drives a bunch of other functions in the app. However, if the ComboBox has the focus and someone scrolls the mouse's wheel, the app can't process the events (and subsequent functions) fast enough and the app hangs. How can I...more >>

UserControl always erases all ClientRectangle
Posted by Juan Dent at 4/3/2008 6:20:01 PM
Hi, I am creating a UserControl in VS2005, which overrides OnPaint and OnPaintBackground. I have a button placed in a corner inside of the control which when pressed calls Invalidate(rect) with a rectangle that is only part of the ClientRectangle (actually one half). I expected both OnPain...more >>


DevelopmentNow Blog