User Tag List

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

Thread: Control WindowProc not firing events

  1. #11
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2006
    Posts
    269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your reply. I am looking at the EDIF SDK. Is there an example of creating a Windows control with it?

    I don't see where I get access to the extension width, height, nWnds, etc.

  2. #12
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,840
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by waffles View Post
    Thanks for your reply. I am looking at the EDIF SDK. Is there an example of creating a Windows control with it?
    There is not, but I can guide you through it. Most of it is where you expect - rdPtr is still around, callRunTimeFunction still is there.
    The difference is your extension is contained with a C++ class, so it has exception safety... and VS's IntelliSense can actually help you. (in older VS versions, the dorky way the SDK worked, particularly rSDK, would kill IntelliSense entirely)

    Quote Originally Posted by waffles View Post
    I don't see where I get access to the extension width, height, nWnds, etc.
    nWnds is stored with EDITDATA, they're not part of the template, just added by your project, so you just copy them over to EDITDATA in Common.h. Anything inside rdPtr is still there in Edif, accessible from your extension - you can use rdPtr or Runtime. Functions like generating events are as simple as Runtime.GenerateEvent(3)

    If you want more fine-tuned guidance, you can talk to me on the official Clickteam Discord. It has an ext-dev channel.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Replies: 0
    Last Post: 19th April 2016, 10:27 PM
  2. Replies: 6
    Last Post: 20th March 2015, 12:29 AM
  3. Extension SDK - Can't make WindowProc interception work
    By GrayFace in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 6th November 2012, 10:09 PM
  4. control of events at the microphone
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th May 2011, 10:35 PM
  5. [Help] Get rdPtr from WindowProc function
    By Sphax in forum Extension Developers Lobby
    Replies: 11
    Last Post: 18th July 2007, 08:23 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
  •