PDA

View Full Version : Picture in DialogLauncher Supertip



Paul_Hossler
09-05-2010, 04:49 PM
The regular Office DialogLauncher has a Supertooltip that displays a picture (like the small picture version of the Font dialog box in the screenshot embedded in the XLSM attachment) when you hover

How do I make that happen? I was thinking of making a screen shot of some of my dialog launcher boxes, instead of just displaying some more SuperTip text.

This is my 2010 XML, and the getSupertip = "GetSupertip" will only display text. The 2007 XLM is similar



<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="OnRibbonLoad" >
<ribbon>
<tabs>

<!-- Add Custom group to the Home tab in the ribbon -->

<tab id="CustomTab" label="My Tab">
<group id="SampleGroup" label="Sample Group">
<toggleButton id="ToggleButton1"
size="large"
label="Large Toggle Button"
getPressed="MyToggleMacro"
onAction="MyActionMacro"
screentip = "This is a Toggle Button"
supertip = "This is a normal type of screentip This is a normal type of screentip This is a normal type of screentip"
/>
<button id="Button1"
size="large"
label="Large Button"
onAction="MyButtonMacro"
screentip = "This is a normal Button"
supertip = "This is a normal type of screentip This is a normal type of screentip This is a normal type of screentip"
/>
<dialogBoxLauncher>
<button id="Launcher1"
getScreentip="GetScreentip"
getSupertip = "GetSupertip"
onAction="MyLauncherMacro" />
</dialogBoxLauncher>
</group>
</tab>
</tabs>
</ribbon>
</customUI>


Thanks


Paul

TrippyTom
03-30-2013, 04:30 AM
Hey Paul,
Did you ever get this to work? I'd be curious to see how you did it.

I've done something similar with a gallery then added custom icons to the xml that my gallery referred to, but I don't think that's what you're talking about, is it?

Paul_Hossler
03-30-2013, 05:42 AM
Hi Tom

No joy

Apparently the only people who know to to that all work for Microsoft

But, I haven't looked at it for a long time, so I'll poke around again

Paul

Aflatoon
05-01-2013, 04:04 AM
Per this MSDN article (http://msdn.microsoft.com/en-us/library/aa722523.aspx), you can't:

Can I add images to my Enhanced ScreenTips? No. You can add only text, by using the Supertip property.

Paul_Hossler
05-01-2013, 07:24 AM
Thanks

I wish I could (or someone more smarter) could figure out how MS does it

Paul

Aflatoon
05-01-2013, 07:59 AM
Not everything MS can do is exposed to us mere mortals. ;)

(Just in case, I have sent a request to the smartest people I know)

Edit: the official MS word is: you can't do that. :(