all groups > dotnet windows forms > june 2005 > threads for june 22 - 28, 2005
Filter by week: 1 2 3 4 5
All MDI forms repaint when one is resized
Posted by David at 6/28/2005 2:47:02 PM
I have been experimenting with the Scribble sample (both in C# and C++/CLI).
I create two or more child documents/windows and scribble different stuff in
them.
Even if the child windows do not overlap at all (within the MDI parent
frame), if I resize one of the MDI child windows, a Paint e... more >>
Search combobox attaced to datagrid
Posted by MS at 6/28/2005 12:34:03 PM
Hi,
I used class provided at SysncFusion to add comboBox control to DataGrid.
The comboBox works fine in Datagrid. Is there any way to perform search by
typing in combox. What I am looking for if a user types in letter in
Combobox It will find the item in the dropdownlist and displays it. ... more >>
Screen.PrimaryScreen.WorkingArea question
Posted by JezB at 6/28/2005 12:12:39 PM
Screen.PrimaryScreen.WorkingArea.Height gets the height of the display
excluding the taskbar. However, if your windows taskbar is set to auto-hide,
this taskbar height is NOT excluded. How can I check for this so that I can
position a window correctly so that the taskbar will not hide part of ... more >>
Editing hyperlinks in RichTextBox Control in C#.NET
Posted by acconrad NO[at]SPAM gmail.com at 6/28/2005 9:17:51 AM
We're trying to make it such that you can change the color for
hyperlinks in RichTextBox controls. Currently VS.NET '03 does not
allow one to do this. We tried this -->
http://pluralsight.com/wiki/default.aspx/Craig/RichTextBox2.html
and it did not work at all. Does anyone know of any RELIABL... more >>
Inherited Menus and Modifiers
Posted by Buzz at 6/28/2005 9:07:03 AM
I am using VB.NET
Before I chase this ellusive bug, I want to confirm it is not a framework
issue. I have a base form with a Menu. I have set the menu and each of its
menu items to have Modifiers of Protected Friend.
However, the child form shows the menu and its items as being Private.
... more >>
Obstruct the Developpers to Develop and Deploy a newer version
Posted by DraguVaso at 6/28/2005 12:00:00 AM
Hi,
I have a, maybe strange looking, question:
Is there any way to obstruct developpers to Develop and or Deploy a newer
version of a VB.NET-application?
Things should happen like this:
- Developpers develop the application
- The application is tested, and audited for the final release
- Th... more >>
Dialog ghost left on window
Posted by Developer at 6/28/2005 12:00:00 AM
Hello,
I have a Systems.Windows.Forms.Form-based window. When I bring up a dialog
to modify the window's view and click OK, the dialog goes away, except the
part of the dialog that overlaps the window remains visible until the window
repaints.
Is there a way to fix this? If there is a ... more >>
GridView Exception: reentrant call to the SetCurrentCellAddressCore function
Posted by Martin B at 6/28/2005 12:00:00 AM
Hallo to everyone!
Problem:
--------
GridView Exception: reentrant call to the SetCurrentCellAddressCore function
System:
-------
WinXP Professional, english, .NET Framework 2.0 Beta Language C#
Simplified Architecture of my Porgram:
2 Forms:
--------
- MainForm
- DetailForm
2 ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Data design question
Posted by Massimo at 6/27/2005 11:48:59 PM
I have a Windows Forms applications with a SQL Server back-end.
There is a main form which shows a list of selected columns from a table
(all rows are to be shown), and a dialog form which opens a detailed view of
the selected record in the list and lets the user modify it; I'd also like
to... more >>
MouseWheel
Posted by Adi at 6/27/2005 11:48:02 PM
I want to use MouseWheel to on the panel but I am only able to use the
MouseWheel Event on the mail form.
On the child controls the main from mouseWheel event works but not their
own. What should I do?
this.MouseWheel += new MouseEventHandler(Form1_MouseWheel);// WOrking fine.
for the... more >>
GDI+ Bitmap drawing vs GDI+ PrintDocument drawing
Posted by jlavallet at 6/27/2005 3:56:02 PM
Hi I'm trying to get WYSIWYG print output by exposing the painting method of
a custom control I've written and everything is just a bit off.
Here's what I've done. I have a method on my custom control (a Panel that I
paint on) that accepts a Graphics object. This method draws text, lines,
... more >>
RichTextBox auto scroll to end
Posted by Bin Xing at 6/27/2005 3:29:04 PM
I'm currently programming a form application in VC++.NET managed code. There
is a RichTextBox and some other controllers on a form. When user is working
on other controllers, like mouse up/down on a picture controller to draw a
picture, I'd like to show some messages on the RichTextBox. I'd li... more >>
Dynamic Context Menu Items
Posted by www.dir NO[at]SPAM gmail.com at 6/27/2005 9:11:14 AM
Hi,
I am adding dynamically context menu items like this:
MenuItem newStudent = new MenuItem( student.Name );
newStudent .Click += new System.EventHandler( this.StudentClicked );
And my method :
void StudentClicked ( object sender, System.EventArgs e )
{
}
And It is working just fi... more >>
No text on MsgBox
Posted by LosPablo at 6/27/2005 12:00:00 AM
Hello,
I'm working on hardware configured as bellow:
- Microsoft Windows XP;
- Microsoft Visual Studio .NET 2003;
- Microsoft .NET Framework 1.1;
- Microsoft Office 2000.
In Visual Basic.NET when i try to use MsgBox there is no message on the
screen.
Help
Pablo
... more >>
Embed Word into WinForm application - How?
Posted by Anton at 6/27/2005 12:00:00 AM
What is the official (ms) way to embed word/excel into a winform application
so that the document is editable with word toolbars displayed?
ActiveDocumentHost has been droped from 2.0 (not in VS2.0 beta 2)
Is it true that MS can't devise a way for word/excel to be used in a .net
app - unbe... more >>
Menu Events
Posted by RbanBph at 6/26/2005 9:45:02 PM
HI,
I have created a Menu control Using groupbox and buttons(VB.NET)
where buttons acts as the Menuitems. I want to change the backcolor of the
button on which the mouse is moving.
How can I code for this?
Regards,
RbanBph
... more >>
AutoScaleDimensions Property
Posted by thomasp NO[at]SPAM msala.net at 6/26/2005 5:26:46 PM
I started a project in VB.NET 2003 and moved it to VB 2005 EE. I got all
the errors and warning worked out except this:
Warning 1 'Public Overridable Property AutoScaleBaseSize() As
System.Drawing.Size' is obsolete: 'This property has been deprecated. Use
the AutoScaleDimensions property inst... more >>
Rich Text Box - Copy Function
Posted by thomasp NO[at]SPAM msala.net at 6/26/2005 5:26:37 PM
Is it possible to set a rich textbox where the user can highlight and copy
its contents but not be able to modify its contents?
Thanks
Thomas
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anon... more >>
Passing a constructor parameter with Activator.CreateInstance
Posted by jmhmaine at 6/26/2005 4:08:02 PM
I'm having a problem passing a constructor parameter with
Activator.CreateInstance.
Details:
I have a form that I'm trying to create from a shared function that uses the
Activator.CreateInstance.
The constructor code for the form:
Public Sub New(ByVal SearchID As String)
MyB... more >>
Storing Objects at the Application Level
Posted by jmhmaine at 6/26/2005 3:27:02 PM
My background is in web development using ASP.NET. When I program with
ASP.NET I have both Application and Session objects available to store
objects. Is there an equivalent in WindowsForms?
Currently my solution is to create a private shared collection and use two
public shared functions ... more >>
Inserting Text with Formatting
Posted by Craig at 6/25/2005 7:11:03 PM
Hi
I need to enter text into a RichTextBox control in code, is there a way to
ensure that the text I'm about to insert is inserted with a particular font
style? The newly inserted text should not affect the text or font style of
the existing text.
Many thanks
Craig... more >>
Helvetic font
Posted by Lloyd Dupont at 6/25/2005 12:00:00 AM
On many web site they use Helvetica web font. Which I found pretty neat =
and would like to use in my WinForm app (as opposed to WebForm).
But here, puzzle, the Helvetica doesn't appear in the Font chooser in =
the VS.NET designer!
Whhy is that?
What kind of standart font cold I use as a repl... more >>
Highlight TabPage Text
Posted by Joe Gaines at 6/24/2005 10:16:04 AM
Is there a way to change the TabPage Text font or something else to help
distinguish what tab a user has selected. I have a lot of tabs nested within
tabs so any thoughts on how to make it obvious what tab a user is on would be
appreciated.... more >>
Is there a way to improve the DataGridBoolColumn???
Posted by Enlai Pensado at 6/24/2005 9:16:36 AM
I've been using DataGridBoolColumn in many of my DataGrid controls and
never mind that if you want to mark many rows, you must do two clicks
each time, one to change the row and another to check.
Is there a way to change that?
A user is bugging so much about it ...... more >>
Can't update Application Icon
Posted by Michael J. Salamone at 6/24/2005 8:27:24 AM
I just changed the application icon for my app. But the old application
icon still displays in the title bar of the main form, though. If I look at
the re-built app.exe in the Windows Explorer, though, it shows the new icon.
Also, I have a debug console window that comes up (it is opened by ... more >>
Toolbar / ImageList problem - Design Time vs Run Time
Posted by Michael J. Salamone at 6/24/2005 8:16:00 AM
I have an object derived from System.Windows.Forms.UserControl (plus an
interface I defined).
The UserControl has quite a few child controls (some w/children of their
own) ranging from listviews to treeviews to tab controls / pages, toolbars,
panes, and splitters.
All my toolbars display... more >>
Urgent - Compare Items in Two Listbox Controls using VB.Net 2003
Posted by Shariq at 6/24/2005 8:02:02 AM
Is there any easy way to compare items in two listbox controls? I need to
find if the items in ListA are the same as items in ListB.
... more >>
Custom styles on DataGridView
Posted by Zan at 6/24/2005 7:56:08 AM
Hello,
I want to apply custom styles on differents rows or columns.
On the DataGrid control there was the TableStyles collection, I haven't see
any equivalent feature...
For example, I want to change rows' height in function of a value (int)
given by user.
The RowTemplate is used only when... more >>
Class Design and Threading
Posted by CQuick at 6/24/2005 6:28:02 AM
I have been working on a problem for over two months now, but I can't seem to
get past it.
I have a custom class that makes an remoting call to a web server to
retrieve data. I don't want the UI to "hang" while this process is occuring,
so I have the custom class perform the remoting call o... more >>
how to disable resizing the columns in datagrid
Posted by ujjwala at 6/24/2005 1:32:07 AM
Dear friends,
In windows forms application.
How to disable the columns of datagrid from resizing by using mouse.
Is it possible?
If so please guide me to do.
Thank
--
ujjwal
-----------------------------------------------------------------------
ujjwala's Profile: http://www.msusen... more >>
Click anywhere on the form
Posted by Adam Klobukowski at 6/24/2005 12:00:00 AM
Hello
I'd like to intercept an event if user clicks anywhere on my form, no
matter if under moes is any control owned by this form, before anything
else happens (etc. any other events to any other controls are
delivered). Then I'd like to decide if I'm processing this event on my
own (and... more >>
Mouse event
Posted by S³awomir Speth at 6/23/2005 7:59:43 PM
hi all
How trap event mouse click outside my form - like closed popup menu when
user click outside form.
--
... more >>
Setting the ComboBox Selected Item Value
Posted by Troy at 6/23/2005 5:47:02 PM
How come on a button event I can run the following code:
vehicleRequired.DataSource = vehicleList; // vehicleList is just an array
value
vehicleRequired.SelectedItem = null;
but running the same code on the window load or constructor event, does not
set the selected Item to null, but defa... more >>
Do the MDI child windows run on separate threads?
Posted by ken bus at 6/23/2005 5:13:02 PM
I need to have two child windows running on separate threads. When a child is
created, does it get its own thread or do I need to do something special to
dispatch a separate thread?
If something special, can you please point me in the correct direction?... more >>
Custom winform design
Posted by Max A. Bündchen at 6/23/2005 11:54:14 AM
I'm looking for some help with a custon winform design. I can't find in
internet helpfull information about that.
For example, I would design a winform with the form of Windows Media Player.
... more >>
how to disable taksbar icon
Posted by ve at 6/23/2005 11:47:02 AM
Hi guys,
Basically i dont want the form icon to be displayed on the taskbar. How can
i do it?... more >>
Suspend events during operation
Posted by Pino at 6/23/2005 9:47:17 AM
Hi to all.
I have a Windows Forms application. In some cases, some operations of form
loading are very long, especially because the forms have a BackgroundImage.
During these operations, the system continues "to answer"... in fact all the
user interactions are registered and applied when t... more >>
Dataadapter won't update Dataset in VB.net
Posted by Shariq at 6/23/2005 8:22:03 AM
I am using VB.net 2003 to update MS Access 2003 database with the following
code. The codes executes without any errors but database won't update, what
am I doing worng?
Dim sSQL As String
Dim da As New OleDbDataAdapter
Dim ds As DataSet = New DataSet
Dim cnS As Ne... more >>
HTML to WinForm
Posted by Riyaz at 6/23/2005 6:36:03 AM
hey,i got a problem...so heelp me out...plz
i've to make a software,in which i've to display a HTML page in a Windows
Form & also where i've to map those controls with a data dictionary.
so anybody can help me in developing HTML to WinForm....
riyaz... more >>
Properties Windows in Visual Studio
Posted by poifull at 6/23/2005 6:03:45 AM
In the "Properties Window" in the Visual Studio Environment. When you click
on Categorized View, properties are grouped by property types with an
collapsible icon next to the type name. That would be a nice feature for my
application. Is the Property Window something I have to develop or if... more >>
Determine Type of Items in a collection
Posted by Bud J via DotNetMonster.com at 6/23/2005 12:00:00 AM
what would be a good way to determine the type of objects in a collection.
For example, i have an orders collection , which inherits collectionbase and
implements ibindinglist, that contains a list of orders. So if i "inspect
the class" how could i determine that it is a collection of order obj... more >>
Custom ContextMenu Problem
Posted by RichS at 6/22/2005 11:55:01 PM
Hi,
[ Using C# in .Net 1.1 ]
I've created an owner drawn context menu, however, the actual popup menu
window is always wider than the widest menu item in my context menu.
Example, when I trace through my code the widest item is 154 pixels, however
the actual popup window frame is about ... more >>
Problem with SetCapture
Posted by Developer at 6/22/2005 3:31:28 PM
Hello,
I'm trying to modify one of the Scribble sample apps (C#) such that the user
can draw w/o holding the mouse button down. That is, the first mouse click
turns on drawing, and the second mouse click turns it off.
In the MouseDownHandler, I set the Capture property:
this.Capture = ... more >>
Is there a collection for non-visual components on a win form?
Posted by Rob at 6/22/2005 3:12:01 PM
Hi,
I'm writing a component that iterates through the ParentForm.Controls
collection looking for components of a certain type. However, some of the
components I need to find are of a non-visual nature and aren't present in
the collection. Is there another collection I need to look in. I've ... more >>
AppIcon not shown
Posted by dbuchanan at 6/22/2005 2:47:04 PM
VB.NET, WinForms
I set the Application icon in the Property pages dialog box and it was
imported into the project. When I run the application the icon does not
appear. What am I doing wrong?
... more >>
Capturing a Window
Posted by Anthony Williams at 6/22/2005 11:26:12 AM
Does anyone have any ideas how I could go about displaying an external
application's window inside a WinForm?
For example say notepad is running and I start my application, my
application would "capture" the notepad window (I already have the code
to obtain the window's handle) and display it ... more >>
Screen Points Coordinates Location etc.
Posted by Smokestack at 6/22/2005 11:22:23 AM
Anyone have a good source for me to read about and hopefully understand
points, coordinates, locations, desktopbounds etc. I want to be better able
to set dialog locations, sizes etc.
Thanks.
... more >>
Where should I place my images?
Posted by Casey at 6/22/2005 10:40:01 AM
Hi!
I'm an experienced asp.net developer, but I need to create a quick windows
application.
One of the things I'm having trouble with is figuring out where to place
some image files. I have a picturebox, and I intend to randomly place an
image in there. The only thing is, when I build the ap... more >>
Explorer Toolbar
Posted by eXtreme at 6/22/2005 7:35:54 AM
Does anyone know of a sample application (or has some pointers) which show
how I would code and install / configure an Explorer ToolBar using C#?
Additionally, I would like to create an Internet Explorer Toolbar.
Thanks,
eXtreme
... more >>
coordinate system & font
Posted by Lloyd Dupont at 6/22/2005 12:00:00 AM
I'm porting an aplpication to windows.
This application's data files contains shape draw to the screen.
Their coordinate system has the 0,0 location at the bottom and y goes up as
you go up the screen (the opposite on what happens on windows control)
if I setup a coordinate transformation my ... more >>
|