[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help!!! I'm "trap"ped...

How do I let the MACL top level event loop know about windows that I
create using traps? Do I need to create ObjectLisp Objects? 

Here is what I'm doing:

(lisp:in-package 'ccl)

(%stack-block ((boundsrect 8) (title 255))
   (%put-word boundsrect 100 0) (%put-rect boundsrect 100 2)
   (%put-rect boundsrect 300 4) (%put-rect boundsrect 400 6)
   (%put-string title "My Window" 0)
   (setf my-window (_newcwindow :ptr 0 :ptr boundsrect :ptr title 
                :word -1 :word 8 :ptr -1 :word -1 :long -1 :ptr)))

This creates a window but I can't move it with the mouse or select it
from the MACL window menu.

Thanks for any help you can give me...

                            -Josh Lubell