can an optional imageid parameter be added to OpenSubMenu(), like that of MenuItem()?
When using a popup menu with images I would like to add an image to the sub menu title. Unless I'm mistaken, this is currently not possible?
OpenSubMenu() with image
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
OpenSubMenu() with image
Demonio Ardente
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Re: OpenSubMenu() with image
+1
Just started to explore icons in menus and was surprised to see this not yet
supported. So, yeah, I'd like to see it added too. The big gap left by it makes
the menus look... ugly.

Just started to explore icons in menus and was surprised to see this not yet
supported. So, yeah, I'd like to see it added too. The big gap left by it makes
the menus look... ugly.


I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
[+1]
But how about this? http://www.purebasic.fr/english/viewtopic.php?t=35859
|-D. Okay, no text there, but I like it.
But how about this? http://www.purebasic.fr/english/viewtopic.php?t=35859
|-D. Okay, no text there, but I like it.
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
I just found (and updated) GreenGiant's code here:
http://www.purebasic.fr/english/viewtop ... 0&start=15
A native solution is still my wish, though.
http://www.purebasic.fr/english/viewtop ... 0&start=15
A native solution is still my wish, though.

I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.