all groups > dotnet windows forms > march 2006 > threads for tuesday march 14
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
BackgroundWorker Capability For Non UI Classes
Posted by Brian R. at 3/14/2006 10:04:27 PM
I like the concept and features of the BackgroundWorker. However, I observed
that it will only work for clients that implement ISynchronizeInvoke (namely
forms and controls). My instinct is that BeginInvoke uses windows message
loops to synchronize back to the main (UI) thread.
I want thi... more >>
Creating a Desktop Shortcut
Posted by Dan, Vascas at 3/14/2006 5:11:37 PM
Hi Guys,
Please help me. How do I create a Desktop shortcut from vb.net 2005.
I also need to find a shortcut from a desktop, if exist I need to change the
path.
How do I do it. Please help me.
Dan
... more >>
[.Net 1.1] Strange error
Posted by Adam Klobukowski at 3/14/2006 3:54:52 PM
Hello
I have a scrollable System.Windows.Forms.Panel, and I add/remove
controls (ListView only) to/from it programatically.
Sometimes, probaly when redrawing the panel while adding/removing
controls or scrolling the panel i get an infinite loop of messageboxes
saying "invalid parameter u... more >>
DrawToBitmap problem
Posted by paulo at 3/14/2006 12:30:30 PM
Hello,
I need to get an image from a control and all its children. I'm using
DrawToBitmap, but there are problems with the final result. There are
things that are not correctly painted on the image. I've tried other
approaches using the WM_PRINT message, but the result is the same.
Is ther... more >>
User Control
Posted by Rodrigo Ferreira at 3/14/2006 12:05:06 PM
Hello i have some problems with a UC that i create. This UC only contains a
textbox.
When i insert the UC into a form of any app, no problem occurs.
The problem appears when i change the form font. When i do that, all the
controls of the form automatically change his font, including the UC... more >>
DataGrid with drag and drop, need to control rowstate.
Posted by John Sitka at 3/14/2006 11:33:33 AM
Hi,
I'm displaying a datagrid
when the user enters (highlights) a certain text cell on a row it does a lookup of possible matches.
The matches are displayed in a listbox and one of those matches can be quickly tossed with the mouse
over to the grid surface and replace the original cell text.
... more >>
Drawing a grid on the form
Posted by Wade at 3/14/2006 10:38:43 AM
Hey all,
I am drawing a grid on my windows form -- however, I wonder if the way I'm
doing it isn't the best, as it seems to take awhile to create the grid. Any
thoughts?
private void DrawGrid()
{
DrawGridBoundary();
int Width = FormWidth;
... more >>
BinaryReader in Byte[]
Posted by wavemill at 3/14/2006 9:40:27 AM
Hello!
I would like insert my data(who i get on my binaryreader) in an array byte.
nd after, i would like modify it and save it with my BinaryWriter this is my
code.
My file is always empty.
Thank's for your help,
Wavemill
FileStream myStream = new FileStream(@"\MyFile.bmp", FileMode... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Add Icon to Titlebar (right side)
Posted by rob at 3/14/2006 9:38:28 AM
I would like to add an icon to the RIGHT side of an application's
titlebar. Basically, it will supplement the other icons already there.
Is there any direct support in .NET 2.0 to do this? If not I assume I
would have to subclass the windows form but what exactly would I do
there?
Also how ca... more >>
Painting TabControl
Posted by mailptudo NO[at]SPAM gmail.com at 3/14/2006 7:10:52 AM
Hi,
I'm having a problem painting with my tabcontrol...
I've painted my tabpages, but I could not paint the background of the
tabcantrol.
Now I have my tabpages painted, and a grey rectangle after the last
tabpage, and until the rigth limit of the tabcontrol.
I've search without any luck... more >>
Override WndProc is stopping shutdown
Posted by dkisting NO[at]SPAM dankisting.com at 3/14/2006 6:25:30 AM
Hello,
I am overriding the WndProc in my main form of a Windows application
and the design is for it to ask for some info, kill the application,
and continue on to either shutdown or restart. This is working fine
for the go into hibernation or standby mode, however with shutdown, it
stops af... more >>
Trapping Key Presses.
Posted by Steve at 3/14/2006 6:22:27 AM
I want to trap a key press for my application but the application does not
seem to trigger the KeyPress,KeyDown or KeyUp events. I have a menu and a
picture on the main dialog. Is this a focus issue? or do I need to add
further event handling?
--
Steve H.... more >>
Printing rich text format
Posted by Ilya Dyoshin at 3/14/2006 1:42:58 AM
Hi all!
Is there a possibility to print RTF document in .NET Framework using
WindowsForms, without writting own RTF parser??
There's lots of tables and some text formatting tasks In my RTFs... So
writting own RTF parser would be a bit hard.
Thanks.
... more >>
Getting the DPI setting?
Posted by JezB at 3/14/2006 12:00:00 AM
Running my windows forms on screens set to 133 DPI has some odd effects
(scroll-bars suddenly appearing because objects overflow their containers).
Setting the AutoScaleMode to dpi doesn't seem to fix the problems either. Is
it possible to evaluate the DPI setting within the code and make the ... more >>
problem with IExtenderProvider
Posted by Martin at 3/14/2006 12:00:00 AM
I'm implemented a class called MyProvider which inherited from Component and
IExtenderProvider. i have the problem, that when I typed anything in the
visual studio designer in my MyItem-object which is provided by MyProvider,
the data is lost, after I clicked in another textbox. i added the fo... more >>
|