Is it possible to disable the hourglass cursor when changing shape data

Started by adam.lewis, December 30, 2011, 05:16:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

adam.lewis

Short Question
Is it possible to remove the hourglass cursor when changing shape data (ie User Defined cells, fill color etc...) programmatically?

Background
I am attempting to use Visio as a front end to view real time data retrieved from other local processes or systems on a local intranet.  At this point in time I am using COM control via Python with much success.  I am able to read all of the shapes and update them with no trouble, even at high rates of change.  I am also looking into socket connections via wsock to remove the COM processing in the near future.  While the control of Visio is great with COM and VBA, I cannot get over how annoying it is that EVERY time a shape's data is changed (written to) the mouse turns to the hourglass then back to the arrow.  The mouse is still 100% functional and does not hinder normal operation; it is just very distracting and would be embarrassing to send to a client. 

I have confirmed these issues both when a shape is changed via a COM interface or a VBA script.  Attached I have a sample of the VBA timer causing the hourglass change to help demonstrate what I am talking about.  Note that COM control does the same thing.  It seems that all of the MS Office suites have this kind of capability using the fmMousePointer Property  http://msdn.microsoft.com/en-us/library/dd909838(v=office.12).aspx, but I assume that because Visio was acquired and is not really part of the Office suite I shouldn't be too surprised...

System Information
OS: Windows 7 (64bit development, 32bit support needed as well)
Visio Version: 2010 Professional (32bit)

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 150 (show)
Files included: 34 - 1317KB. (show)
Memory used: 1071KB.
Tokens: post-login.
Cache hits: 12: 0.00204s for 26,582 bytes (show)
Cache misses: 1: (show)
Queries used: 15.

[Show Queries]