Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / January 2004



Tip: Looking for answers? Try searching our database.

popup menu in dialog box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
patrox - 14 Jan 2004 18:37 GMT
Hello

I can't figure how to do a popup menu in a dialogbox.

If anybody has some detailed instructions i would be very grateful.

i just want some sort of combobox displaying 5 languages
Item1
Item2
Item3
Item4
Item5

I only have 5 items. and when the dialog box is relaunched it has to be
selected on the item the previously chose.

I'm using CW, MacOS X, carbon and resedit.
Thank you.
pat.
Sean McBride - 15 Jan 2004 02:29 GMT
> I can't figure how to do a popup menu in a dialogbox.
>
[quoted text clipped - 6 lines]
> Item4
> Item5

It's called a 'pop-up menu'.

> I only have 5 items. and when the dialog box is relaunched it has to be
> selected on the item the previously chose.

You will probably have to remember and reset this yourself.

> I'm using CW, MacOS X, carbon and resedit.

IIRC, ResEdit is so old that it does not have popup menus in its GUI.  
But it can still be done, but I dunno how... You don't have Resorcerer
do you?  It would help.
neele - 19 Jan 2004 06:27 GMT
Hello..

Take a look at the URL it contains samplecode N you can download the sample,
open it using ResEdit for the rsrc file.
http://developer.apple.com/samplecode/Sample_Code/Human_Interface_Toolbox/Mac_OS
_High_Level_Toolbox/Dialog_popups.htm


Follow how it create the pop up :)
U need to create a Menu and a Control......
Hope it helps, i help me when i starting to create it.

Best Regards
Eleen
> Hello
>
[quoted text clipped - 15 lines]
> Thank you.
> pat.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.