QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: SpriggsySpriggs on June 30, 2021, 12:53:48 pm
-
I've been working behind the scenes on Discord and making a new library, of sorts, to use the TaskDialogIndirect function set. It's basically a super beefy message box but uses a callback function to send messages back to the host process. This function set was introduced in Windows Vista and has been used in each system since. If you want to read up on it then you may do so by clicking here (https://docs.microsoft.com/en-us/windows/win32/controls/task-dialogs-overview).
The main issue I'm having with making this available for us (you) is not the actual conversion but the question of whether or not it will be worth the time to show anyone here or instead use it for my own purposes in my own code. I shall explain what I mean.
- It requires 9 external libraries, all predefined in the code I have written so far
- It would require that you customize a callback function for your specific use-case for each new program (if you require different functionality each time)
- It would require that you create a manifest file matching the filename of your executable in order to use a program at all with this code
- This code would be separated out into both a BI and BM file
- The initial creation of the dialog box can take several lines of code, depending on how complex you need it to be
Here are some videos that you can watch to see if you would be interested in this new project and would like me to post a library to the forum with full code:
-
@SpriggsySpriggs
I enjoy looking at your code. You make it seem so easy when in fact windows programming is the most complicated on the planet.
I tried to learn VBA (a dialect of windows API stuff) for about 2 months and got a fairly good grasp of it. My questions baffled the experts but I got frustrated with it.
I find the API can do things no other can. There are not many API programmers at you level of expertise. Mostly because computer courses on windows programming start at $20,000
-
Sounds interesting, @SpriggsySpriggs. You sure are leading the pack in the API department. And thank you for all your code contributions.
I probably wouldn’t need to use this library, but I’d be interested in seeing how you code the callback stuff.
- Dav
-
@Dav Here is my post for it: https://www.qb64.org/forum/index.php?topic=4032.0 (https://www.qb64.org/forum/index.php?topic=4032.0)
-
Thanks, @SpriggsySpriggs.
(Checked out your other vids. And LOL - make that enjoying - the lipsync stuff. Creative!)
- Dav