Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Start Menu Interface Item

Start Menu Interface Item
Thread Tools
Mac Elite
Join Date: Jan 2001
Location: New York
Status: Offline
Reply With Quote
Jul 22, 2001, 01:46 PM
 
I'm working on a program that is like a Start Menu clone. I'm using a
drawer with NSButtons inside of it for the menu, but then when each
button is clicked I'm not sure what interface element to use for the
popping out side menu. This side pop out menu needs to be able to list
items with icons and then allow them to be either singly selected as in
a regular menu, or just simply clicked on.

Any suggestions welcome.
Thanks in advance,
David
     
Junior Member
Join Date: Apr 2001
Location: Seattle, WA, USA
Status: Offline
Reply With Quote
Jul 22, 2001, 05:17 PM
 
Not to be obtuse, but have you thought about using NSMenuView?
     
davecom  (op)
Mac Elite
Join Date: Jan 2001
Location: New York
Status: Offline
Reply With Quote
Jul 22, 2001, 05:25 PM
 
I thought about using NSMenuView, but it entails two difficulties. First I would need to subclass it(And I'm not sure how to write the SizeToFit method), and second I need something that doesn't require a window around it. I have an idea though. I may use a borderless window with a list view of some kind and then just calculate it's placement. This seems clunky though.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jul 23, 2001, 04:55 PM
 
You can't have multiple subdrawers, so it looks like you'll have to just create some windows... You could then draw into them using a custom view, if you wanted...
     
davecom  (op)
Mac Elite
Join Date: Jan 2001
Location: New York
Status: Offline
Reply With Quote
Jul 23, 2001, 10:07 PM
 
Yes, this is what I did. An invisible window and with a view filled with square buttons on top of it.

Problem solved.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:44 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2