User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: Using DLL Functions

  1. #11
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Using DLL Functions

    Try to use rhPtr->rhHEditWin, it returns the handle of the runtime window.

  2. #12
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Using DLL Functions

    Quote Originally Posted by Jamie
    What are you entering as a parameter? I'm pretty sure you need to use FindWindow or something similar to get the HWND.
    My extension retrieves the Main Window Handle.

    Quote Originally Posted by Looki
    Try to use rhPtr->rhHEditWin, it returns the handle of the runtime window.
    I'll try that.

  3. #13
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Using DLL Functions

    Both the Main Handle (rhPtr->rhHMainWin) and the Runtime Handle (rhPtr->rhHEditWin) do not make the window flash.

  4. #14
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Using DLL Functions

    How exactly are you using them?

  5. #15
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Using DLL Functions

    I don't understand what you mean. What code am I using to retrieve them, or how do I enter them? Or do you mean something else entirely?

  6. #16
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Using DLL Functions

    Paste the source code of your action.

  7. #17
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Using DLL Functions

    Code:
    ACTION(
    	/* ID */			0,
    	/* Name */			"Flash Window %0 (Number of Times: %1, Flash Rate: %2)",
    	/* Flags */			0,
    	/* Params */		(5,PARAM_NUMBER,"Handle",PARAM_NUMBER,"Number of Times to Flash",PARAM_NUMBER,"Flash Rate (In Milliseconds)(0=Cursor Blink Rate)",PARAM_NUMBER,"Flash Window Caption (0=False, 1=True)",PARAM_NUMBER,"Flash Taskbar Button (0=False, 1=True)")
    ) {
    
    	int hn=Param(TYPE_INT);
    	int fln=Param(TYPE_INT);
    	int flr=Param(TYPE_INT);
    	int ca=Param(TYPE_INT);
    	int tb=Param(TYPE_INT);
    
    
    	FLASHWINFO fl;
    	fl.cbSize = sizeof(fl);
    	fl.hwnd = (HWND)hn;
    	fl.uCount = fln;
    	fl.dwTimeout = flr;
    
    	if(ca) fl.dwFlags |= FLASHW_CAPTION;
    	if(tb) fl.dwFlags |= FLASHW_TRAY;
    
    
    	FlashWindowEx(&fl);
    }
    I have also tried the code I pasted on the previous page and had the same results.

  8. #18
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Using DLL Functions

    And what are you passing as the handle value? I don't see any mention of rhPtr->rhHEditWin..

  9. #19
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Using DLL Functions

    My extension has two expressions. One retrieves the Main Handle using:

    LPRH rhPtr = rdPtr->rHo.hoAdRunHeader;
    HWND MainHwnd = rhPtr->rhHMainWin;

    One retrieves the Runtime Handle (Or whatever it's called) using:

    LPRH rhPtr = rdPtr->rHo.hoAdRunHeader;
    HWND RunHwnd = rhPtr->rhHEditWin;

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Facebook functions
    By clean_citrus in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 11th July 2010, 02:25 PM
  2. Facebook functions
    By clean_citrus in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 11th July 2010, 04:34 AM
  3. list of functions please
    By Tuna in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th May 2010, 04:34 AM
  4. LUA MF functions
    By MattEsch in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 3rd December 2008, 02:55 PM
  5. DISABLE KEY FUNCTIONS?
    By Kintalo in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 14th September 2008, 09:17 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
  •