Fire (and handle) custom events
Fire (and handle) custom events
I would like to fire my own events (and pass my own data with the event) and handle it by callback function which are also registered with "InstallEventHandler".
Would be cool if this could be implemented.
Would be cool if this could be implemented.
Currently using: Hollywood 9 with Windows IDE and Hollywood 9 with Visual Studio Code and hw4vsc
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Fire (and handle) custom events
What for? Can't you call the event callback directly?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Fire (and handle) custom events
Turns out I need something exactly like this for some RapaGUI 2.0 functionality, so here it is
Code: Select all
- New: Added RunCallback() function to event library; this function can be used to push a user callback
into the event queue; the callback won't be run immediately but the next time the event queue is emptied
by WaitEvent() or CheckEvent()
Re: Fire (and handle) custom events
Hah, perfect, thank you! Looks good. Will see how that works then. And sorry for not responding here - I was still on my vacation and later I forgot this thread. :-/
PS: Any ideas when RapaGUI 2.0 could be released? I am using it kinda heavily right now. Will post about the project some time later (weeks).
PS: Any ideas when RapaGUI 2.0 could be released? I am using it kinda heavily right now. Will post about the project some time later (weeks).
Currently using: Hollywood 9 with Windows IDE and Hollywood 9 with Visual Studio Code and hw4vsc
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Fire (and handle) custom events
It's delayed but the good news is that there'll be a whole lot of new features. So many that I was even considering bumping it to 3.0 because 2.0 was the one that was released with Hollywood 8.0 for Android but I think I'll keep it at 2.0 and we consider the version released with Hollywood 8.0 in February a preview...
Re: Fire (and handle) custom events
Sounds good! Take your time. I know it will be great!
Currently using: Hollywood 9 with Windows IDE and Hollywood 9 with Visual Studio Code and hw4vsc
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Fire (and handle) custom events
Off topic (though related to RapaGUI 2.0):
Not wanting to add more to your workload, but I was wondering if functions such as HidePointer() will work with Hollywood displays inside RapaGUI windows in version 2.0? (Using the IPC library with RapaGUI would be nice too.)
Not wanting to add more to your workload, but I was wondering if functions such as HidePointer() will work with Hollywood displays inside RapaGUI windows in version 2.0? (Using the IPC library with RapaGUI would be nice too.)
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Fire (and handle) custom events
Currently not but I can add this to the to do listPEB wrote: ↑Tue Sep 24, 2019 10:05 pm Off topic (though related to RapaGUI 2.0):
Not wanting to add more to your workload, but I was wondering if functions such as HidePointer() will work with Hollywood displays inside RapaGUI windows in version 2.0? (Using the IPC library with RapaGUI would be nice too.)