Scrolling of ActiveX Control on HTML page in Internet Explorer 
Author Message
 Scrolling of ActiveX Control on HTML page in Internet Explorer

Hi, All!

I have realized  Windowless ActiveX Control for Internet Explorer (5-6). My
Control has large size and
placed into tag <DIV> on HTML page. For <DIV> I have enabled scrolling:

<div align=middle id="DrawView"
style="vertical-align:  bottom; SCROLLBAR-FACE-COLOR: #cdd8ed;
SCROLLBAR-HIGHLIGHT-COLOR: #efeffe; OVERFLOW:
auto; WIDTH: 550px; SCROLLBAR-SHADOW-COLOR: #c0c0ff;
SCROLLBAR-3DLIGHT-COLOR: #efeffe; SCROLLBAR-DARKSHADOW-COLOR:
#191970; HEIGHT: 400px">

<OBJECT  id=DV2t codeBase=""
    onmouseup = HMouseUp onmousedown = HMouseDown
     type=application/x-oleobject height=250 onerror=HError width=350
     classid=CLSID:B5216D79-8D46-460E-A19E-7F10505A36E5
         <PARAM NAME="Zoom" VALUE="1">
         <PARAM NAME="Rotation" VALUE="0">
         <PARAM NAME="ImageURL" VALUE=" http://www.*-*-*.com/ ;>
         <PARAM NAME="BackColor" VALUE="16313066">
         <PARAM NAME="ProgressColor" VALUE="14251836">
     </OBJECT>

</div>

When user scrolls <DIV>, Internet Explorer updates entire visible area of
ActiveX Control and sends
WM_PAINT 3 times (dividing visible area on 3 parts on Y). As a result, my
ActiveX Control is flicking
and slowly redrawing in time of scrolling.

I need more effective scrolling. Right way for Windows - is to use
ScrollWindow (Win32API)  and to update
entire part of window at once, that invalidates at scrolling.

There are any ideas?  There is a way to force IE to scroll correctly? Or I
need to handle scrolling
self (by hooking some of IE or others sinks)?

Thanks and good luck!



Sun, 17 Oct 2004 12:31:29 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Scroll message in Internet Explorer(ActiveX Control)??

2. How to access internet explorer in activex control?

3. Mysterious sequencing of thread of ActiveX control in Internet Explorer

4. ActiveX Control (ATL) and Internet Explorer Versions

5. Setting the font of an activex control in internet explorer 4.0

6. MFX ActiveX control using Internet Explorer like container

7. Setting the font of an activex control in internet explorer 4.0

8. Creating ActiveX Controls for the Internet explorer on PPC

9. Passing arrays from HTML page to ActiveX control

10. Running function in HTML page from ActiveX Control

11. Two ActiveX controls in one html page

12. Using ActiveX control in HTML page

 

 
Powered by phpBB® Forum Software