HighDots Forums  

MSHTML, from C++, force the selection of an element

alt.html.dhtml alt.html.dhtml


Discuss MSHTML, from C++, force the selection of an element in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Yan Terrien
 
Posts: n/a

Default MSHTML, from C++, force the selection of an element - 08-15-2003 , 03:40 AM






Using MSHTML from C++
When design mode is activated, and when the user
clicks on an element which has "absolute"
position , a resizing-rectangle is drawn around the
position of the element.
How can I force any element to be selected that way
from my C++ app ?
In other words, I have the pointer a IHTMLElement
of the page, how can I force it to be selected in design mode ?
I've tried around with IMarkupServices, IMarkupPointer,
IMarkupContainer, IServiceProvider, IHTMLEditServices,
but I cannot force any element to look selected in design mode,
without the user clicking on it....
Can you help ?




Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.