all groups > dotnet windows forms > october 2004 > threads for wednesday october 20
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
Datagrid horizontal scroll
Posted by Dincer Uyav at 10/20/2004 11:39:04 PM
In datagrid I have a invisible column(width=0) in column styles at the first
position, the horizantal scroll bar doesn't respond when you click the arrow
it sends a small increment with the value of 1. Anybody faced this before?
Dincer... more >>
UnsafeNativeMethod Exception
Posted by Ashton at 10/20/2004 9:01:01 PM
At random times in my C# WinForms app in .NET 1.1, I will get the following
stack trace:
System.NullReferenceException: Object reference not set to an instance
of an object.
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr
wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntP... more >>
Can't Add Menu to Inherited MDI Container Form
Posted by Mark Olbert at 10/20/2004 7:51:25 PM
Okay, I give up! Why the futz can't I add a main menu component to an inherited MDI container
form?!? I can drag and drop the mainmenu object onto the design surface, but:
1) the MDI form does not update to show that its menu property should point to the new main menu
object (which it always do... more >>
TreeView refresh and reselect
Posted by Andreas Zita at 10/20/2004 6:33:59 PM
Hi all,
I have a TreeView control which at times is updated (rebuilt) to reflect
changes done by the user. However when this happens the currently selected
node is of course deselected. How do a make a nice and professional solution
that reselects the same node after update? (if it still exist... more >>
How to send events from one windows app to another windows app
Posted by David Elliott at 10/20/2004 4:38:31 PM
I have a context menu program and am wanting to send information from it
to a windows application.
The Windows app has the delegate method defined to catch the event
The Context Menu App is wired to send the event with the exception of
it needs some place to send it to. The OnAddJobEven... more >>
Paging a DataGrid or similar control...?
Posted by MJB at 10/20/2004 4:05:09 PM
I have a windows application that returns 10s of thousands of rows to a
DataGrid (for all intents and purposes you can assume that it's a DataGrid,
I'm actually using the Infragistics UltraWinGrid though). Due to the ever
growing amount of data I want to implement some sort of record paging.... more >>
Big Red X on DataGrid
Posted by marymunteanu NO[at]SPAM hotmail.com at 10/20/2004 1:30:56 PM
I have a datagrid with a boolean column – checkboxes. When the user
checks the checkboxes, the datagrid redraws with a big Red X in the
middle. This is happening only on a single computer (user), and I have
tried to reproduce the problem many times on my computer without
success. Any idea?... more >>
Smooth scrolling image or picturebox
Posted by Paul Loveless at 10/20/2004 10:56:51 AM
Hi all. I have a user control that contains a picturebox within a panel with
the panel set to autoscroll the picturebox. One thing that I have noticed
with the default functionality is when you click and drag the scroll box
(thumb track) the picturebox does not scroll until you release it. Is the... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Why does Button.ForeColor change button's border ?
Posted by Jeff at 10/20/2004 10:28:58 AM
Hello,
Surely I'm missing something obvious.
How do you change a button's text color without causing a change to the
button's border?
The following line of code causes the button to be drawn with a yellow
border:
btnTest.ForeColor = Color.Yellow;
Thanks, Jeff
... more >>
DataGrid - Background colours?
Posted by Chris Ashley at 10/20/2004 9:48:34 AM
I want to enumerate the cells in my datagrid and specify different
background colours for each cell depending on its contents. Is this
possible? There are no properties for DataGrid.Item(Index, Index)...
... more >>
UserControl behaviour at author-time design-time and run-time
Posted by Ian Taite at 10/20/2004 7:13:05 AM
Hi all,
Can a user control be written in such a way that it can behave differently
depending on whether it is being authored, being used on a form in VS2003 and
being used at runtime? If so, how does it tell the difference between these
environments?
I am developing a user control based ... more >>
Missing scroll bars on datagrid
Posted by Dick at 10/20/2004 6:13:02 AM
I have a form.
It has a datagrid which is disabled.
It has a button which enables the datagrid.
It has a dataadapter and a connection object and they are configured to get
some data.
It has a dataset with the code necessary to fill it using the dataadapter
and to bind the first table it to t... more >>
How do I set the of the datagrid horizontal scroolbar position?
Posted by Henrik Nordgren at 10/20/2004 4:45:08 AM
I want the horizontal scrollbar location to be altered during runtime.
I have read msdn, and the scroolbar property of the datagrid is readonly, so
there seems to be no apparent way to simply set it.
My next guess was to override the HorizScrollbar property and play wiht the
datagrid cont... more >>
Winform becomes unresponsive
Posted by gavinj NO[at]SPAM sol-tec.com at 10/20/2004 3:58:16 AM
Hi all, basically i have a WMI scanner which i install as a windows
service. using .NET remoting the service registers an object which
records the status of the scanner (ie how many assets its' scanned so
far etc..)
I then have a windows application which reads the status object to
display t... more >>
|