[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help!!! I'm "trap"ped...
- To: info-macl@cambridge.apple.com
- Subject: Help!!! I'm "trap"ped...
- From: Josh Lubell <lubell@cs.UMD.EDU>
- Date: Mon, 15 Oct 90 17:04:33 -0400
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