🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by Robert D. Nicholson Wed, 11 Nov 1992 22:53
Window class question
#1538
Author: Robert D. Nicholson
Date: Wed, 11 Nov 1992 22:53
26 lines
1352 bytes
I am trying to do the exploding menu things where all menus are 
displayed on the screen at once.

A problem im having is how to get the close-button to appear on
each menu.

The way I see it, is that its rather wierd since IB cannot visually
add and create the close button in IB iself.

Now, there seems to be no method as such to allow me to create the button
in the windows frameView.

I have got a method which manipluates the menus buttonMask but I need to
be able to "redraw" the menu to reflect the new buttonMask, however I think
its necessary for something to go off and actually create me a button and
connect is to close:

So the question is Do I need to send my menus LMOUSE_DRAGGED events to have
it think im dragging a menu hence "tearing off" and the appkit does the rest
or am I missing something.

The behaviour I am looking for is present in AI3.0 and DataPhile/Reality

Cheers.

Besides being a nifty UI feature its also a very interesting appkit excercise.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads