CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2002
    Location
    Hanoi, Vietnam
    Posts
    5

    Question ExtTextOut in IE

    I used API hook to intercept API functions in IE. But its ExtTextOutA/W are strange. They always use co-ordinate of (0,0) to draw lines of text, from the top to the bottom of the screen! I also verified its DC attributes (ex: viewport/window org.), but they seem normal. So how could it do that?

  2. #2
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940
    Maybe its drawing into a bitmap, and then presenting the bitmap to screen.

    The other thing you can check is the window coordinates of the DC.

    Darwen.

  3. #3
    Join Date
    Oct 2002
    Location
    Hanoi, Vietnam
    Posts
    5
    Maybe its drawing into a bitmap, and then presenting the bitmap to screen.

    The other thing you can check is the window coordinates of the DC.

    Darwen.
    Thank u very much. I think that's the way it use. I intercepted BitBlt and got the image. And the rect that I invalidated was in the middle of a large image 8-((. So how can I check the window coordinates of the DC to get that rect?
    Thanks in advance

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured