Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

다음은 제가 "microsoft.public.vc.activex.templatelib" 에 올렸던 답변 내용입니다.

-----------------------------------------------------------------------

Using "ITypeLib", you can archive your purpose.

The tool named "OLE/COM Object Viewer" within VS.NET also show you "Type
Library" with "ITypeLib" interface.
As you know, the tool also show you the list of event.

Below, sample view of "ITypeLib Viewer" implemented by "OLE/COM Object
Viewer"

[
  uuid(9D44F1E2-F5AF-4E00-856F-DF7CE9E5FE1E),
  nonextensible
]
dispinterface _DIDocsServerEvent {
    properties:
    methods:
        [id(0x00000001)]
        void OnLoad([in] IDispatch* oEvent);
        [id(0x00000002)]
        void OnValueChanged();
        [id(0x00000003)]
        void OnRowIndexChanged([in] BSTR bindingXPath);
        [id(0x00000004)]
        void OnRepeatFocusChanged([in] unsigned long dwCookie);
        [id(0x00000005)]
        void OnForceViewChanged();
        [id(0x00000006)]
        void OnSubmitRequest([in] IDispatch* oEvent);
        [id(0x00000007)]
        void OnSwitchView([in] IDispatch* oEvent);
};

--
======= (c) .NETXpert ==========
url : http://www.dotnetxpert.com
eml : kevin@dotnetxpert.com
msn: kevin025@magicn.com

MCSD.NET
==============================

"Javier" <jfernandez@hotmail.com> wrote in message
news:ONfoT8MkEHA.3664@TK2MSFTNGP12.phx.gbl...
> Do you know if there is way to get the name of an event (as a wchar or
char
> *) from its DISPIP value ?
>
> Basically what I need is to get the name of the event that it is fired
> (Event Sink) given its ID.
>
> Thanks,
>
>









[최초 등록일: ]
[최종 수정일: 10/4/2004]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 196  [197] 
NoWriterDateCnt.TitleFile(s)
10정성태7/17/200317750기타: 2. 데브피아 사이트의 클럽 서비스 내에 있는 Standard C++ Research
9정성태7/17/200323367기타: 1. Programming Applications for Microsoft Windows 4th Edition
8정성태7/17/200320756COM 개체 관련: 2. CWindowImpl 의 기본 윈도우 클래스 명을 바꾸려면?
7정성태7/17/200323373VS.NET IDE: 1. VC++ 프로파일링 사용법
4정성태7/17/200335728VC++: 1. C++ 클래스 멤버변수 초기화 [3]
3정성태7/17/200321696스크립트: 2. JScript에서의 Blocking 동작을 막아주는 COM 메서드
2정성태6/14/200640625COM 개체 관련: 1. IWebBrowser2와 IHTMLDocument2의 상호 변환 [2]
1정성태7/17/200324725스크립트: 1. IE 의 훌륭한 저장기능 - userData
... 196  [197]