On Sep 24, 2006, at 4:02 PM, Tim Jones wrote:

I've been doing this to emulate tear-off menus in X11 on OS X. It should work right for a palette window as well.

I create a Windows class that is an Application Floating Window
I add enough BevelButtons to handle my largest tear-off (palette)
I create a New instance of the window with the proper number of Bevelbutton controls visible and populate the captions with the menu items
I then size the new window to fit only the visible bevelbuttons

Thanks... I was thinking of using a listbox, but while there are a lot of ways to make/fake a pallet, but how would I tie it into the menu system to behave like a submenu rather than using a menu selection to display it by itself?

- Karen


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to