Home All Groups Group Topic Archive Search About

Windows Forms

microsoft.public.dotnet.framework.windowsforms
Score XML editor component
Anders K. Jacobsen [DK] - 27 Nov 2004 7:46 PM - 3 messages
Hi Im planning to develope a open source editor for editing some special xml files. I guess its quite a task (read time-consuming) to develope my own xml editor from scratch. I need tag highligtning, endtag autocomplete and just ...
Score Convert ascii code to string
Daniel Passwater via DotNetMonster.com - 27 Nov 2004 6:44 PM - 3 messages
I am working on an app that is receiving hex numerical values via serial connection. I am now to the point that I have converted each byte into its ascii code value. Could comeone please tell me how to convert 48 to 0, 49 to 1, etc? I need to display this in a textbox. ...
Score Which Group for Webforms
Jeff Gaines - 27 Nov 2004 3:48 PM - 3 messages
Can anybody tell me which is the most appropriate news group for questions on Webforms rather than Windowsforms? Many thanks. ...
Score DataBind DBNull Image
Jeronimo Bertran - 27 Nov 2004 12:13 AM - 4 messages
I am using forms databinding to show an image in the database in a pictureBox.  To do this I am handling the Format event to convert the byte [] to a bitmap: Binding bind = new System.Windows.Forms.Binding("Image", this.dataSet1, ...
Score Data Find Row and Databinding
Jeronimo Bertran - 26 Nov 2004 11:13 PM - 3 messages
I have create a form that is databound to a dataset.   I am able to move through the dataset by using the BindingManagerBase.Position.  However, I need to be able to jump to a specific row in my dataset.   I am finding the ...
Score Selecting ListView item with Windows Message
Koala - 26 Nov 2004 4:40 PM - 3 messages
Hi, I'm trying to select all listView items with SendMessage API function and LVM_SETITEMSTATE windows message .... hWnd = listView.handle; index = -1; .... LVITEM lvItem = new LVITEM(); lvItem.mask = LVIF_STATE; lvItem.stateMask = LVIS_SELECTED; lvItem.state = LVIS_SELECTED; IntPtr pointer = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(LVITEM))); ...
Score [SURVEY] Windows Forms developer feedback wanted
Ingo Muschenetz - 26 Nov 2004 1:29 PM - 3 messages
Hello, We want to learn about your interest in building windows applications using declarative or markup-based programming techniques. Microsoft will enable some of these technologies as part of Longhorn/Avalon, but is less focused on bringing these new ideas to Windows Forms ...
Score CheckListBox on a TabControl... wierd behaviour
dev guy - 26 Nov 2004 12:29 PM - 6 messages
hi I have a tabcontrol with few pages. 2 of the tab pages have one checklistbox each, when I flip through the tab pages, the checkboxlist loses the check states. I thought, the tab control may not be painting them properly. but that is ...
Score Datagrid doesn't reflect changes in datasource
René Titulaer - 26 Nov 2004 10:45 AM - 3 messages
Dear all, when I fill my dataset the datagrid doesn't reflect these changes. Here's the scenario - add new form - add datagrid to form - add dataset to form - bind datagrid to dataset (using datagrid properties) - next code is generated in InitializeComponent() -> dataset is created, ...
Score DataGrid with auto live update?
jason - 26 Nov 2004 6:02 AM - 2 messages
Hi all, Working with dataset and datagrid in disconnected mode may improve scalability. However, this means that multi clients instances are viewing 'out of date' local copies if changes were made by someone else to back end database. In situation where I need a datagrid to auto refresh, synchronize to ...
Score XML and the Dataset
Daren Hawes - 26 Nov 2004 1:51 AM - 3 messages
Hi I have a XML File and a Dataset <?xml version="1.0" standalone="yes"?> <Tank xmlns="http://www.tempuri.org/Tank.xsd">   <Tank>     <TankName>Tank One</TankName> ...
Score Detecting Dialogs from other application
Randall Campbell - 26 Nov 2004 1:23 AM - 3 messages
I have some C# code that runs via the VSAEngine under a host program. There is a situation where the host program will display a dialog that will stop execution of my code. There is no API available to me to prevent this. ...
Score Custom double buffer
Kuba Florczyk - 26 Nov 2004 1:02 AM - 2 messages
Hi I've got some problem doing double buffer. Here is my problem: I've got custom control on which i paint some data (chat messages, lets call it ChatControl), this control is puted on a scrollable panel. Of course i've set right styles on a ChatControl: ...
Score How to FTP via VPN to sites with real adresses on different IP's ?
Jason Robertson - 26 Nov 2004 12:28 AM - 5 messages
Hi, I am using Windows 2003 Server. The VPN works fine, but I want to FTP through the VPN so the connection is encrypted.  The problem is each of my IIS sites has a real Internet address specified, w.x.y.z.  So when the VPN ...
Score ClearType locally
cloabell - 25 Nov 2004 11:34 PM - 1 message
I would like to provide the option to enable ClearType in a RichTextBox, even when the system-wide setting is disabled. No matter what I do, my RTF box always repaints its text according to the system settings. What can I do? ...
Score Drag and Drop Message from outlook
martinwlarsen@hotmail.com - 25 Nov 2004 9:33 PM - 3 messages
I have made a little app that accepts drag and drop from all sources but when I drop a Outlook Email the FileContents is always null. Is there any Microsoft documentation on how to correctly access the .msg using drag and drop from outlook? ...
Score Forms jerking when being dragged
daft geezer - 25 Nov 2004 7:42 PM - 1 message
I'm writing a smart client application using VB.NET for which some MDI child forms I have jerk significantly when being dragged around the screen while others glide smoothly. I've no idea what causes the difference in behaviour. What should I look for? ...
Score Toolbar buttons have blue line at bottom edge of images
Charles Goehring - 25 Nov 2004 4:38 PM - 4 messages
Windows Forms App Gurus, I have a toolbar on a form.  Some of the buttons have images on them. Buttons with images have a blue line that is like a focus indicator at the bottom edge of the image (all toolbarbuttons with images have this). ...
Score PLEASE HELP - Using URL with EventLog
Shads - 25 Nov 2004 3:55 PM - 2 messages
I'm trying to write a url as a hyperlink in the Eventlog, does anyone know if this is possible ?? I have found the following site that confirms this can be done, but he doesn't say how !!! [link] ...
Score XP style dll
Marcin Waligora - 25 Nov 2004 2:37 PM - 1 message
Hi all, I was wondering how one can make a dll to have a windows XP style. Main application has it (via .mainfest file), but mine dll don't (even though I use it in this application). Is there something I should add to it, so that ...
Score problem in calling winapi that use pointer to struct from c#
amit bharadwaj - 25 Nov 2004 1:35 PM - 3 messages
hi am using panel with autoscroll , now i want to call window api BOOL GetScrollInfo(HWND hwnd, int fnBar, LPSCROLLINFO lpsi)); now am doing like tht unsafe public static extern bool GetScrollInfo(uint hwnd,uint SB_HORZ, SCROLLINFO* si ); but it causes a problem in lasst parameter , pls help ...
Score Trap KeyDown in MDI form for all children win
mttc - 25 Nov 2004 11:46 AM - 1 message
I need to trap F1 key in MDI form for all child windows F1 Key is can trapped only by KeyUp event. so i cannot use with menu shortcut for F1 have simple way to do that, or I must use with: ...
Score PLEASE HELP: URL as a hyperlink in Eventlog
Shads - 25 Nov 2004 9:10 AM - 1 message
I'm trying to write a url as a hyperlink in the Eventlog, does anyone know if this is possible ?? I have found the following site that confirms this can be done, but he doesn't say how !!! [link] ...
Score My User Controls Tab disappeared
awiklund - 25 Nov 2004 8:57 AM - 2 messages
Hello, I have seen alot of issues regarding controls not appearing in the "My User Controls" tab. My problem is that this tab is not shown at all. My colleuges got this tab when installing VS, but I did not. I have ...
Score Table Control
Ryu - 25 Nov 2004 8:55 AM - 2 messages
Is there a table control i can use in Windows Form? ...
Score How to trap F5 in Windows Forms?
Ryu - 25 Nov 2004 7:41 AM - 2 messages
Hi All, I have created a simple form that displays a simple message. But the message cant seem to be displayed? Any reason why? Below is my code. private void Form1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) {     if(e.KeyCode == Keys.F5) ...
Score Do you always call your UI on the right thread?
Dmitriy Zaslavskiy - 25 Nov 2004 5:22 AM - 1 message
Well, there is an easy way to find out: I uploaded an app (profiler style) that checks all your calls to ensure that control derived objects are never called from a thread that did not create them. [link] ...
Score Re: ToolBar help
Paul Wardle - 24 Nov 2004 6:35 PM - 1 message
Not tried this, but try creating two toolbars, both placed on a panel that is docked to the top of your form. Make the left toolbar anchored Left-Top-Right, the right toolbar anchored Top-Right. Set the AutoSize property on the right toolbar to true. ...
Score Create custom Windows Forms controls
Matthew Kehrer - 24 Nov 2004 6:07 PM - 2 messages
Hello, I know how to program with the .NET Framework, but I don't know how to program custom controls. This is really the only thing I don't know how to do. A link to a tutorial or a "how-to" is requested. ...
Score Microsoft Office XP Web Components
Emilia - 24 Nov 2004 5:09 PM - 4 messages
Hi, I need to use the Spreadsheet control on my Visual Basic .Net proyect. I have added the reference by doing the following: Project/Add Reference/COM/Microsoft Office XP Web Components It is supposed that the control should appear on my Toolbox, but it does not. ...
Score handling the death of a COM app from .NET
Jiho Han - 24 Nov 2004 5:04 PM - 2 messages
I have a winforms app that creates a COM application(namespace imported through references). I would like to be able to know when the COM application is closed by the user in the .NET app.  The COM app does not fire an event when it's closing - there is no published event. ...
Score URL as a hyperlink in EventLog
Shads - 24 Nov 2004 4:06 PM - 4 messages
Hi, I'm trying to write a url as a hyperlink in the Eventlog, does anyone know if this is possible ?? I have tried the following but this doesn't appear as a hyperlink.  Microsoft have done the same thing with there ...
Score How to use Form.GetChildAtPoint
Jan_Weingärtner - 24 Nov 2004 3:22 PM - 4 messages
Hi. I have placed a panel at location (0,0) on a form. With:     Control ctrl = this.GetChildAtPoint(new Point(50, 50)); i try to find the panel, but ctrl is always null. What is my problem? ...
Score how to set thump position in autoscroll of panel
amit bharadwaj - 24 Nov 2004 2:05 PM - 3 messages
hi all   i am using a panel with autoscroll , now i want to set the thump position myself on clicking scroll-bar buttons or page up or page down buttons . pls help ...
Score DataGrid
da - 24 Nov 2004 1:00 PM - 2 messages
I've spent time searching the MSDN docs and Googling this, but just can't find any decent answers to these questions: 1.  Is there a way to change the text color in a forms DataGrid column? I've seen articles allude to creating a textbox control, setting this in the ...
Score Thread and ShowDialog
Fatih - 24 Nov 2004 12:37 PM - 5 messages
I have a problem about threading when using ShowDialog method. I have 2 forms and first one opens  second one as modal. Form2 (second form) has a progress bar. Any suggesstion. Thanks. HEre is my code... private void Form1_Load(object sender, System.EventArgs e) ...
Score RE: override of TreeView
fuul - 24 Nov 2004 8:55 AM - 1 message
If you ever found a solution for this, could you post it so I can see it? Thanks for the help... fuul ...
Score RE: Follow-up: Custom control not passing properties and events to
fuul - 24 Nov 2004 8:55 AM - 2 messages
I am trying to customize the TreeView Paint method to get the text nodes to wrap instead of causing a horizontal scroll bar. By any chance, could I look at the code that you developed the custom TreeView with? Any help would be ...
Score Locale time
Chakra - 24 Nov 2004 7:37 AM - 2 messages
I have a windows application, where i want to save the date and time of the transaction in the database, after converting it to the datetime of the locale of the server. When the same transaction is displayed back to the ...
Score Security adjustments
Chakra - 24 Nov 2004 7:29 AM - 2 messages
I have a windows application which references some components and 2 webservices. When this application is being used over the intranet, the system asks for Security adjustments. I thought this was only required for situations where we download an assembly - why is it required for accessing ...
Score how to locate the selected item in the datagrid
zbcong - 24 Nov 2004 1:37 AM - 3 messages
hello when a line in the datagrid is selected,how can i know in the program whick line is selected(just like that the listview can return the "selecteditems",but datagrid can't)? thank you!! ...
Score Date Time Picker
Charles A. Lackman - 24 Nov 2004 1:32 AM - 6 messages
Hello, I have a DateTimePicker on my form and I need to make every Even week Red and every Odd week Yellow. Any Suggestions will be greatly appreciated (Detailed help is even more appreciated). Thanks, Chuck ...
Score How to create a RTF file?
BVM - 23 Nov 2004 11:08 PM - 6 messages
Hi, Do you know how to create a RTF file? Do I have to use a third party component? Thanks, Dennis Huang ...
Score application.exit, application.exitthread exit application problem
Mike Silver - 23 Nov 2004 10:39 PM - 3 messages
I have a windows form application. It is accessing a backend SQL server. The data access are wrapped in modules. If the data access failed, I wanted to display a popup error message and then exit the application. I tried to use ...
Score changing bg color of individual datagrid cell
Mad Scientist Jr - 23 Nov 2004 8:28 PM - 2 messages
Can someone post a clear example of how to change the background color of an individual datagrid cell for a Windows desktop app? (preferably in vb.net) I found some code on how to do this when the user clicks on the cell: ...
Score Using WindowState for starting forms minimized problem
Kentonis - 23 Nov 2004 7:19 PM - 3 messages
I have an application with several Form based windows.  I want to be able to start the application minimized, so I have a command line parameter to set WindowState to Minimized.  I set the window state in the OnCreateControl (because if I do it in the ...
Score memory issue.
Alan Zhong - 23 Nov 2004 6:28 PM - 5 messages
we have our users from all 20 or 30 cities in the states, everyone is connecting to our terminal server using thin clients. the application i made is fair complicate and easily eats up 50 mb of ram per user. i assume at least 100 users can connect and user the app ...
Score button validation preventing click
Tim Mackey - 23 Nov 2004 5:56 PM - 4 messages
hi, i know validation is normally not done on a button itself, but i have a good reason to do it in my app. this is not the OK or Cancel button, it's a button to select a file. when the user does this, the filename is inserted ...
Score How to Get the Desktop Window
Josh Ross - 23 Nov 2004 5:35 PM - 2 messages
Private Declare Auto Function GetDesktopWindow Lib "user32.dll" () As IntPtr ...
Score Re: Drawing at highest z-layer???
Josh Ross - 23 Nov 2004 5:29 PM - 1 message
I have a function that takes a handle, location and size and returns an image. So how do I get the obtain the desktop window handle? ...
Score Toolbar appearance at runtime
Thierry - 23 Nov 2004 5:10 PM - 3 messages
Hi all, i've created a toolbar that contains images taken from .ico files (having 16x16, 32x32 and 48x48). How can I: - change the icons size - toggle on/off text for each button at runtime ? For the #1 point, I tried changing ImageList.ImageSize but my icons ...
Score ANN: Bob Powell's Beginners Guide to GDI+
Bob Powell [MVP] - 23 Nov 2004 3:51 PM - 9 messages
Many of you use the GDI+ FAQ or Windows Forms Tips and Tricks site every day. There are also hundreds of people who have mailed me asking for a totally basic beginners guide that assumes minimal knowledge of .NET to get ...
Score RE: MDI app and UIP v2.0
Craig - 23 Nov 2004 3:11 PM - 1 message
You can add a parentForm node to the view configuration and your MDI parent must be a view also. The support is weak but seems to work ok on the simpliest MDI apps with a single task running at a time. You could also look ...
Score Provider Properties + IExtenderProvider
WXS - 23 Nov 2004 2:35 PM - 4 messages
Is there any way to create an extender that provides an event to all controls that I return CanExtends==true for?  It seems I can provide properties, like strings, bools, ints, but not events to other controls. The reason I would like to do this is so I can associate an event with the ...
Score Forms flash
Tim Latham - 23 Nov 2004 2:12 PM - 5 messages
I'm creating forms dynamically and their contained controls programmatically, rather than using the Form editor - using Controls.Add(Control). Some forms created in this way cause the form underneath it to flash (presumably refresh) when another form is closed.  It happens ...
Score Package only the EXE or EXE+DLL's ?
Chakra - 23 Nov 2004 10:45 AM - 3 messages
If i have built a windows forms application which refers to several components (built as class library projects) , should i package just the EXE, or also the DLL's to the user ? Will the CSC embed the DLL's at compile ...
Score Is redistrubatle required on client PC
Chakra - 23 Nov 2004 10:42 AM - 3 messages
Is a copy of the .NET redistrubatable required on each client PC to run a ..NET windows application over LAN ? Regards. ...
Score GDI+ or Direct3D
wansch - 23 Nov 2004 9:17 AM - 3 messages
Hello, I try to write a small controll, where you can move around other controls on a panel with the mouse. The controls can be connected by lines wich are drawn on the panel surface. I have solved this with overriding MouseDown and ...
Score TreeView text nodes wordwrap
fuul - 23 Nov 2004 8:35 AM - 3 messages
I am looking for a way to make the TreeView's nodes wrap instead of forcing horizontal scrolling (or find a custom TreeView control that someone else has already tweaked.) If no one knows where I can find such a version, do you think it is worth a ...
Score Passing dataset inputs to a winforms app
Prashant Kumar via DotNetMonster.com - 23 Nov 2004 8:25 AM - 2 messages
Hi, I need to invoke a winforms app from another app. I do this using the System.Diagonostics.Process class. I need to be passing a dataset as an input to the winforms app. I also need to be returning the dataset back to the calling app after some changes to the dataset are affected in the winforms. ...
Score Validating the cell contents of a datagrid dynamically
Prashant Kumar via DotNetMonster.com - 23 Nov 2004 8:19 AM - 1 message
Hi, I need to validate the contents of a datagrid cell against the datatype of the respective column of the datatable (datasource). The datagrid is allocated the datasource at runtime. So there is no fixed column pattern. For instance, if my datatables first column is of type int, I need to invoke the validation on Currentcellchanged event of the datagrid & check if the modified value of the cell is an int. ...
Score Backslash in datagrid not working
Bj?rn Jansson - 23 Nov 2004 7:24 AM - 2 messages
Hi, I have a databound datagrid. It is bound to an array of custom objects. The object contains a string Property that is editable in the datagrid. It works fine for any charachters, except the backslash character ('\'). When I enter a backslash it seems as if the editbox looses ...
Score the simplest way to move the data between two ListView control
zbcong - 23 Nov 2004 6:15 AM - 2 messages
hello there are two ListViews with the SAME coloumns within one winform,i want to move the data from one ListView into other one,what is the simplest method? thank you!! ...
Score ListView control with Tile View
Etan Bukiet - 23 Nov 2004 4:29 AM - 2 messages
Can someone who has downloaded the 2.0 beta version of .Net tell me if TileView is supported in the listview (since this release is supposed to have more support for windows XP  and its styles this would seem logical). ...
Score Could not close winForm
Ayrton Phoenix da silva - 23 Nov 2004 3:38 AM - 7 messages
Dear all, In my winForm, when user select QUIT, and I will use multi threading to save user information and then close the application.  Sometime it will throw 'Object reference not set to an instance of an object.'  I'm the following ...
Score Binding dataset to datagrid and textboxes
jason - 23 Nov 2004 3:22 AM - 3 messages
hi, I am trying to bind a dataset to datagrid and textboxes (selected columns), when you selected a row in datagrid, the textboxes controls should refresh. thanks. ...
Score Re: Using Scrollbars with User Painted Controls
Paul Wardle - 23 Nov 2004 3:15 AM - 1 message
Try: g.TranslateTransform(this.AutoScrollPosition.X, this.AutoScrollPosition.Y); before painting HTH Paul Wardle ...
Score Need to save rtf summary information, e.g. right-click document, Properties - Summary
Steve - 23 Nov 2004 2:06 AM - 3 messages
Hello,          I am trying to create a windows form using c# to open and edit an rtf file. The problem is that the rtf files that I open and edit have some "Summary" details, like "Title", "Author", "Comments" ...
Score DescriptionAttribute
Serg - 23 Nov 2004 1:53 AM - 4 messages
I don't seem to get description text when hovering over the properties and methods that my control exposes. I use Description[("description txt")] attribute. The description is however showing when viewing Properties and Events in the DevStudio's "Properties" tab. ...
Score Re: Embedding UserControl in Internet Explorer
Peter Bromley - 23 Nov 2004 1:50 AM - 16 messages
Yan-Hong Huang[MSFT] wrote: Well, different things happen when I set ClientSize as opposed to setting Size but I still do not get the size I want. If I have a Usercontrol which knowns its size at construction or even on ...
Score Validation in MDI children toggled
spawner - 22 Nov 2004 10:35 PM - 2 messages
Having an app with several MDI children, a strange behaviour mindboggles me. The following "event-map" shows the behaviour. First I open an MDI, and activates a control with a Validate-event: Form-Enter - Load Control-Enter Then I open another MDI (only events for the first MDI/control is shown): ...
Score System.Timers.Timer elapsing while disabled?
Matthew Creegan - 22 Nov 2004 8:21 PM - 1 message
I have a component with 4 timers.  Each has a separate elapsed handler.  Each also has an associated delegate invoked (from the elapsed handler).  And each delegate has its own callback. In each handler I do the following: ...
Score Detecting DesignMode?
Serg - 22 Nov 2004 6:55 PM - 5 messages
What is the correct way to detect Design Mode when building controls in WinForms? Thank you ...
Score FEC classes needed....
rr - 22 Nov 2004 6:38 PM - 2 messages
Hi does anyone knows if i can find any library or class  for .Net  about  Fec (Forward Error Correction) ? Fec in a math process to recover missing data over a network communication. Need to implement into a communication program. Thanks. ...
Score Practical steps to creating user controls
Joe - 22 Nov 2004 6:14 PM - 3 messages
Hi, I am adding a custom user control to my c# project, but I seem to missing some basic concepts. As I understand it, I create the custom control project, but I have to add this to the tool bar by browsing for the .DLL. ...
Score RE: Disappearing Window in Word Addin
PMVT - 22 Nov 2004 4:05 PM - 2 messages
I am a little pressed for time right now, but I will try to post as soon as I can.  Thanks again for all your help. ...
Score keep a key pressed
news.de.bosch.com - 22 Nov 2004 3:01 PM - 6 messages
Hello, does anybody know a way to keep a key pressed programmatically? TIA Stephan ...
Score How to minimize the complete application into the task bar?
Jan_Weingärtner - 22 Nov 2004 12:16 PM - 3 messages
Hi, how can i minimize the complete application into the task bar? If there is a modal form all windows should be minimized, if the modal form is minimized and after a click on the task bar symbol the previous state of all windows should be restored. ...
Score Looking for a file browser control
crosser - 22 Nov 2004 10:31 AM - 5 messages
Hi, I'm looking for a control which allows me to browse drives/folders for a file. Something like OpenFileDialog but not in a Dialog form but in a Control form (I want to place it on my own form and read path and name of ...
Score excel file
Serg - 22 Nov 2004 7:25 AM - 1 message
use browse file control in WinForms toolbarand select filter property to be of excel file type. this is as straighforward as it can be. open excel file in datagrid? you need to have some type of custom format - excel files contain macros, pictures, embedded objects. How do you plan to ...
Score Windows forms WYSIWYG editor?
Mark - 22 Nov 2004 7:17 AM - 6 messages
Hi all, I usually do ASP.NET but now have to build an windows forms application. I would like to have a WYSIWYG editor but cannot seem to find any for any windows forms. Can anyone recommend a good one? ...
Score Controls question (System.ComponentModel.Design)
Serg - 22 Nov 2004 7:15 AM - 5 messages
Hello - 2 questions: 1. I am writing a control which hosts an IE control (AxWebBrowser). As a result of IE being on my control, the control does not get events such as right click, left click, ect when clicking inside IE. What can I do here? ...
Score Re: IE Hosted UserControls blocked by 3rd Party Tools?
Jeffrey Tan[MSFT] - 22 Nov 2004 6:21 AM - 5 messages
Hi Wells, Thanks for your details explanation! Based on your description, I think the difference between the old account and new account should only be the setting on the system, so there may be some different setting on cookie that is sent. ...
Score Open and save Excel file in C# ????
npqk - 22 Nov 2004 5:33 AM - 3 messages
how can i browse and open excel file, show it in Datagrid, then save into databse (SQLserver) (C#) ??? ...
Score Re: Share one common imagelist amongst many forms
Matt Berther - 22 Nov 2004 3:26 AM - 2 messages
Hello moondaddy, class MyImageLists {     private static ImageList imageList1 = new ImageList();     static MyImageLists()     {         // code to init imageList1        }     public static ImageList ImageList1 { get { return imageList1; } }    ...
Score Control.SetStyle - is calling this method cumulative?
Phil Jones - 22 Nov 2004 1:58 AM - 3 messages
Does calling the Control.SetStyle method repeatedly with different flag values have a cumulative effect?? or does it reset the value to the last flag passed. I'm wanting to call this from different places, potentially at different times, and I'm not sure if I have to pass a bitwise set of flags or not ...
Score Testing an Assembly to see if it implements a give interface
Wayne Wise - 22 Nov 2004 12:11 AM - 4 messages
I have an application that gets all the assemblies in a folder structure.  Once I have that list I want to test each assembly to see if it implements a interface I require.  This is what I currently have using C#: ...
Score A drag and drop problem in Outlook and .Net
BVM - 21 Nov 2004 11:06 PM - 2 messages
Hi: I want to drag a mail item from Outlook and drop it in to a listbox. Then the listbox will display the name of the mail item. However this code string[] files = (string[])e.Data.GetData(DataFormats.FileDrop); gives files=null. So how can I do Drag & Drop with Outlook and .NET? Is this very hard one? ...
Score .Net Style Control
Brian Hammer - 21 Nov 2004 6:56 PM - 3 messages
All - I am looking for the type of control that shows when you mouse over it and then hides when the mouse out.  Like the Toolbox window when you unpush the pushpin.  Know where I can find it? ...
Score Printing Windows Forms
microsoft.public.dotnet.framework.windowsforms - 21 Nov 2004 6:28 PM - 3 messages
I am developing a Windows application (Visual Studio .Net)in which I need to view calculated data on a given Windows Form using the Paint method.  No problem with that, but how to manage printing of the Form's ...
Score Fake PaintEventArgs?
Adrin - 21 Nov 2004 10:45 AM - 1 message
What makes TextBox so different from Button that this happens: class FakeButton : Button {   public void DoFakePaint(PaintEventArgs e)   {      base.OnPaint(e);   } } class UserControlClass : UserControl {   FakeButton fb;   public  UserControlClass()   {      InitializeComponent();//.... standard stuff ...
Score MSN Messenger Forms
yihcheng - 21 Nov 2004 7:57 AM - 3 messages
Hi all, Does anyone know how to do the windows forms like MSN Messenger (from login to enter the messenger) ? Thanks, ...
Score Re: Drag and Drop with custom controls
AlBruAn - 21 Nov 2004 5:33 AM - 1 message
Thanks!  That's it! ...
Next »