PC Review


Reply
Thread Tools Rate Thread

How to programmatically catch selected text?

 
 
Luc Querton
Guest
Posts: n/a
 
      7th Jul 2003
Greetings,

Assume some text is manually selected (highlighted) in the preview pane, is
there any programmatic way to catch it to assign it in order to a variable?

If not, is it at all possible in an "ActiveExplorer" or "Inspector" object?

Thanks for your guidance,
Luc


 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      7th Jul 2003
If text is selected in an open item and you are using WordMail then
you can see what's selected by using the Word object model on that
open document. Otherwise you cannot tell what text is selected.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm


"Luc Querton" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Greetings,
>
> Assume some text is manually selected (highlighted) in the preview

pane, is
> there any programmatic way to catch it to assign it in order to a

variable?
>
> If not, is it at all possible in an "ActiveExplorer" or "Inspector"

object?
>
> Thanks for your guidance,
> Luc
>
>



 
Reply With Quote
 
Luc Querton
Guest
Posts: n/a
 
      7th Jul 2003
That is what I suspected. Thanks for your reply.
Luc


"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> If text is selected in an open item and you are using WordMail then
> you can see what's selected by using the Word object model on that
> open document. Otherwise you cannot tell what text is selected.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Lead Author, Professional Outlook 2000 Programming, Wrox Press
> Lead Author, Beginning VB 6 Application Development, Wrox Press
> Attachment Options
> http://www.slovaktech.com/attachmentoptions.htm
> Extended Reminders
> http://www.slovaktech.com/extendedreminders.htm
>
>
> "Luc Querton" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Greetings,
> >
> > Assume some text is manually selected (highlighted) in the preview

> pane, is
> > there any programmatic way to catch it to assign it in order to a

> variable?
> >
> > If not, is it at all possible in an "ActiveExplorer" or "Inspector"

> object?
> >
> > Thanks for your guidance,
> > Luc
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to programmatically set a focus on the selected cell? Jack Microsoft Excel Discussion 8 7th Apr 2007 02:56 PM
How to programmatically set a focus on the selected cell? Jack Microsoft Excel Programming 8 7th Apr 2007 02:56 PM
Treeview - set selected node programmatically? JJ Microsoft ASP .NET 1 6th Nov 2006 09:32 PM
Get Selected Address Card programmatically hoofy Microsoft Outlook VBA Programming 2 27th Jan 2004 04:39 PM
Changing the selected contact programmatically lvp Microsoft Outlook Contacts 1 15th Jul 2003 12:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:21 PM.