It is currently Thu Nov 21, 2019 1:04 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: OpenSubMenu()
PostPosted: Wed Jun 12, 2019 7:07 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3703
Location: Berlin, Germany
Return value

None.

Remarks

It is not possible to rename an OpenSubMenu easily except with Windows which returns a menu number.
Ex:
SubMenu = OpenSubMenu ("New")
SetMenuItemText (0, SubMenu, "Open")

So there actually is a return value, and at least on Windows it has a meaning.
"None" is wrong.

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenSubMenu()
PostPosted: Wed Jun 12, 2019 11:10 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu Apr 18, 2019 8:17 am
Posts: 394
And the return value can also be used to disable the submenu.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye