Click here to Skip to main content
15,900,815 members
Home / Discussions / C#
   

C#

 
GeneralRe: Text Editing Pin
Robert Rohde1-Feb-05 20:46
Robert Rohde1-Feb-05 20:46 
GeneralDisplay a presentation on TV Pin
SquallBlade1-Feb-05 11:38
SquallBlade1-Feb-05 11:38 
GeneralRe: Display a presentation on TV Pin
Christian Graus1-Feb-05 17:06
protectorChristian Graus1-Feb-05 17:06 
GeneralRe: Display a presentation on TV Pin
SquallBlade1-Feb-05 21:53
SquallBlade1-Feb-05 21:53 
GeneralRe: Display a presentation on TV Pin
Dave Kreskowiak2-Feb-05 1:51
mveDave Kreskowiak2-Feb-05 1:51 
GeneralRe: Display a presentation on TV Pin
SquallBlade2-Feb-05 3:52
SquallBlade2-Feb-05 3:52 
GeneralRe: Display a presentation on TV Pin
Heath Stewart2-Feb-05 6:34
protectorHeath Stewart2-Feb-05 6:34 
GeneralRe: Display a presentation on TV Pin
Christian Graus2-Feb-05 9:03
protectorChristian Graus2-Feb-05 9:03 
Dave is wrong. To display things on the second monitor, there is a static class called Monitors or something that allows you to enumerate all screens. From this, you can get the co-ordinates to draw to in order to get onto the second screen.

just a sec.

The class is called Screen. This code shows a window called secondMonitor on the second screen, or hides it if there isn't one.

Screen [] screens = Screen.AllScreens;

if (screens.GetUpperBound(0) > 0)
{
Screen secondary = screens[1];
secondMonitor.Bounds = secondary.Bounds;
secondMonitor.MinimumSize = secondary.Bounds.Size;
}
else
{
secondMonitor.Visible = false;
}


There's no reason to use DirectDraw, unless you really have to. You can just as easily create a window and draw onto it.


Christian

I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
Generalsynthesize mouse click Pin
Some Idiot1-Feb-05 11:05
Some Idiot1-Feb-05 11:05 
GeneralRe: synthesize mouse click Pin
Christian Graus1-Feb-05 11:21
protectorChristian Graus1-Feb-05 11:21 
GeneralRe: synthesize mouse click Pin
Heath Stewart1-Feb-05 15:33
protectorHeath Stewart1-Feb-05 15:33 
GeneralRe: synthesize mouse click Pin
Some Idiot2-Feb-05 1:12
Some Idiot2-Feb-05 1:12 
GeneralRe: synthesize mouse click Pin
Heath Stewart2-Feb-05 6:17
protectorHeath Stewart2-Feb-05 6:17 
GeneralRe: synthesize mouse click Pin
Heath Stewart1-Feb-05 15:34
protectorHeath Stewart1-Feb-05 15:34 
Generalmultiple tables binding to a grid Pin
cuah1-Feb-05 10:46
cuah1-Feb-05 10:46 
GeneralRe: multiple tables binding to a grid Pin
Heath Stewart1-Feb-05 15:16
protectorHeath Stewart1-Feb-05 15:16 
GeneralHyperlink Value Pin
myousufq1-Feb-05 10:12
myousufq1-Feb-05 10:12 
GeneralRe: Hyperlink Value Pin
Heath Stewart1-Feb-05 10:20
protectorHeath Stewart1-Feb-05 10:20 
GeneralRe: Hyperlink Value Pin
myousufq1-Feb-05 10:37
myousufq1-Feb-05 10:37 
GeneralRe: Hyperlink Value Pin
Heath Stewart1-Feb-05 10:52
protectorHeath Stewart1-Feb-05 10:52 
GeneralRe: Hyperlink Value Pin
Heath Stewart1-Feb-05 10:56
protectorHeath Stewart1-Feb-05 10:56 
GeneralRe: Hyperlink Value Pin
myousufq2-Feb-05 3:39
myousufq2-Feb-05 3:39 
GeneralRe: Hyperlink Value Pin
Heath Stewart2-Feb-05 6:30
protectorHeath Stewart2-Feb-05 6:30 
GeneralRe: Hyperlink Value Pin
myousufq2-Feb-05 7:22
myousufq2-Feb-05 7:22 
GeneralRe: Hyperlink Value Pin
Heath Stewart2-Feb-05 7:29
protectorHeath Stewart2-Feb-05 7:29 

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.