[comp.windows.open-look] Ques on Menus...

anil@lia (Anil Somani) (04/16/91)

	When love is gone, there's always justice.
	And when justice is gone, there's always force.
	And when force is gone, there are always gurus.

Hi gurus,

This could be a basic ques. But i have no idea where else to go to..

Is it possible to bring up a menu by clicking on the panel-button??.

Here is what i am doing and what i wish to do..
I have a panel with bunch of buttons, each of them are associated with
a different set of menus. The way it works presently is:

I select the button in the panel area, then click the right-mouse-button
in the canvas area which displays the menu, if there is a pullright i
then go on and so forth.

Now I want to change the panel button in the way that if i select the
purticular button i would like to display its menu in the canvas_pw area
without having to click on the right-mouse-button. 

Is it possible?? What are the things i have to do in the callback routine
of that panel button??

Any help would be highly appreciated.

Please email me the ans.

Thanx in advance.

Sincerely,

Anil