Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.80K
~4K People Reached
Favorite Forums

1 Posted Topic

Member Avatar for Kligham

use PrintWindow API. Its works fine. [code] public System.Drawing.Bitmap CaptureWindow(IntPtr hWnd) { System.Drawing.Rectangle rctForm = System.Drawing.Rectangle.Empty; using (System.Drawing.Graphics grfx = System.Drawing.Graphics.FromHdc(GetWindowDC(hWnd))) { rctForm = System.Drawing.Rectangle.Round(grfx.VisibleClipBounds); } System.Drawing.Bitmap pImage = new System.Drawing.Bitmap(rctForm.Width, rctForm.Height); System.Drawing.Graphics graphics = System.Drawing.Graphics.FromImage(pImage); IntPtr hDC = graphics.GetHdc(); //paint control onto graphics using provided options try { PrintWindow(hWnd, …

Member Avatar for RicardoCleves
0
4K

The End.