창조유저그룹-커즈닷컴
Window close
ID :     PASS :   
   
  처음으로
  창조
  창조 소개
창조 다운로드
CUGz.com 소개
온라인 도움말
  커뮤니티
  가입인사
자유게시판
Q/A게시판 (1/0)
TIP/TECH
열린강좌
자주하는질문
아이디어게시판
  자료실
  소스자료실
프로그램자료실
기타자료실
명예의 전당
이미지 자료실
  지원/기타
  표준용어재정
구글 웹서치  
관리자 전용


질문게시판
- 반드시 검색을 하신 후 원하는 답변을 찾을 수 없을 때, 질문을 올려주세요.


LIST ALL
Posted by ps.구루2004-04-14 13:38:52, Hit : 9769
[re] 3. api - GetClipboardData function
Post URL : http://cugz.sjworks.net/bbs/zboard.php?id=qna&no=735
The GetClipboardData function retrieves data from the clipboard in a specified format. The clipboard must have been opened previously.
GetClipboardData 함수는 지정한 포맷의 데이터를 클립보드에서 꺼낸다.
이전에 클립보드가 반드시 열려야 한다.

HANDLE GetClipboardData(
    UINT uFormat         // clipboard format  
   );        
실수함수: GetClipboardData(실수: uFormat);
예상

Parameters
파라메터

uFormat

Specifies a clipboard format. For a description of the clipboard formats, see the SetClipboardData function.
클립보드 포맷을의미. 포맷에 관한 더 많은 정보는 SetClipboardData함수 참조.



Return Values
반환 값

If the function succeeds, the return value is the handle of a clipboard object in the specified format.
성공시에는 지정한 포맷의 핸들으로 리턴.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
함수 실패시, 널(빈) 값 리턴. 자세한 에러 정보는 GetLastError 함수이용.

Remarks
참조

An application can enumerate the available formats in advance by using the EnumClipboardFormats function.
The clipboard controls the handle that the GetClipboardData function returns, not the application. The application should copy the data immediately. The application cannot rely on being able to make long-term use of the handle. The application must not free the handle nor leave it locked.
The operating system performs implicit data format conversions between certain clipboard formats when an application calls the GetClipboardData function. For example, if the CF_OEMTEXT format is on the clipboard, a window can retrieve data in the CF_TEXT format. The format on the clipboard is converted to the requested format on demand. The following table shows the clipboard data type conversions that are available. Note that some of these automatic type conversions are not available on all platforms.

Clipboard Format        Conversion Format        Platform Support
CF_BITMAP        CF_DIB                Windows NT, Windows 95
CF_DIB                CF_BITMAP        Windows NT, Windows 95
CF_DIB                CF_PALETTE        Windows NT, Windows 95
CF_ENHMETAFILE        CF_METAFILEPICT        Windows NT, Windows 95
CF_METAFILEPICT        CF_ENHMETAFILE        Windows NT, Windows 95
CF_OEMTEXT        CF_TEXT                Windows NT, Windows 95
CF_OEMTEXT        CF_UNICODETEXT        Windows NT
CF_TEXT                CF_OEMTEXT        Windows NT, Windows 95
CF_TEXT                CF_UNICODETEXT        Windows NT
CF_UNICODETEXT        CF_OEMTEXT        Windows NT
CF_UNICODETEXT        CF_TEXT                Windows NT


If the operating system provides an automatic type conversion for a particular clipboard format, there is no advantage to placing the conversion format(s) on the clipboard.
If the system provides an automatic type conversion for a particular clipboard format, and you call EnumClipboardFormats to enumerate the clipboard data formats, the operating system first enumerates the format that is on the clipboard, followed by the formats to which it can be converted.

If the clipboard contains data in the CF_PALETTE format, the application should use the SelectPalette and RealizePalette functions to realize any other data in the clipboard against that logical palette.
See SetClipboardData for further information on specific clipboard data formats.  


ps.구루   2004-04-14 PM 3:37:04  
매개변수 cf_... 안내입니다.

