0

i am new to win api ,this is what i was using in my code

SINK_ENTRY_EX(1, DIID_DWebBrowserEvents2, DISPID_DOCUMENTCOMPLETE, OnDocumentComplete)

this is perfectly working

note :

OnDocumentComplete-function pointer

DISPID_DOCUMENTCOMPLETE --display id (call the function pointed by function pointer when this event occur)

i just tried the below one which will call the event on changing status bar of browser hide or appear but its not working .

SINK_ENTRY_EX(1, DIID_DWebBrowserEvents2, DISPID_ONSTATUSBAR,OnDocumentComplete)

can any body tell me what's wrong with this?

2 Answers 2

1

The input parameters of the OnDocumentComplete and OnStatusBar events are different. You can't use the same function for both events.

Sign up to request clarification or add additional context in comments.

Comments

0

Remy your correct i got the below link which helps me to find what function signature to be used for which event not much detail but signature of function

http://code.ohloh.net/file?fid=OqcwL0bIw3vC9ejiHfbJrKc1E_M&cid=0W4KUpSYxGo&s=&browser=Default#L0

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.