|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows Formsmicrosoft.public.dotnet.framework.windowsforms
MDI Children - Access Controls
Brian P. Hammer -
2 Jul 2005 8:47 PM - 3 messages
I have a MDI Children and want to access, lets say a label. I have seen in other posts: DirectCast(????, ????).MyLabel = "Label Text" If MDIMain is the MDI and FormA is the MDI Child, how can I make it work? ...
Newbie question (user data storage)
Vlad -
2 Jul 2005 6:51 PM - 3 messages
Hi all. Spent 4 years in asp.net, have never used System.Windows.Forms.Form class before. Now I need to create a simple winform that will use some web service to get/send user info. Sorry if the question looks dummy :) ...
Trouble eliminating flicker
grumfish -
2 Jul 2005 6:29 PM - 2 messages
I'm trying to write a simple Windows Forms based clock. Right now if flickers pretty badly when updated both from the timer and resizing. I thought the way I buffered the image before blitting would eliminate it but it does not. What am I doing wrong? ...
reading barcodes with a wedge scanner
Leon -
2 Jul 2005 6:07 PM - 5 messages
I am trying to come up with a way to read a barcode using a wedge scanner, drop the value into a text field and then fire an enter event for the textbox. There is very little information to be found about doing any of this expecially for c# programmers. ...
control.HasFocus()?
Rica -
2 Jul 2005 11:35 AM - 6 messages
Is there a way to check if a specified control have focus beside handling LostFocus/GotFocus events ? I'm pretty sure there was in prev version of VB something like control.HaveFocus() ... ...
Capture a Cancel Event
joelcochran@gmail.com -
1 Jul 2005 10:13 PM - 3 messages
I have an application that executes SQL queries against a database. When the user presses "Execute", I change the cursor to "Wait" while the query executes and back to "Default" when it is complete. Occasionally, a user will realize the query was mistaken and wants to ...
OK to use FolderBrowserDialog ?
Kevin R -
1 Jul 2005 6:04 PM - 5 messages
Hi All. Reading the help file for FileBrowserDialog class, It says in red letters at the top of the page Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework. Does this mean it is not supported in versions prior to V1.1, or does ...
Create custom TaskBar
john conwell -
1 Jul 2005 6:01 PM - 3 messages
What I'd like to do is create my own custom task bar, very similar to the one that holds the Start button, quick launch bar, and the system tray. Basically i need a window that i can put whatever i want in, but other ...
form cancel validation behavior
Brad -
1 Jul 2005 5:23 PM - 2 messages
I've got a form with OK/Cancel buttons and a control box "X" button. Cancel is fully wired with DialogResult and all that jazz. There is a textbox on the form with a Validating event. The Cancel button has CausesValidation = false. ...
collision detection
cmrchs@yahoo.com -
1 Jul 2005 3:46 PM - 3 messages
Hi, I'm writing a graphical program in which I let shapes (rectangles, regions, ...) move around. how can I detect if two shapes 'collide' ? thanks Chris ********************************************************************** Sent via Fuzzy Software @ [link] Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources... ...
Clipboard Persistence
Scott W -
1 Jul 2005 2:25 PM - 3 messages
We are adding clipboard support for an exception handler we use, so users can paste the information about the exception into an email or document. I am using the following method: Clipboard.SetDataObject(sb.ToString()); (after building the stringbuilder of ...
How to enable theming for a single control on a form/usercontrol?
Özden Irmak -
1 Jul 2005 2:14 PM - 2 messages
Hi, Does anybody know a way to enable theming for just a single .Net control (In my sample it is a scrollbar), not the whole application, on a form/usercontrol using UXTheme API? I hope that this can be possible as I can see that system controls (such as ...
Custom ComboBox DataGridColumn: on Tab combo gains then loses focu
jlavallet -
1 Jul 2005 1:46 PM - 5 messages
Hello, I have a custom DataGridColumn that displays an editable ComboBox instead of a TextBox when the control is edited. Everything id working great except for one thing: when the focus is in the column to the left of my custom column and the Tab key is pressed, my control ...
Problem with Status Strip in VS2005b2
Smoke -
1 Jul 2005 3:37 AM - 2 messages
Im testing the new June CTP release of VS2005 and each time i try to use the Status Strip or Tool Strip control at design time i get and object reference not set to an instance of an object error, no matter where or when i added the item on the form. ...
How do I control the number of same MDI Child Form?
Rich -
30 Jun 2005 11:37 PM - 4 messages
Hello, I have not been able to find any reference on the great www on how to control the number of same MDI Child Forms. Basically i want to prevent my users from opening more than one copy of the same child form in certain ...
Zero-Deployment issue: winform app cannot read the .config file
Norton -
30 Jun 2005 9:55 PM - 4 messages
I have a trivial winform application that I try to launch from web browser. It appears that it fails to execute the following code: _currentConfig = (CityLightsConfigSettings)ConfigurationSettings.GetConfig( CityLightsConfigSection ); This is a standard call that is used when one needs to acces config section ...
How to know if multiple objects in ICustomTypeDescriptor implementation
Michael Kairys -
30 Jun 2005 9:46 PM - 3 messages
I want to customize the action of the property grid on a particular class so that some properties are not displayed if multiple objects are selected - i.e. if I used PropertyGrid.SelectedObjects instead of SelectedObject. I see that the Forms Designer does this; for example if you select two ...
Windows form as thread
MS -
30 Jun 2005 9:38 PM - 2 messages
Hello, I'm using a windows form as a thread and I have no idea about how to acces my form methods after having started the thread. Actually it's a kind of progress form wich I have to set the progress value. ...
Dialog & top-level forms
Michael Wong -
30 Jun 2005 9:11 PM - 3 messages
Hi there, I have an application which creates several top-level forms (single threaded application). When creating a dialog (with ShowDialog()) on one of them, all other forms get freezed, which is not the wanted behaviour. Only the form creating the dialog should get freezed. ...
MDI Children on their own thread?
Kenneth Davis -
30 Jun 2005 7:47 PM - 2 messages
Okay, I have several Forms. I call a factory method which creates a new thread, and in the threadstart I create a new Form (newForm) and call "Application.Run(newForm)". This works fine. However, assigning the form to ...
Can you cancel the click of a checkbox?
Byron -
30 Jun 2005 2:11 PM - 8 messages
I want to be able to intercept the click of a checkbox to cancel a change in its checked state under certain conditions to prevent the execution of code attached to the CheckedChanged event. So when someone clicks on the checkbox ...
Asynch WebRequest & WinForms
rmx -
30 Jun 2005 12:12 PM - 3 messages
I'm working on a proxyScanner library which measure time of response of a group of http proxies parallelly . I use WebRequest.BeginGetResponse method for asynch operation. For console application everything is ok. The problem appears in Windows Forms application. ...
tab pages in IDE
vbtrying -
29 Jun 2005 7:05 PM - 10 messages
I have a form, with 1 tabcontrol on it. It has 3 tab pages. I cant select a tab page from within the IDE and place controls on it. I used to be able to do this. Any ideas? ...
Control.Handle, is this a bug ?
RichS -
29 Jun 2005 4:19 PM - 3 messages
Hi, [ Using C# in .Net 1.1 ]. I've been struggling with a "hang" in my application all day and I think I have just worked out why the problem occurs. Please read through and see if u think this is a bug. ...
Problem restoring Form size on launch.
jlavallet -
29 Jun 2005 3:35 PM - 8 messages
Hi, I'm saving the bounds of my Form in the Registry in my Form's closing event and restoring the bounds when my app is launched. Everything works well except the persisted Height increases by 20 each run of my app. No other ...
GdipCreateHBITMAPFromBitmap + PixelFormat32bppARGB
Jonathan Gilbert -
29 Jun 2005 2:40 PM - 16 messages
The GDI+ function GdipCreateHBITMAPFromBitmap seems to be broken. When given an image with an alpha channel, it produces an HBITMAP with its colours oddly skewed. Only translucent pixels are skewed. This is evident, for instance, when adding 32-bit RGBA System.Drawing.Bitmap objects to ...
ListView_Problem_/Mystery.
Steph. -
29 Jun 2005 11:29 AM - 4 messages
Hi ! I use a ListView in a form to display Data from an SQL db. My problem is that I can fill the listview in less than a second when I show the form AFTER filling the listview, but I take 35 seconds if I show the form BEFORE filling the listview !!! ...
TreeView with XP themes error
JB -
29 Jun 2005 11:03 AM - 4 messages
When I enable XP themes using EnableVisualStyles(), the treeview control on my form displays an old style 3D scrollbar when the form loads if items are added to the treeview at design time. Does anybody know a workaround? Regards JB ...
Pencil icon in the datagrid
Slawek Piotrowski -
29 Jun 2005 10:21 AM - 3 messages
Hello, As soon as user starts edit in datagrid the pencil icon is shown on left side of the datagrid. If user clicks on the pencil it is hidden again. Is it possible to save modified data back to the database when user clicks ...
Form TopMost property even appears over windows taskbar
JezB -
29 Jun 2005 10:15 AM - 2 messages
The TopMost property of a form shows it even over the top of the windows task bar. Is there any way to show a form window on top of all other windows but NOT the taskbar ? I'm trying to slide a small window up from under the ...
Manually adding usercontrol to panel on form
tonny.steen -
29 Jun 2005 8:02 AM - 2 messages
I wonder if there is a way to have a flicker free initial paint of a usercontrol on a panel (on a form) when done manually. My usercontrol with many controls is first painted in its origional size, then resized ...
All MDI forms repaint when one is resized
David -
28 Jun 2005 9:47 PM - 5 messages
I have been experimenting with the Scribble sample (both in C# and C++/CLI). I create two or more child documents/windows and scribble different stuff in them. Even if the child windows do not overlap at all (within the MDI parent ...
Search combobox attaced to datagrid
MS -
28 Jun 2005 7:34 PM - 3 messages
Hi, I used class provided at SysncFusion to add comboBox control to DataGrid. The comboBox works fine in Datagrid. Is there any way to perform search by typing in combox. What I am looking for if a user types in letter in ...
Dialog ghost left on window
Developer -
28 Jun 2005 4:51 PM - 4 messages
Hello, I have a Systems.Windows.Forms.Form-based window. When I bring up a dialog to modify the window's view and click OK, the dialog goes away, except the part of the dialog that overlaps the window remains visible until the window ...
Editing hyperlinks in RichTextBox Control in C#.NET
acconrad -
28 Jun 2005 4:17 PM - 4 messages
We're trying to make it such that you can change the color for hyperlinks in RichTextBox controls. Currently VS.NET '03 does not allow one to do this. We tried this --> [link] ...
Inherited Menus and Modifiers
Buzz -
28 Jun 2005 4:07 PM - 7 messages
I am using VB.NET Before I chase this ellusive bug, I want to confirm it is not a framework issue. I have a base form with a Menu. I have set the menu and each of its menu items to have Modifiers of Protected Friend. ...
GridView Exception: reentrant call to the SetCurrentCellAddressCore function
Martin B -
28 Jun 2005 3:23 PM - 3 messages
Hallo to everyone! Problem: -------- GridView Exception: reentrant call to the SetCurrentCellAddressCore function System: ------- WinXP Professional, english, .NET Framework 2.0 Beta Language C# Simplified Architecture of my Porgram: 2 Forms: -------- - MainForm - DetailForm 2 Threads: ---------- - Main Thread which runs the MainForm //Application.Run(MainForm) ...
Screen.PrimaryScreen.WorkingArea question
JezB -
28 Jun 2005 11:12 AM - 4 messages
Screen.PrimaryScreen.WorkingArea.Height gets the height of the display excluding the taskbar. However, if your windows taskbar is set to auto-hide, this taskbar height is NOT excluded. How can I check for this so that I can position a window correctly so that the taskbar will not hide part of it ? ...
Obstruct the Developpers to Develop and Deploy a newer version
DraguVaso -
28 Jun 2005 10:35 AM - 7 messages
Hi, I have a, maybe strange looking, question: Is there any way to obstruct developpers to Develop and or Deploy a newer version of a VB.NET-application? Things should happen like this: - Developpers develop the application - The application is tested, and audited for the final release ...
MouseWheel
Adi -
28 Jun 2005 6:48 AM - 3 messages
I want to use MouseWheel to on the panel but I am only able to use the MouseWheel Event on the mail form. On the child controls the main from mouseWheel event works but not their own. What should I do? ...
GDI+ Bitmap drawing vs GDI+ PrintDocument drawing
jlavallet -
27 Jun 2005 10:56 PM - 2 messages
Hi I'm trying to get WYSIWYG print output by exposing the painting method of a custom control I've written and everything is just a bit off. Here's what I've done. I have a method on my custom control (a Panel that I ...
RichTextBox auto scroll to end
Bin Xing -
27 Jun 2005 10:29 PM - 5 messages
I'm currently programming a form application in VC++.NET managed code. There is a RichTextBox and some other controllers on a form. When user is working on other controllers, like mouse up/down on a picture controller to draw a ...
Data design question
Massimo -
27 Jun 2005 9:48 PM - 3 messages
I have a Windows Forms applications with a SQL Server back-end. There is a main form which shows a list of selected columns from a table (all rows are to be shown), and a dialog form which opens a detailed view of ...
Dynamic Context Menu Items
www.dir -
27 Jun 2005 4:11 PM - 6 messages
Hi, I am adding dynamically context menu items like this: MenuItem newStudent = new MenuItem( student.Name ); newStudent .Click += new System.EventHandler( this.StudentClicked ); And my method : void StudentClicked ( object sender, System.EventArgs e ) { } And It is working just fine. The problem is that I have only one method executed for every student ...
Embed Word into WinForm application - How?
Anton -
27 Jun 2005 4:07 PM - 4 messages
What is the official (ms) way to embed word/excel into a winform application so that the document is editable with word toolbars displayed? ActiveDocumentHost has been droped from 2.0 (not in VS2.0 beta 2) Is it true that MS can't devise a way for word/excel to be used in a .net ...
No text on MsgBox
LosPablo -
27 Jun 2005 11:57 AM - 6 messages
Hello, I'm working on hardware configured as bellow: - Microsoft Windows XP; - Microsoft Visual Studio .NET 2003; - Microsoft .NET Framework 1.1; - Microsoft Office 2000. In Visual Basic.NET when i try to use MsgBox there is no message on the ...
Menu Events
RbanBph -
27 Jun 2005 4:45 AM - 4 messages
HI, I have created a Menu control Using groupbox and buttons(VB.NET) where buttons acts as the Menuitems. I want to change the backcolor of the button on which the mouse is moving. ...
Passing a constructor parameter with Activator.CreateInstance
jmhmaine -
26 Jun 2005 11:08 PM - 6 messages
I'm having a problem passing a constructor parameter with Activator.CreateInstance. Details: I have a form that I'm trying to create from a shared function that uses the Activator.CreateInstance. The constructor code for the form: Public Sub New(ByVal SearchID As String) ...
Storing Objects at the Application Level
jmhmaine -
26 Jun 2005 10:27 PM - 3 messages
My background is in web development using ASP.NET. When I program with ASP.NET I have both Application and Session objects available to store objects. Is there an equivalent in WindowsForms? Currently my solution is to create a private shared collection and use two ...
AutoScaleDimensions Property
thomasp -
26 Jun 2005 5:26 PM - 3 messages
I started a project in VB.NET 2003 and moved it to VB 2005 EE. I got all the errors and warning worked out except this: Warning 1 'Public Overridable Property AutoScaleBaseSize() As ...
Rich Text Box - Copy Function
thomasp -
26 Jun 2005 5:26 PM - 3 messages
Is it possible to set a rich textbox where the user can highlight and copy its contents but not be able to modify its contents? Thanks Thomas ...
Inserting Text with Formatting
Craig -
26 Jun 2005 2:11 AM - 3 messages
Hi I need to enter text into a RichTextBox control in code, is there a way to ensure that the text I'm about to insert is inserted with a particular font style? The newly inserted text should not affect the text or font style of ...
|
|||||||||||||||||||||||