summaryrefslogtreecommitdiff
path: root/oovbaapi/ooo
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2012-04-05 14:17:24 +0100
committerNoel Power <noel.power@novell.com>2012-04-17 14:30:31 +0100
commitf39d0b837742c69488e43e919f7f1a927c2859ed (patch)
tree27da4d582e3e1fd422237dd015b115c8569f236f /oovbaapi/ooo
parent0a9161263b8e2e5df424dda3c8f80ef5067bbcc9 (diff)
add support for MousePointer attribute in controls
For Useforms it doesn't quite work exactly as MSO, for examply if we set the MousePointer for the Userform it works as expected until we mouse over another control at which point the mouse pointer is changed to that of the control. In MSO it would appear that the Userform mousepointer is king, perhaps all that is necessary is to apply the mouse pointer to each contained control, needs some investigation. Also only a limited number of the possible mouse pointer styles are processed, the conversions of mso -> lo pointer styles ( and vice-versa ) and not really tested to see if they all make sense
Diffstat (limited to 'oovbaapi/ooo')
-rw-r--r--oovbaapi/ooo/vba/msforms/XControl.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/oovbaapi/ooo/vba/msforms/XControl.idl b/oovbaapi/ooo/vba/msforms/XControl.idl
index 5ece205ee465..9f2c6ee78720 100644
--- a/oovbaapi/ooo/vba/msforms/XControl.idl
+++ b/oovbaapi/ooo/vba/msforms/XControl.idl
@@ -44,6 +44,7 @@ interface XControl
[attribute] string RowSource;
[attribute] boolean Enabled;
[attribute] boolean Visible;
+ [attribute] long MousePointer;
//Size. there are some defferent between Mso and OOo.
//Mso use double but OOo use long. OOo 1 = 1/100mm but Mso use pt.
//in Dialogs Mso uses pixels