EventList.AddAdvise Method

B

Bony Baba

hi

I am using Visio application.EventList.AddAdvise Method to add event this
method takes Event code as short, but the event code of visEvtAdd is 32768
which is beyond the Short Limit.

So please help me what i do Add event.

Thanks
 
P

Paul Herber

hi

I am using Visio application.EventList.AddAdvise Method to add event this
method takes Event code as short, but the event code of visEvtAdd is 32768
which is beyond the Short Limit.

The AddAdvise method event code is a word (unsigned int) = 32 bits
 
D

David Parker

If you look at the SDK sample, you will see that you have to assign your own
constant for this particular event code
 
Top