Page 1 of 1
Creating Gadgets?
Posted: Thu Mar 27, 2008 12:50 am
by Xombie
Howdy,
I'd like to try this out with creating PB compatible gadgets. Is there an example or small tutorial on how to do it?
Thanks for all the hard work!
Posted: Thu Mar 27, 2008 1:30 am
by Mistrel
ABBKlaus wrote:Mistrel wrote:Tailbite is also missing the TB helper library for creating gadgets, the TB_GadgetExtension.res file, and the example described in the Tailbite documentation.
They where removed because they won´t work in all PureBasic Versions and i cannot guarantee that they work in future versions of PB.
Posted: Thu Mar 27, 2008 9:23 am
by Progi1984
Posted: Thu Mar 27, 2008 7:37 pm
by Mistrel
Your link to the source in the post is dead.
Posted: Thu Mar 27, 2008 7:44 pm
by Progi1984
Posted: Thu Mar 27, 2008 8:16 pm
by Xombie
Interesting code, Progi. I'll definitely dig through that later.
Another question - how can I load information from a resource file? I have cursors that I use from a resource file.
Posted: Thu Mar 27, 2008 8:45 pm
by ts-soft
Here:
http://www.purebasic.fr/english/viewtop ... 940#140940
is an old code for creating gadgets in PB4 +
i think, you can't put res in a userlib.
Posted: Thu Mar 27, 2008 9:32 pm
by Xombie
Is it possible somehow with a DataSection? Maybe even some way other than using residents?
Posted: Thu Mar 27, 2008 9:37 pm
by ts-soft
I think, the best way is, the programm, using your gadgets, imports the *.res