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


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


LIST ALL
Posted by ps.구루2004-04-14 13:38:52, Hit : 9756
[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
2156 창조
   창조.. 앞으로의 전망에 대한 질문ㆀ
Dragon 2002/09/07  13838
창조
     [re] 3. api - GetClipboardData function [1]
ps.구루 2004/04/14  9756
2154 창조
     [re] 이게 무식한 방법지만 도움은 될겁니다. [2]
ps.구루 2004/05/04  8184
2153 기타
   ISTool 4.2.1 사용법 알려주세요. [7]
정성우 2004/07/04  8097
2152 창조
   미로 생성 [1]
성인e 2011/08/18  7935
notice 창조   답변소스 등록 관련 안내입니다. [7] 변혁수 2006/01/11  7768
2150 창조
   mdb 일련번호 초기화 방법좀 부탁드립니다.. [2]
권선중 2011/07/13  7632
2149 기타
   스눕스파이(snoospy) 사용법 문의요 ^^ [2]
스눕Spy 2005/02/20  7356
2148 창조
     [re] 창조에서 dll파일을 도대체 어떻게 쓰나요?
창조신화 2002/09/20  6914
2147 기타
   N 프로텍트 어떻게 못하나요? [4]
강현구 2004/11/13  6797
2146 창조
   RichEdit line insertion error ?? [2]
이희창 2010/01/27  6533
2145 창조
   에디트에 한글을 입력하지 못하게하는방법... [8]
이희창(빙고) 2006/02/25  6499
2144 창조
   비주얼 베이직 6에서 창조용 DLL 만들기 [2]
김대명 2011/06/21  6222
2143 창조
   filetr32.dll 포트수정 [1]
유형종 2011/02/28  6139
notice 창조   반드시 검색 후 질문을 올려주세요.<... 박종훈 2007/09/24  6082
2141 창조
   esmplus.com 로긴주소에 관해서 [2]
날아라KTX 2013/01/08  6037
notice 창조   단순 소스제작 부탁은 예고없이 삭제합니... [2] 손상진 2007/04/11  5909
2139 창조
   윈도우 탐색기 마우스 우클릭 팝업메뉴 추가법 [2]
한수훈 2008/11/17  5843
2138 창조
     [re] GetDlgItemTextA 사용법 아시는분 부탁요. [2]
지상현 2004/12/06  5788
2137 창조
   프로시저 시작지점 FT_Thunk를 DLL kernel32.... [3]
한수훈 2008/11/30  5784
2136 창조
     [re] 창조.. 앞으로의 전망에 대한 질문ㆀ [4]
nylon 2002/09/07  5773
2135 창조
     [re] 제가메모장을만들어볼까하는데..저장,열기,...
nylon 2002/09/08  5623
2134 창조
     자바 양력->음력 변환 소스 [1]
김대명 2011/07/13  5484
2133 기타
   넷봇 이라는.. 그니까.. "좀비컴퓨터" [1]
제인호[독도] 2008/12/01  5461
2132 기타
   인스톨팩토리 단축 아이콘 오류 관련.. [3]
qkrwhdgns 2005/07/26  5400
LIST ALL   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이희철
로그인