all groups > dotnet windows forms > march 2005 > threads for friday march 25
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Picturebox
Posted by Some Guy at 3/25/2005 11:36:10 PM
Hi there,
Can anybody give me some pointers on the best way to display an image and
allow zooming and scrolling? I have tried resizing the picturebox with
maintainaspectratio set to true but it has the weird effect of moving the
image off screen, rather than resizing it.
If the image bei... more >>
Failed to add panel error setting ToolTipText
Posted by David Davidson at 3/25/2005 6:57:01 PM
Has anybody ever encountered a "Failed to add panel to native status bar
control" InvalidOperationException when setting the ToolTipText property of a
status bar panel?
I seem to be having this problem in a little app I wrote in VB.Net, but it
seems to be a threading issue. I have a runnin... more >>
Control gets "active" at designtime
Posted by Roger at 3/25/2005 2:23:01 PM
Im building a custom control.
in this control i sometimes add panels dynamically via code.
when i do so , the control gets "active" in the _designer_
meaning if i click it , it doesnt select the control but rather fire mouse
events and such into my dynamically added panels.
Ive also read abo... more >>
Can mulitple controls use a single binding object?
Posted by moondaddy at 3/25/2005 12:29:24 PM
(this is a re-post as I'm now posting via my new msdn alias)
I'm going to create a binding object and bind the format event to a control.
I wanted to be able to re-use the binding object again for other controls,
or do I need to create a new binding object for each contorl? This is a
small ex... more >>
Why is Help.ShowHelp a modal window?
Posted by Ameya at 3/25/2005 10:02:20 AM
If you open help using Help.ShowHelp() call, the window that opens is a modal
window, and always stays on top of your parent window.
I tried opening the "mspaint.chm" from a sample app, and that opened up in a
modal window; however the MS Paint app opens up the same file in a non-modal
win... more >>
list item colour
Posted by Richard Wilde at 3/25/2005 9:42:01 AM
I am trying to change a colour of a listbox item depending on a value in a
data view
My fields in the dataview are
ID
Name
idCat
ListBox1.ValueMember = "ID"
ListBox1.DataSource = dv1
ListBox1.DisplayMember = "Name"
I have set the listbox drawMode to OwnerdrawF... more >>
Reducing memory usage
Posted by Mikko_Nylén at 3/25/2005 12:00:00 AM
Is it somehow possible to reduce memory usage in Windows.Forms applications?
Now when I create a empty form with code
--
namespace FormTest
{
using System.Windows.Forms;
public class Testform
{
[STAThread]
static void Main()
{
Form form = new Form();... more >>
Windows Form DataGrid - Need A Color Border Around Only The Selected Row - Will GDI Be Required
Posted by Richard at 3/25/2005 12:00:00 AM
I have a lot of colors, fonts, etc. to set for rows and possibly columns,
based on the information contained in the row and/or the selected row. A
main one is putting a border around the entire selected row only. The border
one does not seem to be simple thing to do by just setting a property of ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
|