Click here to Skip to main content
15,889,096 members
Home / Discussions / C#
   

C#

 
GeneralRe: Saving the State of Windows Form Controls Pin
Tim130-Jul-03 16:38
Tim130-Jul-03 16:38 
GeneralRe: Saving the State of Windows Form Controls Pin
Ista30-Jul-03 18:21
Ista30-Jul-03 18:21 
GeneralSpecified cast is not valid Pin
Nidi30-Jul-03 8:16
Nidi30-Jul-03 8:16 
GeneralRe: Specified cast is not valid Pin
Ista30-Jul-03 10:49
Ista30-Jul-03 10:49 
GeneralRe: Specified cast is not valid Pin
James T. Johnson30-Jul-03 17:09
James T. Johnson30-Jul-03 17:09 
GeneralRe: Specified cast is not valid Pin
James T. Johnson30-Jul-03 17:22
James T. Johnson30-Jul-03 17:22 
GeneralBind a window to the side of the screen Pin
heelios30-Jul-03 6:15
heelios30-Jul-03 6:15 
GeneralRe: Bind a window to the side of the screen Pin
Kastro30-Jul-03 7:57
Kastro30-Jul-03 7:57 
You can just set the location and size of your window based on the current screen dimensions and specify it as a topmost window.

To make sure maximized windows don't extend under it you can use the Windows API to specify the work area of any monitor. The work area specifies the "portion of the screen not obscured by the system taskbar or by application desktop toolbars."

On the primary monitor you will need to make a call to SystemParametersInfo passing SPI_SETWORKAREA and a new rectangle that leaves room for the taskbar and wherever you want to put your window. For a monitor other than the primary one take a look at GetMonitorInfo...
GeneralNeed help using IndexOf() Pin
Rbledwards30-Jul-03 6:02
Rbledwards30-Jul-03 6:02 
GeneralRe: Need help using IndexOf() Pin
leppie30-Jul-03 7:22
leppie30-Jul-03 7:22 
GeneralRe: Need help using IndexOf() Pin
Rbledwards30-Jul-03 7:50
Rbledwards30-Jul-03 7:50 
GeneralRe: Need help using IndexOf() Pin
Ista30-Jul-03 10:55
Ista30-Jul-03 10:55 
GeneralRe: Need help using IndexOf() Pin
Rbledwards30-Jul-03 14:14
Rbledwards30-Jul-03 14:14 
GeneralRe: Need help using IndexOf() Pin
Julian Bucknall [MSFT]30-Jul-03 14:16
Julian Bucknall [MSFT]30-Jul-03 14:16 
GeneralRe: Need help using IndexOf() Pin
Ista30-Jul-03 14:38
Ista30-Jul-03 14:38 
GeneralRe: Need help using IndexOf() Pin
Julian Bucknall [MSFT]1-Aug-03 13:54
Julian Bucknall [MSFT]1-Aug-03 13:54 
GeneralRe: Need help using IndexOf() Pin
Ista1-Aug-03 16:44
Ista1-Aug-03 16:44 
GeneralCounting New Lines in a String Pin
draco_iii30-Jul-03 5:48
draco_iii30-Jul-03 5:48 
GeneralRe: Counting New Lines in a String Pin
Nathan Blomquist30-Jul-03 6:19
Nathan Blomquist30-Jul-03 6:19 
GeneralRe: Counting New Lines in a String Pin
draco_iii30-Jul-03 6:28
draco_iii30-Jul-03 6:28 
GeneralRe: Counting New Lines in a String Pin
Nathan Blomquist30-Jul-03 6:47
Nathan Blomquist30-Jul-03 6:47 
GeneralRe: Counting New Lines in a String Pin
leppie30-Jul-03 7:13
leppie30-Jul-03 7:13 
GeneralRe: Counting New Lines in a String Pin
Julian Bucknall [MSFT]30-Jul-03 14:19
Julian Bucknall [MSFT]30-Jul-03 14:19 
GeneralRe: Counting New Lines in a String Pin
Csharp™30-Jul-03 14:38
Csharp™30-Jul-03 14:38 
GeneralRe: Counting New Lines in a String Pin
GISnet1-Aug-03 2:50
GISnet1-Aug-03 2:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.