'드래그앤드롭'에 해당되는 글 1건

  1. 2007.10.26 드래그 앤 드롭 지원
CWnd::DragAcceptFiles 
 
 
 

Call this member function from within a window, using a CWnd pointer, in your application's CWinApp::InitInstance function to indicate that the window accepts dropped files from the Windows File Manager or Windows Explorer.

void DragAcceptFiles(
   BOOL bAccept = TRUE   // 디폴트가 트루다 !
);
 

Parameters

BAccept

Flag that indicates whether dragged files are accepted.

 
 
 
사용 예제 ..
 

사용자 삽입 이미지


 


CxxApp 에서


InitInstance 함수내에서


위의 그림과 같이


PMainFrame->DragAcceptFiles() 함수를 호출하면


됩니다..



한줄 코딩 ...

Posted by 명혀니
,