Click here to Skip to main content
15,917,964 members
Home / Discussions / C#
   

C#

 
GeneralRe: Components Pin
Paul Riley24-Sep-02 3:09
Paul Riley24-Sep-02 3:09 
QuestionDoes anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 2:19
Li-kai Liu (Angus)24-Sep-02 2:19 
AnswerRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 3:53
leppie24-Sep-02 3:53 
AnswerRe: Does anyone know how to capture screen in C#? Pin
Philip Fitzsimons24-Sep-02 3:54
Philip Fitzsimons24-Sep-02 3:54 
GeneralRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 4:06
leppie24-Sep-02 4:06 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Philip Fitzsimons24-Sep-02 4:34
Philip Fitzsimons24-Sep-02 4:34 
GeneralRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 6:37
leppie24-Sep-02 6:37 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 11:45
Li-kai Liu (Angus)24-Sep-02 11:45 
are you saying we can re-write this

[System.Runtime.InteropServices.DllImportAttribute("User32.dll")]
private static extern int GetWindowRgnBox(
IntPtr hWnd, // handle to window
ref RECT rect // rectangle
);

to

[System.Runtime.InteropServices.DllImportAttribute("User32.dll")]
private static extern int GetWindowRgnBox(
IntPtr hWnd, // handle to window
ref Rectangle rect // rectangle
);

But wouldn't it be relatively confusing because the last two field actually mean different things (width, height in Rectangle, but right, bottom in RECT)...


GeneralRe: Does anyone know how to capture screen in C#? Pin
leppie24-Sep-02 13:42
leppie24-Sep-02 13:42 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 11:41
Li-kai Liu (Angus)24-Sep-02 11:41 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Li-kai Liu (Angus)24-Sep-02 15:16
Li-kai Liu (Angus)24-Sep-02 15:16 
GeneralRe: Does anyone know how to capture screen in C#? Pin
Philip Fitzsimons24-Sep-02 23:19
Philip Fitzsimons24-Sep-02 23:19 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
John Hurrell24-Sep-02 5:52
John Hurrell24-Sep-02 5:52 
GeneralRe: Filter HTML Content Before Displaying in WebBrowser Pin
Stephane Rodriguez.24-Sep-02 6:00
Stephane Rodriguez.24-Sep-02 6:00 
GeneralWhen to define interfaces Pin
afronaut23-Sep-02 9:02
afronaut23-Sep-02 9:02 
GeneralRe: When to define interfaces Pin
Stephane Rodriguez.23-Sep-02 9:22
Stephane Rodriguez.23-Sep-02 9:22 
GeneralRe: When to define interfaces Pin
jan larsen24-Sep-02 0:55
jan larsen24-Sep-02 0:55 
GeneralRe: When to define interfaces Pin
John Burton24-Sep-02 3:48
John Burton24-Sep-02 3:48 
GeneralRe: When to define interfaces Pin
leppie24-Sep-02 4:01
leppie24-Sep-02 4:01 
GeneralRe: When to define interfaces Pin
Paul Riley24-Sep-02 4:18
Paul Riley24-Sep-02 4:18 
GeneralRe: When to define interfaces Pin
Paul Riley24-Sep-02 4:12
Paul Riley24-Sep-02 4:12 
GeneralRe: When to define interfaces Pin
Stephane Rodriguez.24-Sep-02 4:54
Stephane Rodriguez.24-Sep-02 4:54 
GeneralRe: When to define interfaces Pin
Paul Riley24-Sep-02 5:04
Paul Riley24-Sep-02 5:04 
GeneralThread in C# Pin
D Shen23-Sep-02 8:33
D Shen23-Sep-02 8:33 
General.NET ComboBox Item Tags (SetItemData equivalent) Pin
Gaul23-Sep-02 7:40
Gaul23-Sep-02 7:40 

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.