get x,y when over control

Discussion in 'Questions (Windows Mobile)' started by colin9876, Jun 9, 2008.

  1. colin9876

    colin9876 Active Member Licensed User

    A program uses mousemove to get stylus x,y coords, problem is when its over a control, such as an imagebox etc, the x,y values arent changed?!

    Is there any way of getting mouse/stylus coordinates even when its moving over a button or box etc?
  2. colin9876

    colin9876 Active Member Licensed User

    great if...

    Is there such commands like
    I didn't know that?

    Update; just tried & it didn't work. anybody know if there is a variablw which holds the mouse position <without having to get it passed from a Mousemove(x,y) event?>
    Last edited: Jun 9, 2008
  3. Erel

    Erel Administrator Staff Member Licensed User

    It is possible using the Door library.
    You will need to add an Event object for each control (see the source code).

    Attached Files:

  4. bdiscount

    bdiscount Active Member Licensed User

    Mousemove works great but is there a way to pickup mousedown with the door.dll. or do i have to use image button.
    also could someone make a chm for the door.dll?

    BTW Erel thanks for this easy developing tool, even though the door is complcating for this old geezer.
  5. Erel

    Erel Administrator Staff Member Licensed User

    There is a chm file for the door library (part of Basic4ppc V6.30).
    The door library does require some knowledge of the .Net Framework. It is only intended to complete "small missing parts".

    You can replace MouseMove with MouseDown and it should work properly.
  6. klaus

    klaus Expert Licensed User

    You can also have a look at the joined demo.

    You just need to add following libraries:
    dzEventsMagic / dzEventsMagicDesktop

    Best regards

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice