마음의 안정을 찾기 위하여 - [Delphi] PrintWindow Example - Delphi Source Code
1830049
73
208
관리자새글쓰기
태그위치로그방명록
별일없다의 생각
dawnsea's me2day/2010
색상(RGB)코드 추출기(Color...
Connection Generator/2010
최승호PD, '4대강 거짓말 검...
Green Monkey**/2010
Syng의 생각
syng's me2DAY/2010
천재 작곡가 윤일상이 기획,...
엘븐킹's Digital Factory/2010
[Delphi] PrintWindow Example - Delphi Source Code
Delphi/Code | 2015/12/18 15:30

출처 : http://www.delphibasics.info/home/delphibasicssnippets/printwindowexample-delphisourcecode

{
    Coder: counterstrikewi
    Website: www.delphi.co.nr
    Compiled: Delphi 2007
}

This example shows you how to use the PrintWindow API to view the visual output of a window which may, or may not be visible on the screen.
It can therefore be used as an alternative to BitBlt for a more complete screenshot project.

MSDN - PrintWindow
http://msdn.microsoft.com/en-us/library/dd162869%28VS.85%29.aspx
The PrintWindow function copies a visual window into the specified device context (DC), typically a printer DC.

BOOL PrintWindow(
HWND hwnd,
HDC hdcBlt,
UINT nFlags
);

Parameters
hwnd - A handle to the window that will be copied.
hdcBlt - A handle to the device context.
nFlags - The drawing options. It can be one of the following values:
                  nil - Entire Window is copied to hdcBlt
                PW_CLIENTONLY - Only the client area of the window is copied to hdcBlt.


사용자 삽입 이미지



2015/12/18 15:30 2015/12/18 15:30
Article tag list Go to top
View Comment 0
Trackback URL :: 이 글에는 트랙백을 보낼 수 없습니다
 
 
 
 
: [1] ... [526][527][528][529][530][531][532][533][534] ... [1397] :
«   2018/07   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
전체 (1397)
출판 준비 (0)
My-Pro... (41)
여행 (42)
사는 ... (954)
블로그... (25)
My Lib... (32)
게임 ... (23)
개발관... (3)
Smart ... (1)
C Builder (0)
Object... (0)
VC, MF... (9)
Window... (1)
Open API (3)
Visual... (0)
Java, JSP (2)
ASP.NET (0)
PHP (4)
리눅스 (28)
Windows (26)
Device... (1)
Embedded (1)
게임 ... (0)
Web Se... (2)
Web, S... (19)
잡다한... (4)
프로젝트 (0)
대통령... (9)
Link (2)
Delphi (96)
Reference (1)
OpenSo... (5)
Apache (2)
Database (21)
프로그램 (0)
2018/05(21)
2018/04(20)
2018/03(22)
2018/02(12)
2018/01(28)