| Thread | Last Post | Replies |
|
| DataGrid multiselect | 04 Feb 2004 10:21 GMT | 2 |
I have a windows forms data grid which I want to use for display only. Is it possible to turn off the "multiselect" behaviour so that only one row can be selected at a time? Is it possible to stop individual cells receiving focus (I want the whole row to be highlighted and want to ...
|
| TextBox OnPaint override never gets called | 04 Feb 2004 09:46 GMT | 3 |
I'm trying to override the TextBox OnPaint method, but it never gets called. Why? How can I tailor the painting of a TextBox?
|
| Disabling Expand on parent/child datagrids | 04 Feb 2004 09:42 GMT | 1 |
I have successfully got a parent/child relationship running across two DataGrids (Windows Forms). All I want to do now is to remove the Expand (+) in the parent grid. Any ideas?
|
| Using MessageBox in C++ | 04 Feb 2004 09:12 GMT | 3 |
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 ...
|
| diable OS I/O notification on removal of media | 04 Feb 2004 08:24 GMT | 4 |
I am in process of writing a small winforms control to read and copy data off a removable drive. I started it off as a winforms application and then dropped it in favour of a control.
|
| Mouse can select other widgets when Validating returns cancel | 04 Feb 2004 04:32 GMT | 1 |
I have an editbox that returns e.Cancel = true in the Validating event (when its value is invalid). The user can click on other widgets (e.g. Button) that have CausesValidation = true. Shouldn't the e.Cancel = true prevent the click event from happening on the other widgets (so ...
|
| Getting the keyboard state (C#) | 04 Feb 2004 04:26 GMT | 3 |
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.
|
| NotifyIcon and SetForegroundWindow | 04 Feb 2004 03:40 GMT | 1 |
I use NotifyIcon to minimize my app to the system tray. I also check everytime my app runs for the previous instance, if it is running, call SetForegroundWindow to bring its window up front and exit the second instance.
|
| Weird crash after "dragging" NotifyIcon - NullReferenceException | 04 Feb 2004 03:38 GMT | 3 |
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).
|
| Disable Normal button of the window | 04 Feb 2004 02:53 GMT | 3 |
Is there any way to disable the "Normal" button of the form? A button displayed between the Minimum and Maximize button? I want the user to be allowed to either minimized or maximized, but not set the window state to normal.
|
| Newbie Question on Char Conversion | 04 Feb 2004 01:59 GMT | 2 |
I would like to know if the following int cr = 13 sw.Write(Convert.ToChar(cr)); int lf = 10
|
| Different colored lines in a textbox | 03 Feb 2004 22:23 GMT | 1 |
I am using VC++ for a WinForm project. I have a TextBox that I use to display info/error messages to the user. I would like info lines to be one color and errors to be another. Is there a way to do this Thank you Joe
|
| SQL stored procedures | 03 Feb 2004 20:20 GMT | 2 |
I have built a windowsform application. I want to insert a new record into a SQL database using a stored procedure. When I run the app I get an error message "Line 1: Incorrect syntax near 'usp_AddData'". When I exec the stored procedure in Query Analyser it works. I have a ...
|
| object reference not set to an instance of an object | 03 Feb 2004 20:11 GMT | 1 |
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
|
| help with an easy question... | 03 Feb 2004 20:01 GMT | 1 |
i'm sure this is an easy question. I have a number of forms in my project, which i am converting from VB6 to .Net This is the previous code i have:
|