BBC BASIC for Windows
« Menu Bar »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:27pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Menu Bar  (Read 485 times)
JB91
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 47
xx Menu Bar
« Thread started on: Jan 10th, 2012, 4:44pm »

In the BB4W Wiki it shows how to put images next to the options in a combo box. Is it possible to do this but with a menu bar instead of a combo box?

Josh.
« Last Edit: Jan 10th, 2012, 6:52pm by JB91 » User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Menu Bar
« Reply #1 on: Jan 10th, 2012, 5:27pm »

on Jan 10th, 2012, 4:44pm, JB91 wrote:
In the BB4W Wiki it shows how to put images next to the options. Is it possible to do this but with a menu bar instead of a combo box?

You can put images next to menu items in drop-down menus, so quite probably you can do it in a Menu Bar too, but I've never tried.

For putting images alongside menu items check out the MENUITEMINFO structure here:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms647578.aspx

You'll need to put the bitmap handle(s) in the hbmpChecked and hbmpUnchecked members, and set the MIIM_CHECKMARKS flags in fMask.

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls