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.