🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #494

Re: How to increase the height of the menu item?

#494
From: Remy Lebeau (TeamB)
Date: Mon, 17 Mar 2008 16:50
14 lines
1348 bytes
"Renald Yazmir" <renald@partmaker.com> wrote in message 
news:47de7689@newsgroups.borland.com...

> How can increase the height of the menu item in
> order to display a bitmap icon by using
>
> SetMenuItemBitmaps(hMenu, id, MF_BYCOMMAND, hBitmap, hBitmap);

You have to set the menu item to be owner-drawn.  You can then respond to 
the WM_MEASUREITEM message for that item.


Gambit
Technical Details
Message-ID: <47dea190$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47de7689@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fe96c06e62fe8dc6
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <47de7689@newsgroups.borland.com>
Subject: Re: How to increase the height of the menu item?
Date: Mon, 17 Mar 2008 09:50:16 -0700
Lines: 16
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 207.178.157.90
Message-ID: <47dea190$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1205772688 207.178.157.90 (17 Mar 2008 09:51:28 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail