Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2006
    Location
    Tehran
    Posts
    176

    Double Click on the Image object

    Hi All.
    it is possible run a action when user click on the an image object
    and run another action when double-click on the image.
    for example exit program when click and minimize when double-click.

  2. #2
    Join Date
    Feb 2009
    Posts
    1,285
    The image object has got just 'left-click' and 'right-click' events, so you can't use the double-click.

    Bye!

  3. #3
    Join Date
    Sep 2008
    Posts
    14

    Post Emulation of double-click on the image.

    Quote Originally Posted by Samio View Post
    Hi All.
    it is possible run a action when user click on the an image object
    and run another action when double-click on the image.
    for example exit program when click and minimize when double-click.
    * On Preload:
    Code:
    --nDoubleClickTime = tonumber(DLL.CallFunction("user32.dll", "GetDoubleClickTime", "", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL));
    nDoubleClickTime = 200;
    nClick = 0;
    * On Timer:
    Code:
    if (nClick == 2) then
        nClick = 0;
        Page.StopTimer();
        Application.Minimize();
    else
        nClick = 0;
        Page.StopTimer();
    end
    * On Click the object "Image1":
    Code:
    Page.StartTimer(nDoubleClickTime);
    nClick = nClick + 1;

Similar Threads

  1. FreePlugin: Splash Image Transition Engine DLL
    By RizlaUK in forum AutoPlay Media Studio 6.0
    Replies: 43
    Last Post: 03-26-2008, 08:41 AM
  2. Show Object with Double Click in Listbox
    By nwprecipice in forum AutoPlay Media Studio 4.0
    Replies: 11
    Last Post: 03-08-2003, 04:52 PM
  3. INFO: Difference between the Media Player Object and the AVI Object
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-29-2002, 02:15 PM
  4. HOWTO: Make a Media Player Object Go Full Screen
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 11:23 AM
  5. TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0
    By Support in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 10-10-2002, 02:39 PM

Posting Permissions

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