Newsgroups: comp.windows.open-look
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!fernwood!lia!anil
From: anil@lia (Anil Somani)
Subject: Ques on Menus...
Message-ID: <1991Apr16.040628.12294@lia>
Reply-To: anil@helix.UUCP (Anil Somani)
Organization: Litton/Integrated Automation, Alameda, California
Distribution: usa
Date: Tue, 16 Apr 91 04:06:28 GMT

	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

