윈도우 explorer의 contextmenu에 사용자 메뉴항목을 추가하는 방법
윈도우 explorer의 contextmenu에 사용자 메뉴항목을 추가하는 방법. 1. ATL COM AppWizard를 이용 프로젝트를 생성한다. 2. New ATL Object로 Simple Object를 추가한다. 3. 추가한 Simple Object의 헤더 파일을 보면 아래와 비슷한 항목들이 있는데 적당히 추가한다. #include “IContextMenuImpl.h” //추가선언 class ATL_NO_VTABLE 클래스 이름: …… public IShellExtInit, public IContextMenuImpl, …… //IContextMenuSTDMETHOD(GetCommandString)(UINT, UINT, UINT*, LPTSTR, UINT);STDMETHOD(InvokeCommand)(LPCMINVOKECOMMANDINFO);STDMETHOD(QueryContextMenu)(HMENU, UINT, UINT, UINT, […]
윈도우 explorer의 contextmenu에 사용자 메뉴항목을 추가하는 방법 더 읽기"