Grab the new user lib at http://home.c2i.net/PreachersPlace/
Contains a slightly better documented example and reference file.
Enjoy!
Preacher
New Userlib: OwnGadget v1.1
- NoahPhense
- Addict

- Posts: 2000
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
Re: New Userlib: OwnGadget v1.1
Kewl, thanks..
- np
- np
Hi Erland,
Sorry to take so long to get back to you (I am flat out with a heap of non-PB stuff at the mo, and for a little while more).
But I was drooling to try this and so snuck a few moments in.
It looks really good. Thanks for the added functionality. I would like to use this to replace some really clumsy code in some stuff I have done, if OK with you.
A question on OG_CreateGadgetType. This always returns 0, but also creates the gadget.
The doc says "Returns: Non Zero if sucessfull". Is this something you need to be aware of or wanted reported?
Anyhow, this is cool. Can't wait to the non-PB stuff done so I can incorporate this in some existing code!
Sorry to take so long to get back to you (I am flat out with a heap of non-PB stuff at the mo, and for a little while more).
But I was drooling to try this and so snuck a few moments in.
It looks really good. Thanks for the added functionality. I would like to use this to replace some really clumsy code in some stuff I have done, if OK with you.
A question on OG_CreateGadgetType. This always returns 0, but also creates the gadget.
Code: Select all
If OG_CreateGadgetType("MYGADGET",-1,"")=0
MessageRequester("!","OG NOT CREATED",0)
EndIfAnyhow, this is cool. Can't wait to the non-PB stuff done so I can incorporate this in some existing code!

