| Toolbar (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| In Win32 when creating a toolbar you can specify to load the common system toolbar images via TB LOADIMAGES with IDB STD SMALL COLOR, etc. Are there built in toolbar icons in Windows Forms? Thanks! ....Scott |
|
| combobox e.handled not working (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| If I handle keypressed or keydown for a combobox, and set e.handled true, processing does NOT seem to stop. That is, I can't "cancel" a keystroke headed for a combobox. I have tried this both in a windows form, and by creating a class that inherits from combobox. by the way, it works perfectly for a text box, I can cancel a keystroke if I want, but not for the combobox. Anyone else have any ideas?... |
|
| MSDN Code Center sample is missing. (8 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Was curious to see if anyone knew where I could get the code sample for the "Make Your Components Really RAD With the Microsoft Visual Studio .NET Property Browser" article? (http://msdn.microsoft.com/library/default.asp?url /library/en us/dndotnet/h tml/vsnetpropbrow.asp) The "MSDN Code Center" link at the top of the page for the article points to here "http://msdn.microsoft.com/code/default.asp?... |
|
| Masked Edit Control, a .net native one? (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Does anyone know if we are getting a .NET Mask edit control, or are we stuck using the OCX version. I am working on a component and I would like to descend from the Masked edit box, and therefore cannot to that with an OCX, at least not easily, or am I wrong? Thanks, Cade |
|
| Ayone know how to use HookChildControls (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| In a ControlDesigner class. I'm trying to get a button on a control to be active in design mode so I can do something when it is pressed. This function looks promising but I can't get it to work. Liam |
|
| Combo Box Key Events not firing. (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I am building an AutoSearch/AutoComplete combo box like the VB.6 version I have used many times before. The problem now is that the DropDownList combo style is the only one that fires Key Events (Down, Press, Up). The docs say these events exist for all styles but they are not firing. Anyone have any ideas here. Is this by design?! Oscar Bowyer |
|
| Problems with Petzold book examples-Beta 2 (5 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I'm getting: "The predefined type 'System.Byte' is not defined or imported" errors with the examples on the CD with "Programming Windows with C#" by Charles Petzold. References: System, System.Drawing and System.Windows.Forms are in the solution and "using System" I'm using Beta 2/Win2K. Help on error says "Reinstall .Net" Book's "System Requirements" don't mention restrictions on .Net/VS7 version... |
|
| Passing the control to a form without ending the program (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi guys, I have done my windows application It is compiled in a dll and it is done of only one public class (Application) with many properties/methods, like BackgroundColor, ShowSplashBox(), ShowMainForm(), etc. Then I have a lightweight "starter" exe program that is done only of this few lines of code in a module: Public Module Private m Application As Application Public Sub Main() m Application ... |
|
| Not getting basic properties in auto complete... (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I posted a message a few messages ago about not getting BindingContext as one of the choices after typing "Me." in a form although if I type it manually, everything works fine. Now, I'm noticing that after typing the name of a combobox (cmbField) and a dot (.), I don't get the choice for "SelectedIndex" on the auto completion list. Again, if I type it manually, everything works fine, but since Sel... |
|
| Multiple Documents in MDIs - When an MDI actually contains multi views on a single document (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| You know how MS Access allows you to create multiple views of the same data/database within an MDI (you can view multiple tables/queries within an MDI) into a database with many child forms contained within a single MDI? It's not really an MDI rather, a Multiple View Frame (MVF?) That's what I want to recreate, I see how one creates an MDI and uses the Application.Run method to start the event loo... |
|
| Which Event to Use (8 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I have a very simple form that has one textbox and one label. I need to run some code when the user enters some text into the textbox and presses enter or tab. I can't figure out what event to use to enter my custom code. I tried Leave but that only works if I add another textbox on the form. I tried some others without any luck. Thank you for any help, Cathi |
|
| Supress Beep on Keys.Enter KeyPress? (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I'm sure this is probably a simple thing to do, but I just haven't figured it out yet. In VB6, I was able to supress the beep that occurs when the user presses Keys.Enter (in a TextBox, for example) by setting the KeyAscii value to 0: Private Sub Text1 KeyPress(KeyAscii As Integer) If KeyAscii vbKeyReturn Then KeyAscii 0 End If End Sub How do I supress the beep in VB.Net? |
|
| Read-Only ComboBox (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Is it possible to make a ComboBox read only? I've look everywhere for this! I would think it would have a ReadOnly property like a RichTextBox and other controls. Randy |
|
| Event Bubbling in Windows Forms? (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I have a composite control which contains a bunch of other controls that I want the user to be able to drag around with the mouse. In the sub controls I handle OnClick so the user can select what control to move. In my composite control I handle MouseDown, MouseMove, and MouseUp to implement the actual dragging operation. This kinda works, but there's a problem. If the user starts the drag operati... |
|
| Referencing controls by string name (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I have several controls on a form lbl1, lbl2, lbl3, btn1, btn2, btn3 etc. The 1's are all associated with a thing, the 2's, and so on. I want to use a for loop to reference the controls by name "lbl" nLoopIndex. Is there a way to do this? The Controls array in a form object does seem to allow string indexing as you can do with named collections. The only way I know of to dynamically reference a co... |
|
| Printing a form in visual C# (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| How to programaticaly print a form in visual C#? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
|
| What event to bind for a DataGrid Edit (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I am using a Window Form DataGrid with 3 columns. Each column is using the DataGridTextBoxColumn object to map the data fields to. What event do I bind to so that when the user finishes editing the textboxes, I can execute some custom code? I don't want to execute the code until the user finishes editing a column. I can see that the DataGrid inverts to Edit mode because I see a pencil for an icon ... |
|
| how to reference an image from ImageList by key? (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello, When I insert a ListItem in the ListView, I only can especify the INDEX of the image to use from a ImageList. Can i use a KEY (string) like ImageLists in Visual Basic 6.0? Thank you |
|
| Windows Control in a HTML page (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello, does somebody knows how to insert an WindowsForms UserControl into a HTML page (like an ocx)? Thanks, Jachym |
|
| close modal dialog on leave (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Does anyone know of a way to detect when the user leaves a modal dialog by clicking on another window (in a separate process). I want to close the modal dialog as soon as the user clicks on another window (perhaps in another thread). This is very similar to the UITypeEditors that pop up from the Property Grid. |
|
| Margins in TextBox/ComboBox (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello, Used to be a simple SendMessage call to the EDIT portion of the textbox and/or combobox... But how to do it in .NET C#???? Thanks Stefan de Vogelaere |
|
| HOWTO Cancelling keyevents in ComboBox (8 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello, I'm getting crazy of this. In VB it used to be simple KeyAscii 0... In .NET I haven't find a way to do it. I virtually tried everything but with no success. Any ideas on how to solve. Or better, I just want an AutoComplete combobox style. Thanks Stefan de Vogelaere |
|
| Custom Controls with UITypeEditor (5 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Has anyone used UITypeEditor to create custom controls such as with the PropertyGrid. I would like to find a way to display editors in ComboBoxes like the calendar control using the default .NET editors. |
|
| Flashing a bitmap (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi ! I have to flash an image on a form. Hiding and showing a Picture box is one way, but is not the cleanest way for me since the image has to be flashed in a custom control. I need to paint the image. In the old C days, the last parameter to BitBlt was used to XOR or NOT the image and simply drawing the image on the same place had the effect of flashing the image. How does one do this in a Winfo... |
|
| Working directory. (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Easy question: How can I get the working directory? I thought it was: Directory.getCurrentDirectory() However, I found: "The current directory is distinct from the original directory, which is the one from which the process was started." But no reference to how I get the "original directory" Thanks |
|