| Thread | Last Post | Replies |
|
| VS2005 SpliterContainer Control ? | 14 Dec 2006 16:06 GMT | 1 |
I have a splitter container control I'm trying to get set for a minium height on panel2.. I'm doing the following code in the SplitterMoved event... Private Sub scAppDiv_SplitterMoved(ByVal sender As Object, ByVal e As System.Windows.Forms.SplitterEventArgs) Handles scAppDiv ...
|
| Disabling Copy/Paste in a Textbox control in C# | 14 Dec 2006 12:28 GMT | 7 |
I'm writing an application where I don't want it to be super easy for the end-user to 'steal' the intellectual property of the application. Obviously, if they're determined, they'll find a way, but I don't want to hand it over on a silver platter.
|
| ComboBox.SelectedIndexChanged Question | 14 Dec 2006 08:13 GMT | 2 |
I've got a databound combobox on a usercontrol in a VSTO app. I want to handle the selected index changed event display/hide some other controls on the form, which seems to be working fine in it self... but when I click the button to submit the form, it seems to fire again, and I ...
|
| DataGridView bound to complex object? | 14 Dec 2006 02:51 GMT | 9 |
I have a class as follows (this is over-simplified, but representative): class cMessage {
|
| Button.Enabled = false causes RadioButton.Click to fire ?? why? | 13 Dec 2006 17:15 GMT | 2 |
I'm working on User Control for a VSTO Excel app, which has 2 radio buttons, some textboxes, which are displayed, hidden by the radio buttons, and then a normal button to process user request for a sales report. The start of the button click looks like...
|
| Let DataGridView interpret -1 as null value (C++/CLI) | 13 Dec 2006 14:24 GMT | 2 |
I'm developing in C++/CLI and using a DataGridView that is bound to a BindingSource that uses a list of objects of my my custom class. This objects have some properties that are displayed in the columns of the datagrid. Some of these properties are of type int and therefor do not
|
| How to get the correct hDC to fill in the DRAWITEMSTRUCT? | 12 Dec 2006 11:52 GMT | 1 |
For some reason, I have to manually raise the WM_DRAMITEM when drew a ListBox, but I got a problem that I couldn't get the correct hdc. See definition of DRAWITEMSTRUCT. It has a field hDC, the description is,
|
| maskedtextbox retreive data | 12 Dec 2006 11:44 GMT | 3 |
I have to show a time in a control, I new in v.s. 2005 and I think use the maskedtextbox, I put the mas in the time normaly, but I like to change de mask to show exactly the time in 12 hours, like: 2:34 pm and this format must be validate. but this problem is not the main, the ...
|
| How does a container constrain its child controls to specific bounds? | 12 Dec 2006 02:20 GMT | 2 |
I have sub-classed the Panel class in order to create a header region on the top which is userdrawn. However, I have yet to figure out how to limit a child control from being placed on top of the area of my panel on which the header is being drawn. DockPadding.Top or Padding.Top
|
| Best practice for storing control state | 11 Dec 2006 21:57 GMT | 1 |
I'm wondering if any have good input on the best practice to use to allow a (user)control to remember it's state. For example, I have a UserControl that I use a lot of places in our application. I want that contorl to remember it's UI state whenever the
|
| Relationship between DataGridView.CellPainting event and DataGridViewCell.Paint | 11 Dec 2006 18:19 GMT | 1 |
Can someone explain how DataGridView.CellPainting event and DataGridViewCell.Paint are related? I've read how to add an event handler method to a Form class, which will allow some customization of the appearance of individual DataGridView cells.
|
| TreeView | 11 Dec 2006 09:47 GMT | 4 |
I am using a TreeView control and have found a flickering problem that occur in some situations. If the node is expanded using Expand() the node expanding will flicker. If the node is expanded using Toggle() the entire control will flicker.
|
| Idle input in Combobox? | 11 Dec 2006 04:32 GMT | 1 |
Is there a way to determine when there is idle input in the textbox portion of a Combo control? The TextChanged event will tell me when the text portion is changed; I want to know when the user has finished typing. thanks,
|
| Question about ListViewItem and ListViewSubItem | 10 Dec 2006 21:10 GMT | 1 |
In a ListView with ID = myListView I use in a C# Windows project, I have two columns, and about a dozen rows, i.e., members of the ListViews Items collection.
|
| ComboBox bug?? | 10 Dec 2006 18:59 GMT | 1 |
I dropped a ComboBox on a WinForm. I then set FormattingEnabled to true and the FormatString for Currency in the Designer. I then added a couple of numeric items to the Items Collection in the Designer: 3333
|