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.
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.
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)
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.