Working Area and Window Locations

sharprs
04-08-2004, 12:23 AM
OK. I've searched for at least an hour on Google. No one seems to mention the idea of setting the desktop Working Area, except when using old versions of VB or C#. They all talk about SystemParametersInfo. And I've tried updating the old VB code for .NET, and I've tried converting the C# to VB.NET. And I've tried adding a new project to my solution that's written in C#, but can't figure out how to use the C# class in my VB program.

Can anyone tell me how to set the working area, in VB.NET? Also, it'd be nice to know how from within my program I can set the location of some other program's window. That's so when mine starts, and changes the working area, other windows can be moved so they're not hiding underneath mine.

Thanks!

AtmaWeapon
04-08-2004, 06:45 AM
Pardon my ignorance; I don't know what the working area is. If you explain to me I'll start looking too and try to help.

sharprs
04-08-2004, 03:32 PM
Sorry. The "working area" is pretty much how much of the screen a maximized window is allowed to fill. So it's all the screen, minus the taskbar (if it's Always On Top), and anything like AIM that you might have docked on the side of the screen. Pretty much what I'm needing is the vb.net version of the way AIM can dock on the side of the screen.

sharprs
04-14-2004, 05:08 AM
Update on this...

Eventually I decided to forget about this, and just make a C# class library...because I had seen an example of it in C#. So...it works that way, and if anyone wants to know exactly how, let me know.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum