User Tag List

Results 1 to 5 of 5

Thread: Dll object questions.

  1. #1
    No Products Registered

    Join Date
    Jun 2006
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Dll object questions.

    Hello.

    In the Dll Object Argument is the same that Parameter?.

    I know an fuction in the library "User32.dll" the function is called "GetSystemMetrics" these function have an PARAMETER called "SM_CMOUSEBUTTONS" that return the number of buttons of the mouse.
    I try to work with these options in MMF2 but nothing happens.

    Somebody can help me to solve theses cuestions?

    Thanks.

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Dll object questions.

    What you have to do, for example :

    Load "user32.dll"
    Add Integer Argument 43
    Set Counter to ReturnInt( "DLL Object", "GetSystemMetrics")

    (the value of SM_CMOUSEBUTTONS is 43)

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dll object questions.

    Sorry I don't understanding your reply.

    I only need retrieve the numbers of Mouse Buttons in any PC run under Windows that execute my aplication.

    Why 43?

    Is the same PARAMETER that ARGUMENT?, and how manage PARAMETER in the DLLobject in MMF2?.

    I think that the value of SM_CMOUSEBUTTONS is the number of mouse buttons, then because your value of SM_CMOUSEBUTTONS is 43.

    Waiting your works...
    Sorry and thanks.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Posts
    311
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dll object questions.

    You call GetSystemMetrics with a number of what system metric you want to know.
    43 is the constant who tells GetSystemMetrics to retrieve the number of mouse buttons.

    More constants here:
    http://msdn2.microsoft.com/en-us/library/ms724385(VS.85).aspx

  5. #5
    No Products Registered

    Join Date
    Jun 2006
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dll object questions.

    Thanks to Ives and Quinto, for the link to info page.

Similar Threads

  1. Flash MP3 Object Questions
    By Kimera in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 14th January 2011, 04:20 PM
  2. Two questions regarding the Spellchecker object...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 15th June 2010, 05:33 PM
  3. More Trial Object Questions
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 26th March 2008, 10:28 PM
  4. Class object? and other questions.
    By Kalnar in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th November 2007, 07:52 PM
  5. Pinball object questions
    By machrider in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th February 2007, 08:21 AM

Posting Permissions

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