Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Marcb 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
-
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... :)
-
Thanks mate,
I never learnt assembly, maybe if you posted it in pseudo code though?
Cheers,
Marc
-
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... :)
-
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
-
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... :)
-
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
-
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
-
Listview example:
http://thomas-rapp.homepage.t-online.de/examples/lv.c
Other Gadtools examples:
http://thomas-rapp.homepage.t-online.de/examples/gadtools.c
http://thomas-rapp.homepage.t-online.de/examples/gtmenu.c
http://thomas-rapp.homepage.t-online.de/examples/scroll.c
http://thomas-rapp.homepage.t-online.de/examples/iconify.c
-
Perfect!
Thanks Thomas
Cheers,
Marc