New Userlib: OwnGadget v1.1

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Erlend
Enthusiast
Enthusiast
Posts: 131
Joined: Mon Apr 19, 2004 8:22 pm
Location: NORWAY

New Userlib: OwnGadget v1.1

Post by Erlend »

Grab the new user lib at http://home.c2i.net/PreachersPlace/

Contains a slightly better documented example and reference file.

Enjoy!
Preacher
User avatar
NoahPhense
Addict
Addict
Posts: 2000
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: New Userlib: OwnGadget v1.1

Post by NoahPhense »

Kewl, thanks..

- np
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Thanks. :)

Will play with it tonight. :)
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

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.

Code: Select all

If OG_CreateGadgetType("MYGADGET",-1,"")=0
  MessageRequester("!","OG NOT CREATED",0)
EndIf
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! :)
User avatar
Erlend
Enthusiast
Enthusiast
Posts: 131
Joined: Mon Apr 19, 2004 8:22 pm
Location: NORWAY

Post by Erlend »

Hi Dare2

I will look at the OG_CreateGadgetType() function tonight, sounds like a small bug. And yes sure it's ok to use it, I haven't stated it anywhere in the docs but the lib is public domain and It's only cool if people use it. :D
User avatar
Erlend
Enthusiast
Enthusiast
Posts: 131
Joined: Mon Apr 19, 2004 8:22 pm
Location: NORWAY

Post by Erlend »

Finnally found some time to fix the problem, fixed version is available at home.c2i.net/PreachersPlace/

Enjoy
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Hi Erlend,

Thanks. Downloading now. :)

Ack. Been mistyping your nick. Sorry!
Post Reply