HScrollBar messages

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • john doe

    HScrollBar messages

    I'm subclassing a HScrollBar and overriding the WndProc method:

    protected override void WndProc(ref Message m)
    {
    base.WndProc (ref m);

    System.Diagnost ics.Debug.Write Line((Msg)m.Msg );
    }

    Msg is an enum of all WM_ constants. I'm getting 4 mysterious numbers
    however: 8468,233,234,49 457 when I scroll left and right, or thumb.

    Can anyone tell me what these constants are?

  • Ollie Riches

    #2
    Re: HScrollBar messages

    have you tried using spy++, I am pretty sure it will tell both the number
    and the assoicated message name

    HTH

    Ollie Riches

    "john doe" <sloppycode@gma il.com> wrote in message
    news:1127208484 .989658.241970@ f14g2000cwb.goo glegroups.com.. .[color=blue]
    > I'm subclassing a HScrollBar and overriding the WndProc method:
    >
    > protected override void WndProc(ref Message m)
    > {
    > base.WndProc (ref m);
    >
    > System.Diagnost ics.Debug.Write Line((Msg)m.Msg );
    > }
    >
    > Msg is an enum of all WM_ constants. I'm getting 4 mysterious numbers
    > however: 8468,233,234,49 457 when I scroll left and right, or thumb.
    >
    > Can anyone tell me what these constants are?
    >[/color]


    Comment

    Working...