May 07, 2024, 09:28:43 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Menu Icons.

Started by rossjade, September 01, 2008, 05:29:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rossjade

Hi all...

My question is ...

Is it possible to display icons within a menu list ?

I would appreciate any help on this subject.

sapero

Sure, there is SetMenuItemBitmaps for this. See in attachment for example with two images.
SetMenuItemBitmaps(hMenu, 0, 0x400, g_hBitmap1, g_hBitmap1) :' first item - Open
SetMenuItemBitmaps(hMenu, 1, 0x400, g_hBitmap2, g_hBitmap2) :' second item - Save