Click here to Skip to main content
15,902,938 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to get the window state? Pin
Dennis C. Dietrich26-Apr-05 8:53
Dennis C. Dietrich26-Apr-05 8:53 
GeneralTabControl Pin
Alex_Y26-Apr-05 8:18
Alex_Y26-Apr-05 8:18 
GeneralRe: TabControl Pin
Marc Clifton26-Apr-05 11:16
mvaMarc Clifton26-Apr-05 11:16 
GeneralRe: TabControl Pin
Alex_Y27-Apr-05 3:55
Alex_Y27-Apr-05 3:55 
GeneralRe: TabControl Pin
Marc Clifton27-Apr-05 4:08
mvaMarc Clifton27-Apr-05 4:08 
GeneralRe: TabControl Pin
Alex_Y27-Apr-05 5:07
Alex_Y27-Apr-05 5:07 
GeneralSaving a Panel/Groupbox to JPG Pin
Da`Sooty26-Apr-05 7:38
Da`Sooty26-Apr-05 7:38 
GeneralRe: Saving a Panel/Groupbox to JPG Pin
Heath Stewart26-Apr-05 9:47
protectorHeath Stewart26-Apr-05 9:47 
You mean you want to take a screenshot and not have to generate the picture yourself? Either are possible. To take a screenshot of a particular client region of a control (or even the whole control), you need to P/Invoke bitblt from gdi.dll and related functions. Read Image Capture[^] for more information, or search[^] for "bitblt" or "screenshot" here on Code Project in the appropriate categories (like "C#" and ".NET").

In .NET 2.0, a new method[^] - Control.DrawToBitmap - has been added which will make this easier (by encapsulating the functionality from above).

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
GeneralFileIOPermissions Pin
Member 141845426-Apr-05 7:26
Member 141845426-Apr-05 7:26 
GeneralRe: FileIOPermissions Pin
Heath Stewart26-Apr-05 9:38
protectorHeath Stewart26-Apr-05 9:38 
GeneralRe: FileIOPermissions Pin
26-Apr-05 9:47
suss26-Apr-05 9:47 
GeneralRe: FileIOPermissions Pin
Heath Stewart26-Apr-05 11:12
protectorHeath Stewart26-Apr-05 11:12 
GeneralRe: FileIOPermissions Pin
Member 141845429-Apr-05 6:25
Member 141845429-Apr-05 6:25 
GeneralRe: FileIOPermissions Pin
Heath Stewart29-Apr-05 6:28
protectorHeath Stewart29-Apr-05 6:28 
GeneralRe: FileIOPermissions Pin
Member 14184542-May-05 9:05
Member 14184542-May-05 9:05 
QuestionHow to get fan properties? Pin
Yeast2726-Apr-05 7:09
Yeast2726-Apr-05 7:09 
AnswerRe: How to get fan properties? Pin
Heath Stewart26-Apr-05 9:40
protectorHeath Stewart26-Apr-05 9:40 
GeneralRe: How to get fan properties? Pin
Yeast2726-Apr-05 19:22
Yeast2726-Apr-05 19:22 
GeneralRe: How to get fan properties? Pin
Heath Stewart27-Apr-05 5:08
protectorHeath Stewart27-Apr-05 5:08 
GeneralRe: How to get fan properties? Pin
Yeast2727-Apr-05 22:25
Yeast2727-Apr-05 22:25 
GeneralRe: How to get fan properties? Pin
Heath Stewart28-Apr-05 5:07
protectorHeath Stewart28-Apr-05 5:07 
GeneralRe: How to get fan properties? Pin
Yeast2728-Apr-05 7:30
Yeast2728-Apr-05 7:30 
GeneralRe: How to get fan properties? Pin
Heath Stewart28-Apr-05 11:18
protectorHeath Stewart28-Apr-05 11:18 
GeneralDate formating in datagrid Pin
seanf71126-Apr-05 5:51
seanf71126-Apr-05 5:51 
GeneralRe: Date formating in datagrid Pin
Heath Stewart26-Apr-05 6:12
protectorHeath Stewart26-Apr-05 6:12 

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.