Notifications
Clear all

[Closed] How to make a menu with button pressed?

Hi,
Does anyone know how to make a menu with simple button pressed like below?I have a project need to custom menus,maybe few people use this type of menu,I did not find solution after searching forum ,please help,thanks.

rollout botton_menu "menu_button"
 (
 	button menu "menu" width:120 height:20
 	on menu pressed do 
 	(
 		--creating a menu
 	)
 )
 CreateDialog botton_menu 200 40 style:#(#style_titlebar, #style_border, #style_sysmenu,#style_resizing,#style_minimizebox)  
 

2 Replies

#1: search the mxs help for rcmenu
#2: search this forum for rcmenu. i’m sure there are many samples there. here is the one: http://forums.cgsociety.org/showpost.php?p=6221726&postcount=2

1 Reply
(@momo2012)
Joined: 11 months ago

Posts: 0

Wow,thanks denisT,maybe I used wrong keyword for searching,i did not use rcmenu before,i’ll try