Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
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 > february 2004 > threads for monday february 2

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

Getting the keyboard state (C#)
Posted by Charles Randall at 2/2/2004 9:26:08 PM
In a MouseDown event, I want to find out what modifier keys are being held down to change the behavior of my program. I can't, however, seem to find a way of doing this. Can anyone offer any suggestions? Thanks, Charles....more >>

object reference not set to an instance of an object
Posted by Vivian at 2/2/2004 6:26:14 PM
Hi, I got the message of "object reference not set to an instance of an object" when I click on the View Designer. The form is inherited as below. Can someone please help? public class frmShf : PME.frmCal Regards, Vivian ...more >>

Focus Problems with MDI child forms
Posted by Trev Hunter at 2/2/2004 4:12:33 PM
Hi Folks, Sorry if you have seen this post before - I've posted it before, but it seems to have gotten lost in Outlook limbo - it's visible on the web interface, but not in any news reader I've tried :S A while ago, I came accross this post by Armin describing how to reporduce a focus bug w...more >>

Trap Keys from DataGrid
Posted by Larry at 2/2/2004 4:01:09 PM
I'm using C# on a Windows Form with a datagrid. I want to trap when a user hits ENTER (or Tab on the last column) so that I can auto add a new row and prepopulate with default values from the previous row. It not be assumed that column values were actually changed on the current row. I have t...more >>

HelpProvider's SetHelpString method
Posted by rbscheer NO[at]SPAM my-deja.com at 2/2/2004 3:29:35 PM
Hi. When using the SetHelpString method of the HelpProvider control, do I have any limit on the number of characters I can set? Thanks, Robert Scheer...more >>

Casting of a Object* to an Enum value??
Posted by Anders Jansson at 2/2/2004 3:11:10 PM
Hi everybody! I have a problem with letting the compiler accept the following code in Managed C++, see example below. I have a logfile that contains statements about variuos actions taken during an installation. The actions has a value of a enum type itemOper = {FileCopy, FileMerge, FolderOk,...more >>

How would I find out to which control a given control is docked against...
Posted by Yasutaka Ito at 2/2/2004 3:01:42 PM
Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on the left and the panel2 is the second one docked against panel1. I want to be able to find out to w...more >>

Capturing beginning of a window resize?
Posted by Steve Johnson at 2/2/2004 10:51:11 AM
Hi, Can someone please tell me how to capture the beginning of a window resize when a user resizes a window? I know that I get OnResize calls in my topmost form, but I want to be able to do some preprocessing prior to getting the first OnResize call. I've tried the OnClick and OnMouseDown metho...more >>



Trying to specify the native windows class to be used underneath of my custom winform with get_CreateParams()
Posted by Bern McCarty at 2/2/2004 10:23:40 AM
I am trying to figure out how to create a windows form such that the underlying native window is of a custom windows class of my choosing. This should allow me to, among other things, specify that I want some extra space in the window so that I can use SetWindowLongPtr/GetWindowLongPtr on the u...more >>

Weird crash after "dragging" NotifyIcon - NullReferenceException
Posted by d0wsdkn02 NO[at]SPAM sneakemail.com at 2/2/2004 8:52:07 AM
I'm getting a NullReferenceException in Unknown Module when I follow the below steps to create a simple NotifyIcon app that creates the context menu on the fly(see a little analysis after the steps). 1. Create a new Windows Forms C# solution (I called mine DBChanger). 2. Replace Form1.cs code ...more >>

Enumerating non-ui components from the given form instance
Posted by Yasutaka Ito at 2/2/2004 8:37:27 AM
Hi, As you know, all the non-ui components (like Timer control, etc.) that sit on the form are contained in its private variable 'components'. How can I enumerate such components from any form instance given to me? I have no access to the source of the given form instance, but I can impose ...more >>

Using MessageBox in C++
Posted by Douglas Collie at 2/2/2004 7:46:07 AM
I want to Use MessageBox in a C++ .Net Windows Forms project. I have a form with a button - clicking the button brings up some text in a MessageBox. If I call MessageBox from the Click event handler in the .h header file - it works fine. If I move the event handler to the .cpp file it fails w...more >>

ListView to Excel Code (but needs SPEED improvements)
Posted by SVD at 2/2/2004 1:12:10 AM
Hi, The following code works, but it has some issues: 1) Any suggestions to optimize the code? 2) How can I set the text and background colors for my header cells Thanks, Steve private void button1_Click(object sender, System.EventArgs e) { // Create applicati...more >>


DevelopmentNow Blog