Re: sampleframework's win32 MouseCallback

From: bonk (
Date: 12/17/04

  • Next message: dj: "RE: DX SDK SampleFramework copyrights"
    Date: Fri, 17 Dec 2004 02:45:04 +0100

    well I guess I will use

    or DirectInput

    "bonk" <> schrieb im Newsbeitrag
    > Hello,
    > as you know, the managed sampleframework of the directx sdk utilizes win32
    > interop instead of doEvents() for windowsmessage/mouse/keyboard handling.
    > The callback for MouseMessages is defind like this:
    > void MouseCallback(bool leftButtonDown, bool rightButtonDown, bool
    > middleButtonDown, bool sideButton1Down, bool sideButton2Down, int
    > mouseWheelDelta, int x, int y)
    > It is not quite obvious how to handle doubklick events using this
    > callback. Of course I could measure the time betwenn leftbuttonDown
    > switching from true back to false but thats not so nice.
    > And also: how would I know what time period on the current System is set
    > for doubleclicks ?
    > There is probally an easy solution to this, but am not able to see it ...

  • Next message: dj: "RE: DX SDK SampleFramework copyrights"