Selected objects in Addin
  Home FAQ Contact Sign in
microsoft.public.onenote only
 
Advanced search
POPULAR GROUPS

more...

microsoft.public.onenote Profile…
 Up
Selected objects in Addin         


Author: G.O.Varney
Date: Sep 7, 2008 21:21

Hello,

Is it possible to find out if an object(s) is/are selected when your addins
is clicked on ta toolbar. What about part object such as a word inside a
line of text, etc
--
Regards,
G.O.Varney
4 Comments
Re: Selected objects in Addin         


Author: Rainald Taesler
Date: Sep 7, 2008 21:38

G.O.Varney wrote:
> Is it possible to find out if an object(s) is/are selected when
> your addins is clicked on ta toolbar. What about part object such
> as a word inside a line of text, etc

Might you pls explain this a bit more?
I absolutely understand really *nothing*.

Rainald
no comments
Re: Selected objects in Addin         


Author: G.O.Varney
Date: Sep 8, 2008 04:21

Sorry about. I'll try again.

1) I go to a OneNote page
2) I highlight some text on the page (or graphics or drawing)
3) I then Click my Addin icon on the tool bar

In my addin can I find out what text (or graphics or drawing) is highlighted
--
Regards,
G.O.Varney

"Rainald Taesler" wrote:
Show full article (0.62Kb)
no comments
Re: Selected objects in Addin         


Date: Sep 8, 2008 18:01

You'll want to check the Selected attribute is == "all" Keep in mind the
relationship between the outlines and the outline elements.

I suggest using OMSpy to get a feel for how to tell what is selected.

--
Thanks,
John Guin
OneNote Test Team
http://blogs.msdn.com/johnguin

"G.O.Varney" wrote:
Show full article (0.98Kb)
no comments
Re: Selected objects in Addin         


Author: Rainald Taesler
Date: Sep 10, 2008 12:07

G.O.Varney wrote:
>>> Is it possible to find out if an object(s) is/are selected when
>>> your addins is clicked on ta toolbar. What about part object such
>>> as a word inside a line of text, etc
>>
>> Might you pls explain this a bit more?
>> I absolutely understand really *nothing*.
>
> Sorry about. I'll try again.
>
> 1) I go to a OneNote page
> 2) I highlight some text on the page (or graphics or drawing)
> 3) I then Click my Addin icon on the tool bar
>
> In my addin can I find out what text (or graphics or drawing) is
> highlighted

Thanks for trying to clarify!

Still I can not really get what you are after :-( :-(

Are you possibly talking on creating your own Add-in?
Show full article (0.71Kb)
no comments