{$EXTERNALSYM CF_TEXT}
CF_TEXT = 1;
{$EXTERNALSYM CF_BITMAP}
CF_BITMAP = 2;
{$EXTERNALSYM CF_METAFILEPICT}
CF_METAFILEPICT = 3;
{$EXTERNALSYM CF_SYLK}
CF_SYLK = 4;
{$EXTERNALSYM CF_DIF}
CF_DIF = 5;
{$EXTERNALSYM CF_TIFF}
CF_TIFF = 6;
{$EXTERNALSYM CF_OEMTEXT}
CF_OEMTEXT = 7;
{$EXTERNALSYM CF_DIB}
CF_DIB = 8;
{$EXTERNALSYM CF_PALETTE}
CF_PALETTE = 9;
{$EXTERNALSYM CF_PENDATA}
CF_PENDATA = 10;
{$EXTERNALSYM CF_RIFF}
CF_RIFF = 11;
{$EXTERNALSYM CF_WAVE}
CF_WAVE = 12;
{$EXTERNALSYM CF_UNICODETEXT}
CF_UNICODETEXT = 13;
{$EXTERNALSYM CF_ENHMETAFILE}
CF_ENHMETAFILE = 14;
{$EXTERNALSYM CF_HDROP}
CF_HDROP = 15;
{$EXTERNALSYM CF_LOCALE}
CF_LOCALE = $10;
{$EXTERNALSYM CF_MAX}
CF_MAX = 17;
{$EXTERNALSYM CF_DIBV5}
CF_DIBV5 = 17;

{$EXTERNALSYM CF_MAX_XP}
CF_MAX_XP = 18;
LIST ALL               GO TO THE TOP


N
Category
   Subject
Posted by
Date
H
1982 창조
   vbmp3.dll이용한 재생기 관련 질문 입니다.. [4]
강성민 2005/01/10  2663
1981 창조
   vbmp에 대한 질문... [6]
강성민[FreeCreate] 2005/03/12  2964
1980 창조
   VB의 형식중, Any는 뭐죠?.. [9]
박종훈 2006/01/16  2687
1979 기타
   VC++에서 API로 DLL을 만드려고 하는데요... [4]
김정엽[닷넷] 2004/05/19  2668
1978 기타
   wav 에서 mp3파일이나 wma 파일로 변환.... [2]
위자드 2004/03/12  3567
1977 기타
   Win.exe 찾을 수 없음;;; [15]
qkrwhdgns 2005/12/25  3302
1976 기타
   WIN32API... [2]
미도르 2002/10/12  3751
1975 기타
   winACE는 어떤 언어로 만들어진 건지 궁금합... [1]
Midor...☆ 2003/02/04  3639
1974 기타
   Xp사용자 분들 ㅜ_ㅠ... [9]
위자드 2004/07/12  3094
1973 기타
   xp사용자 분들께 질문 ㅡㅡ; [2]
위자드 2003/01/07  3579
1972 창조
   XP업로드&다운로드 질문 [1]
서형철 2002/12/09  3290
1971 창조
   XP에 대한 질문요..... [2]
위자드 2002/12/08  3753
1970 창조
   XP에서 창조 쓰시다가.... [3]
위자드 2002/11/28  3747
1969 창조
   xp에서 컨트롤 알트 딜 막는 방법은 없어요? [3]
이경근 2004/04/30  3377
1968 창조
       xp에선 안되는 것 같은데요;; [7]
이경근 2004/04/26  2840
1967 기타
   [ 해석요청] VC++ 확장파일 유용한함수.dll [...
권선중 2003/09/27  3606
1966 창조
   [API 질문] 꼭읽어주세요 ㅡ_-;; [6]
박재성[날개달기] 2004/09/08  2943
1965 기타
   [DLL] 내부 함수 구하는 유틸리티 있나요? [3]
ps.구루 2004/02/29  4064
1964 기타
   [HTML 태그] 홈페이지의 하단으로 이동하기 [2]
한수훈 2009/06/07  3890
1963 창조
     [i] 창조 웹브라우져DLL 1.3.0.0 -> 1.5.0... [1]
손상진 2004/05/21  2939
1962 기타
     [re] *.rar 파일이 읽어지지 않아요~ [6]
성인e 2005/11/05  2815
1961 창조
     [re] 1. api - openclipboard [1]
ps.구루 2004/04/14  4157
1960 창조
     [re] 2. api - GetClipboardFormatName
ps.구루 2004/04/14  3704
창조
     [re] 3. api - GetClipboardData function [1]
ps.구루 2004/04/14  9769
1958 창조
     [re] 4. api - CloseClipboard [1]
ps.구루 2004/04/14  4059
LIST ALL   Prev [1][2][3][4][5][6][7] 8 [9][10]..[87] Next
Copyright 1999-2024 Zeroboard / skin by reedyfox in miniwini style
로그인
지우개 Expert 3.0
제작자 : 천호성 님 [LINK]
로그인
대박로또2005
제작자 : 최재일 님 [LINK]
로그인
1박종훈15292 점
2지상현8809 점
3손상진7388 점
4권선중6060 점
5이진백5174 점
로그인
가입일닉네임
05/31김동률
03/31홍형기
09/01o00pp99oo
12/27이재민
11/20이희철
로그인