all groups > dotnet windows forms > june 2004 > threads for wednesday june 30
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
Minimize the main form to System Tray at start up
Posted by Dotnetjunky at 6/30/2004 11:00:01 PM
Hi,
I know how to make my form minimize to System Tray when users press the MinimizeBox (using the NotifyIcon control). But how can I do that at application startup ? What I want to do is similar to instant messaging programs (MSN, AIM, ...) whereas the application starts at Windows startup and a... more >>
ListBox
Posted by Jake at 6/30/2004 7:17:01 PM
I've got a ListBox control with SelectionMode = MultiExtended. How do I unselect all items within the code? The top item is highlighted on screen load, and I don't want it highlighted.
Your help is appreciated,
Jake... more >>
CausesValidation on Cancel button
Posted by jester at 6/30/2004 7:04:01 PM
I have code in Validating events of my textboxes w/c do usual validation and e.Cancel = True when applicable. My problem is with the Cancel button (w/c has CausesValidation = False). If I close the form inside the Cancel button code (i.e., Me.Close), the Validating events of the textboxes fire, pr... more >>
Listview scroll bar problem
Posted by velolewis at 6/30/2004 6:15:02 PM
I have an unusal problem with getting the vertical scroll bars to work correctly when I add more items to a listview than can be displayed in client area. It fills all the available client area and then starts wrapping from the beginning again. The scroll bar does show but there is nothing to scroll... more >>
XP-Style border for picturebox
Posted by Marco at 6/30/2004 5:05:30 PM
Hi to All,
Is it possibile to use an XP-Style border for a picturebox? I am referring
to the border that, under XP, listboxes and textboxes have (i.e. a single
blue line, if you use the default theme).
I have tried many ways, with no luck!
Can you please help?
Thanks.
Marco
... more >>
LockWindowUpdate in .NET
Posted by Mike at 6/30/2004 4:02:01 PM
Hi! I was curious if there was an equivalent of LockWindowUpdate() in managed code ?
Please let me know.
Many Thanks in Advance,
--Mike ... more >>
ActiveForm property
Posted by Elmo Watson at 6/30/2004 3:00:45 PM
in VB6, I'd have a MDI form (frmMain), with a midi CHild - -
then, I'd have dialogs that I run to change certain items on the rtb
(txtEdit) of the Active MDI child....
to do this, I'd say something like:
frmMain.ActiveForm.txtEdit.Seltext = "whatever"
in DotNet - - even though I have frmMai... more >>
Form Keypreview is not working when the focus is on combobox
Posted by Ramana at 6/30/2004 2:45:43 PM
Hi,
We are handling some keys in the form to perform some form based actions.
for example Ctlr+s will save the data on the form which is equivalent to
pressing the save button. But when the focus is on a combobox, then we are
not able to capture the keys (i.e form's keypdown/up events are not be... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Mdi question
Posted by BMax at 6/30/2004 12:52:54 PM
Hello
I created a form that is Mdi container another for child and a dialog form
which is suppose to open that child inside the container.
so i have :
1- main form (Mdi Container)
2- child form (Mdi child)
3- Dialg form (something like a menu to open the childes inside main form)
lets say d... more >>
Change Crystal Report Zoom Level using percentages in Crystal Report Viewer (Dotnet)
Posted by Alex Stevens at 6/30/2004 11:09:34 AM
Hi All,
I have implemented my own toolbar on a form which houses the crystal reprot
viewer.
I would like to have a combobox to allow the user to change the zoom level
to say 25 / 50 / 75 / 100 / 200%
However the crystal report viewer only seems to allow two levels of zoom,
using the .Zoom ... more >>
Forms in Class Libaries
Posted by Wayne at 6/30/2004 9:35:55 AM
I have a class lib, that creates and shows a form. When the main app is
minimized the form from the class lib isn't. Also when pressing Alt+Tab the
class lib form shows in the window selection.
How do I make it minimize when the application is minimized and not show in
the alt+tab window?
T... more >>
MDI Form?
Posted by Larry Dodd at 6/30/2004 9:17:44 AM
I would like to create an application that has a TreeView docked on the Left
side of the form and based on what the user clicks in the Treeview have
another form use the remaining portion of the screen to display itself.
Currently I am setting the Parent property of the form to the MDI Parent and... more >>
Assign Events to dynamically generated TextBox
Posted by Zardoz at 6/30/2004 3:10:01 AM
Hi to all,
I am having a problem while trying to assign an event to a generated textbox control. This textbox is generated dynamically, its a variable which name is "txtCamp", for this variable I generate a certain number of instances in the layout screen in some differents positions, t... more >>
|