how can i create a pop up menu

Hi,
How should i do the following,

A pallette (of 4 colors) should be accessible on a pop up menu from a button in the command box area which displays the currently selected color.

What windowing system are you using? GL isn’t quite that high-level .

Chris