Re: [Plib-users] Plib beginner questions
Brought to you by:
sjbaker
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2007-02-20 19:08:30
|
Eoin, Please pardon the delay in getting back to you on this. I saw where somebody else has already responded. Have you been able to fix your problem? John F. Fay Technical Fellow Jacobs Technology TEAS Group 850-883-1294 -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Eoin Daly Sent: Monday, February 12, 2007 8:31 AM To: pli...@li... Subject: [Plib-users] Plib beginner questions Hi, hows it going, i just started using Plib to add some PUI widgets to an application i'm creating using GLUT and i just want to be pointed in the right direction. I want to design the app so that the user clicks an "Add object" button and the dialog box opens where the user can then enter the dimensions of the object. When the user clicks OK the dialog box should close and the object dimensions should be added to the program. I have it all working fine except i want a table to display the different object that the user has created. The user should then be able to highlight a row and hit a "Remove" button to delete an object. What widget should i use for this and how? I've been trying to use the puListBox but i can get it working right, and when i try to use the newList() functions in the callback from the OK button in the dialog box i get a runtime error. Is there any other widget that might be more suitable or is there someway of getting puListBox to do the job. Any suggestions will be greatly appreciated, i'm totally new to this and am getting really stuck with this problem. Thanks, Eoin |