I have a question about Visio 2003 SDK Sample

Y

YOUNGHEE

In FlowChartSample Com Add-in Program, events of document_opened and
document_created are handled. (QueueMarkerEvent)
I don't know where these events are fired?

I can't find macro in flowchar (vb).vst file.

In debug mode, the argument of queuemarker event is like below..
/doc=1 /event=1 /eventid=169 /solution=SDKFLW

Where this event is fired?
 
B

Bill K. [MSFT]

The template includes persistent events for document open and document
created.
To view or edit the persistent document events:
Open the stencil in Visio (double-click
...\sdk\samples\flowchart\vb\flowchart(vb).vst).
Click Tools > Add-ons > SDK > Tools > Persistent Events...

You can also view them by opening VBA and typing the following in the
immediate window:
?activedocument.EventList(5).Target
QueueMarkerEvent
?activedocument.EventList(5).TargetArgs
/solution=SDKFLW

Hope this helps,
 
Y

YOUNGHEE

Thank you for your help...!


Bill K. said:
The template includes persistent events for document open and document
created.
To view or edit the persistent document events:
Open the stencil in Visio (double-click
..\sdk\samples\flowchart\vb\flowchart(vb).vst).
Click Tools > Add-ons > SDK > Tools > Persistent Events...

You can also view them by opening VBA and typing the following in the
immediate window:
?activedocument.EventList(5).Target
QueueMarkerEvent
?activedocument.EventList(5).TargetArgs
/solution=SDKFLW

Hope this helps,
--
Bill K.
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top