Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ames!elroy!peregrine!ccicpg!felix!dhw68k!thecloud From: thecloud@dhw68k.cts.com (Ken McLeod) Newsgroups: comp.sys.mac.programmer Subject: Re: Floating palettes Message-ID: <19995@dhw68k.cts.com> Date: 16 Feb 89 12:07:37 GMT References: <7554@csli.STANFORD.EDU> Reply-To: thecloud@dhw68k.cts.com (Ken McLeod) Organization: Wolfskill & Dowling residence; Anaheim, CA (USA) Lines: 30 In article <7554@csli.STANFORD.EDU> wilson@csli.UUCP (Nathan Wilson) writes: >I'm considering using floating palettes in an object oriented graphics >editor (as per a large number number of graphics programs including >MacPaint 2.0). I vaguely remember someone mentioning an article on >how to do them. Does any one have this reference? Or for that matter >does anyone have any example source code that does them? Are such >palettes considered a serious violation of the user interface >guidelines? Is there or will there ever be an Apple approved >mechanism for them? Is there something people like better? MacTutor, Vol.4 No.4 (April 1988): "Tear-Off Menus & Palettes" MacTutor, Vol.4 No.5 (May 1988): "Missing WDEF Routine" (for above) MacTutor, Vol.4 No.12 (Dec. 1988): "Tool Window Manager" All of the above examples are in C, but should be relatively easy to translate into other high-level languages. Opinions differ as to whether tear-off palettes are a good idea. There is no Apple-approved mechanism for them; you'll need to do all the work yourself. As I recall, the authors of the first example above implemented their own custom MDEF and WDEF to communicate with the application's code. Good luck... -ken -- ========== ....... ============================================= Ken McLeod :. .: felix!dhw68k!thecloud@ics.uci.edu ========== :::.. ..::: InterNet: thecloud@dhw68k.cts.com //// =============================================