Author Topic: Question for all QB64 Forum-ites  (Read 2980 times)

0 Members and 1 Guest are viewing this topic.

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Question for all QB64 Forum-ites
« 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.

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:





« Last Edit: July 01, 2021, 12:50:54 am by SpriggsySpriggs »
Shuwatch!

Offline NOVARSEG

  • Forum Resident
  • Posts: 509
    • View Profile
Re: Question for all QB64 Forum-ites
« Reply #1 on: July 01, 2021, 02:29:33 am »
@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

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: Question for all QB64 Forum-ites
« Reply #2 on: July 01, 2021, 08:03:31 am »
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

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Question for all QB64 Forum-ites
« Reply #3 on: July 01, 2021, 08:35:30 am »
Shuwatch!

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: Question for all QB64 Forum-ites
« Reply #4 on: July 01, 2021, 02:56:26 pm »
Thanks, @SpriggsySpriggs

(Checked out your other vids.  And LOL - make that enjoying - the lipsync stuff.  Creative!)

- Dav
« Last Edit: July 01, 2021, 02:58:33 pm by Dav »