2 requests - menu & toolbar

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

2 requests - menu & toolbar

Post by kenmo »

Hey, I have two fairly simple requests (well, simple to ask for, maybe not simple to program) concerning windows. First, could there be a couple commands for setting/changing/removing a menu item icon? I know there are a few workaround examples, such as changing the checkmark image and setting the item's state to 1, but it would be much cleaner to have a single SetMenuItemIcon() or similar command.

Also, for AddStatusBarField(), how about if -1 is entered as the width, it will automatically resize? Because on my current project I have two fields, the first one with a fixed length, and Id like the second one to always go to the end of the window.

Thats all, thanks.