Re: How to catch web page script "moveto()" in CHtmlView?

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 04/26/04


Date: Mon, 26 Apr 2004 09:37:44 -0400


"jeff" <bloodchen@hotmail.com> wrote in message
news:uJuipiuKEHA.1272@tk2msftngp13.phx.gbl
> I followed your instruction and set a breakpoint at my
> CWebBrowser2::PreTranslateMessage function. But it seems the
> WM_WINDOWPOSCHANGING never comes to this function.

It's not supposed to. Only posted messages go through the message loop
and are subject to pretranslation. WM_WINDOWPOSCHANGING is sent.

> How do you catch
> it?

I do believe I have mentioned "subclassing" before, haven't I? See
CWnd::SubclassWindow

-- 
With best wishes,
    Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken


Relevant Pages

  • Re: SEAforth Instruction Set
    ... I am utterly disgusted by the behavior of all of you towards Mr. Jeff ... themselves the "June 30th" date for releasing a ... silly old instruction set, all of that is relatively superficial, and i ... The SEAForth instruction set is supposed to represent what has ...
    (comp.lang.forth)
  • Green Hills Probe [BDM], MPC565 Single Stepping Problem
    ... I can run from reset to a breakpoint, ... Then, for reasons unknown, the debugger ... simply decides to stop single stepping at a given instruction, ... explicitely set, and the offending instruction can be be executed w/o ...
    (comp.sys.powerpc.tech)
  • Re: Setting breakpoint on the end of the method in Eclipse
    ... You whine that the IDE does not add a "nop" (is there even such an instruction in the JVM?). ... Right before the first instruction of a loop is the same spot as right after the last. ... which can be eliminated with a conditional breakpoint if it bothers you that much. ... It no longer sucks, does it? ...
    (comp.lang.java.programmer)
  • Re: SEAforth Instruction Set
    ... I am utterly disgusted by the behavior of all of you towards Mr. Jeff ... The most interesting part about the SeaForth chip, to me, is not its ... silly old instruction set, all of that is relatively superficial, and i ... stack in a register and I thought "what kinds of new instructions could ...
    (comp.lang.forth)
  • Re: How to implement the breakpoint in debugger?
    ... Breakpoint Handling ... the CPU raises an exception and reports it to GDB. ... theory is that GDB will replace a program instruction with a trap, ... set not to have any instructions usable for a software breakpoint, ...
    (comp.os.linux.misc)