custom listbox with tool tip for list for items
how to create a custom control with list box,so that the when the mouse move above the list box items it shows the tooltip containing list box items. ...
how to create a custom control with list box,so that the when the mouse move above the list box items it shows the tooltip containing list box items. ...
I have a customn control which display a window with another custom control inside. The developper can redefine the control template, it works but I don't find a way to allow developper to redefine the template of control inside the window that the custom control display... ...
I was using the following xaml in wpf: <Style TargetType="{x:Type Border}"> <Setter Property="BitmapEffect"> <Setter.Value> <BitmapEffectGroup> <DropShadowBitmapEffect ShadowDepth="1"/> </BitmapEffectGroup> </Setter.Value> </Setter> </Style> When I discovered that DropShadowBitmapEffect is now deprecated in favour of Dro...
When I resize my aspx page hosting the silverlight app, I lose state on all silverlight controls. How do I maintain state on silverlight controls? ...
Hi ! I have a design question: If you had to make a WPF Combobox with search support, (= combobox that shows a popup with some Buttons, Search TextBox, List.. etc the selected item feed to the default's ComboBox TextBox.) What would you do? Write a custom control (diretly inheriting from System.Windows.Control) Write a custom control ...
Is there a way to make input "pass through" a child window and reach its parent? My problem is this: I'm making custom control with a label that can be formatted. So, rather than trying to re-invent the wheel, I added a RichTextEdit control and applied the WS_EX_TRANSPARENT extended window style. It looks like what I want, but there are ...
Hi! Iam facing such problem, which I find hard to overcome. In WinForms I got a TabControl with n TabPages. I want to extend the Ctrl+Tab / Ctrl+Shift+Tab switching. so I wrote some code which works fine as long as the focus is on TabControl or on the Form. When application focus is INSIDE of TabPage (for example on a button which is pla...
I have the following code in my worker thread (ImageListView below is derived from Control): if (mImageListView != null && mImageListView.IsHandleCreated && !mImageListView.IsDisposed) { if (mImageListView.InvokeRequired) mImageListView.Invoke( new RefreshDelegateInternal(mImageListView.RefreshInternal))...
I'm writing a simple textviewer for the famous .nfo files. For easy layout stuff I'm using the webbrowser control to display the nfo file. I have font - nonstandard ofcourse - that I'd like to use. What's the best way to include / link the font in my application ? Do I have to include it in my application-folder and register it, or is t...
This code seems to smell: result = None for item in list: if result is None: result = item.foo(args) else: if ClassFred.objects.get(arg1=result) < ClassFred.objects.get(arg1=item.foo(args)): result = item.foo(args) The smelliest part is the utility of 'result'. Would anyone be kind enough sniff it f...
Hi, I am editing custom control in control editor of Visual Studio 2008 My custom control has datagrid view on the left and buttons on the right. I want my control when resized to keep button size constant always and keep them aligned to right border and only my datagrid control to be resized so that horizontal distances between borders...
How is the Application button and quick access toolbar placement accomplished? ...
Well, my problem is as follows: I have a Delphi 5 application that I'm essentially porting to Delphi 2010 (replacing old components with their latest versions, fixing the inevitable Ansi/Unicode string issues, etc.) and I've run into kind of a hitch. Upon creation of one of our forms, an access violation happens. After looking it over,...
Hello, Is there a way to select the control points automatically in Matlab instead of manually selecting them by cpselect? Thank you very much. ...
Hello, I am trying to ignore zero values in my Chart but when a value is NULL the marker always jumps to 0 in the Y-Axis. How can I exclude zero values, so there will be no marker for that value? Is that even possible? Im writing in VB. ...
Hi, i created a usercontrol that have public event named "DialogClosed". this usercontrol also have a button. i programmed it that when the user clicks on the button, the background code fires the "DialogClosed" event. The problem is that after the user clicked on the button, it caused to postback, which created a new instance of my ...
I'm trying to replace a control as soon as it's added to my panel derived class in the gui editor. But this simple code doesn't seem to work and the control is not replaced. Any ideas? protected override void OnControlAdded(System.Windows.Forms.ControlEventArgs e) { base.OnControlAdded(e); e.Control.Location = new Sy...
I'm just getting my feet wet in Silverlight, and don't really understand the differences and pros/cons of creating a UserControl vs. creating a Control for the same task (as in when you right click on a selection in Expression Blend, for instance). It seems like selecting "Make Into Control" just creates a new template for the base type...
Hello, I have this bash file, which asks for IP, password, etc. for OpenSSH to a device. Now, if i use ssh root@ip, i have to enter the password. This is really irritating. Secondly; i cannot let my script send commands to it. This is what i want-> Not the password thing; i already found something; but it tells me the commands are n...
Hi all, I need to implement animation in Microsoft chart control like in this link. Is it possible to implement this? If yes then how to implement? Please help. Thanks in advance. ...