control

C#: Is there a way to make the maximum value of a NumericUpDown control unlimited instead of having to specify a specific value in its Maximum property?

C#: Is there a way to make the maximum value of a NumericUpDown control unlimited instead of having to specify a specific value its the Maximum property? ...

Why is DrawString exhibiting unexpected behavior in C# Winforms?

I have subclassed a control in C# WinForms, and am custom drawing text in my OnPaint() handler. The font is set to Courier New using the following code in my form: FontFamily family = new FontFamily("Courier New"); this.myControl.Font = new Font(family, 10); In the control itself, the string is stored in realText, and I use the follow...

How can I make refreshing a control faster?

I have a custom control in C#. I have noticed that calling Refresh is much slower than I would like (about 0.1ms), even when I have an empty RePaint function. Basically, my application processes a grid and, one by one, it refreshes each grid cell. This rather inefficient behavior is by design; when enabled I want to be able to actuall...

Controlling windows services via the web?

Hi, I've been thinking of a piece of software and wondering if it exists ... a quick scout around on google indicates that it doesn't. Here's our problem, we have a bunch of global services that run at various international locations. We need to globally control these services, for example a global bounce (something that occurs every w...

Filling multiple literals with the same value

Hello, I have multiple literals on a page. For example, <asp:Literal id="Label1" runat="server" /> I have around 10 of these on one page and want to fill them all with the same value. Is there a good way to do that without referencing the id for each control? ...

C# Winforms Transparent Control allowing Clickthrough

I have a Winforms control that starts off completely transparent, but then lines are drawn on it for stuff. I want mouse events to completely ignore the control and instead go to the stuff (buttons and all that junk) below. Is there any way to do this? P/Invoking stuff would be fine, by the way. ...

SWT Reduce Flicker for Tab Controls

When I switch tabs in SWT, the content in the tabs flicker. This doesn't happen in my Swing version and is bugging me and my customers. What can I do to reduce this flicker? ...

.NET tooltip control which can be shown anywhere on a screeen

Can someone recommend me a free .NET Windows Forms tooltip control which can be displayed anywhere on the screen (not tied to a particular control). Thank you. ...

Delphi - GridPanel does not adjust at first resize

Hi. I have a problem I am unable to solve even though I spend long time trying to do it. I usually use GridPanels to align controls on forms. It has, however, an annoying bug. When the GridPanel align mode is alClient and I maximize its parent window, the GridPanel adjusts to the new size of that window, however, the controls laying on...

Free Wpf scheduler control

Is there any free scheduler control for WPF? I found ComponentOne and Telerik but they are not free. I need something with equivalent functionality that I can use in school project. ...

How to get data from dynmically created Treeview.

I am using ComponentArt Third party controls for ASP.NET 2.0. Here is the problem i am facing. I created some ComponentArt.Web.UI.TreeView at runtime on Page_Load. Now at click event of a button, i want to get values of the selected nodes in the treeview. Can someone help ....! ...

ASP.NET 2.0 JQuery AJAX Login

I'm trying to figure out how to implement an AJAX login for a ASP.NET 2.0 site with Jquery. I already have a implemented other simple Jquery AJAX application on the site, but I'm unsure how to convert over the standard login control to POST via AJAX. Should I expose the login.aspx page methods? Any help would be great. ...

Creating a custom SSRS control

Is it possible to create a custom third party for Reporting Services? The Dundas chart controls are an example of this however I am unsure if support for these have been internally built into SSRS.. ...

How do I create a SysHeader32 control in C#?

I am in the process of creating a custom control in C# for business process. As a part of it, I need to create what looks like a header on a list view. I've done this in the past using Visual c++ (6.0 :blush:). I have not found a way to do it in C# (2.0). Does anyone have any suggestions or links? Thanks ...

Change checkbox(Activex control) in word 2007

In word 2007, I'm trying to use the default activex control as check box. I would like the color of text changed after some one check the box it. I know how to get it done with VBA and checkbox formfield, but how can this be done with checkbox(active control)? Shortly, is there any way I can retrieve the properties or other object info...

How do I create a custom panel with a checkbox in ASP.NET

I want to create a custom container control in ASP.NET (similar to a Panel) with a check box as a header that disables all contained controls when unchecked. How would I go about doing this? EDIT: To expand on my requirements, I need something like Rob suggested, i.e. a UserControl containing a CheckBox and a content panel. However, ...

c# Winforms: Refreshing a portion of a GUI (containing 1 or more controls)

I have a Control that can overlay multiple C# user controls in my GUI. This control has a semi-transparent background in order to 'grey-out' portions of the GUI and the class looks somethink like this: public greyOutControl: UserControl { // Usual stuff here protected overide OnPaint() { paintBackround(); b...

How to make a Silverlight Custom Control's property data-bindable?

Hello, I have created a custom silverlight control, which consists of two date pickers, and a combobox. I would like to make the combobox data-bindable and I know I need to make use of a DependencyProperty. What I am not sure of is exactly how to build it. Here is the code that I have: #region ItemsSource (DependencyProperty) //...

Override CurrentCulture for Winforms control

Hi, Does one of you know if its possible to override the CurrentCulture and the CurrentUICulture for a specific control in Winforms? So that this one specific controls uses a different culture? tia Martin ...

What does "warning: not all control paths return a value" mean? (C++)

The exact warning I get is warning C4715: 'hand::show' : not all control paths return a value and hand::show is std::ostream& hand::show(std::ostream& os) const { if(side == left) { return os<<display[0]<<display[1]<<display[2]<<display[3]<<display[4]; } if(side == right) { return os<<display[4]<<display...