ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/May-Jun/WorkSpace-like-...

This is WorkSpace-like-... in view mode; [Up]


Date: Sun 25-Jun-1989 18:08:00 From: Unknown Subject: WorkSpace like ... Does anyone know how workspace implemets view by icon? Is it a scrollview with its contentview set to matrix of cells that are associated with icons? I am trying to write something that allows me to drag an icon from it to another window(same application), virtually like you drag a icon(TIFF) from work space to the demo program icon. Any suggestions? Thanks! --yufeng Yufeng Tsui, IU. HOME OF HOOSIERS {ihnp4!inuxc,rutgers,pyramid}!iuvax!silver!tsui tsui@silver.bacs.indiana.edu (192.12.206.2) >From: ric@arizona.edu (Ric Anderson)
Date: Sun 26-Jun-1989 06:53:52 From: Unknown Subject: Re: WorkSpace like ... In article <133000004@silver> tsui@silver.bacs.indiana.edu writes: >Does anyone know how workspace implemets view by icon? Is it a scrollview >with its contentview set to matrix of cells that are associated with icons? >I am trying to write something that allows me to drag an icon from it to >another window(same application), virtually like you drag a icon(TIFF) from >work space to the demo program icon. Simply register a window from your application with the Workspace Manager and you will get a message whenever the user drags a file icon from a Workspace Manager window to your window. Take a look at the DrawDocument class in the source for the Draw program, provided in /NextDeveloper/Examples/Draw. As you might guess, this indicates that you need not be concerned with the exact implementation of the Workspace icon view window. (It probably is a ScrollView whose docView is a custom view...) Ali Ozer, NeXT Developer Support aozer@NeXT.com >From: morrison@grads.cs.ubc.ca (Rick Morrison)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.