Welcome, Guest. Please login or register.

Author Topic: GadTools  (Read 2854 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MarcbTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2007
  • Posts: 407
    • Show only replies by Marcb
GadTools
« on: October 23, 2010, 07:42:11 AM »
I've been trying to set up a simple Window In C with a ListView and having all sorts of problems...

Using the examples from the rkm the listview doesn't display other than the title, however if I select the listview and then I exit the program I sometimes get a guru...

Using code generated by Gadtoolsbox the listview displays correctly but again if selected and then exit I sometimes get a guru...

Anybody able to give me an example of a listview using Gadtools?

Cheers,

Marc
"...but some animals are more equal than others."
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: GadTools
« Reply #1 on: October 23, 2010, 07:54:29 AM »
Quote from: Marcb;586375
I've been trying to set up a simple Window In C with a ListView and having all sorts of problems...

Using the examples from the rkm the listview doesn't display other than the title, however if I select the listview and then I exit the program I sometimes get a guru...

Using code generated by Gadtoolsbox the listview displays correctly but again if selected and then exit I sometimes get a guru...

Anybody able to give me an example of a listview using Gadtools?

Cheers,

Marc


I could dig out some of my own code showing you how it works in 68k Assembler, but as your writing in C this may not be of much help to you, let me know anyway and I'll post some examples if you think it may help... :)
 

Offline MarcbTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2007
  • Posts: 407
    • Show only replies by Marcb
Re: GadTools
« Reply #2 on: October 23, 2010, 07:57:49 AM »
Thanks mate,

I never learnt assembly, maybe if you posted it in pseudo code though?

Cheers,
Marc
"...but some animals are more equal than others."
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: GadTools
« Reply #3 on: October 23, 2010, 08:03:31 AM »
No problem, :)

I'll just nip off now and dig through some of my old source code and see what info I can find that might be useful to you... :)
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: GadTools
« Reply #4 on: October 23, 2010, 08:17:52 AM »
While I'm finding the stuff, just thought you may want to check out here on Aminet for lot's of interesting stuff on GadTools... :)

http://aminet.net/search?query=gadtools
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: GadTools
« Reply #5 on: October 23, 2010, 08:48:48 AM »
Hmm, can't find much on my HDs that would be of use to you sorry, I must have archived most of my gadtools source code onto DVD. It's gonna take me a while to find it (nearly 500GB of stuff to search through and nothings labeled... DOH!!!) :(

In the meantime you can find all you need to know about GadTools from this link, including examples in C, which would suit you much better... :)

GadTools - Structures, Info & Examples

http://cataclysm.cx/random/amiga/reference/Libraries_Manual_guide/node0062.html

Hope this helps in the meantime... :)
 

Offline MarcbTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2007
  • Posts: 407
    • Show only replies by Marcb
Re: GadTools
« Reply #6 on: October 23, 2010, 09:19:22 AM »
Thanks for looking, hadn't thought to look on Aminet myself :)

I'll go throug some of the stuff on there and see if I can work out what I'm doing wrong...

Thanks again,
Marc
"...but some animals are more equal than others."
 

Offline espskog

  • Full Member
  • ***
  • Join Date: Mar 2010
  • Posts: 210
    • Show only replies by espskog
Re: GadTools
« Reply #7 on: October 23, 2010, 10:42:22 AM »
Quote from: Marcb;586375
I've been trying to set up a simple Window In C with a ListView and having all sorts of problems...

Using the examples from the rkm the listview doesn't display other than the title, however if I select the listview and then I exit the program I sometimes get a guru...

Using code generated by Gadtoolsbox the listview displays correctly but again if selected and then exit I sometimes get a guru...

Anybody able to give me an example of a listview using Gadtools?


We used GadToolsBox when we developed Interplay (Amiga CDDA player) back in..hmm..199x :-) It worked like a dream and we used SAS C as the development tool.

Regs,
Espen Skog
SilverHawk BBS - http://telnet://silverhawk.ath.cx
 


Offline MarcbTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2007
  • Posts: 407
    • Show only replies by Marcb
Re: GadTools
« Reply #9 on: October 24, 2010, 05:07:48 AM »
Perfect!

Thanks Thomas


Cheers,

Marc
"...but some animals are more equal than others."