1. RE: win32lib: how to get icons in menus ?

Dan Moyer wrote:
> 
> 
> Peter,
> 
> For SetMenuItemBitmaps, there's some MS info here:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui
> 
> /windowsuserinterface/resources/menus/menureference/menufunctions/setmenuite
> 
> mbitmaps.asp
> 
> if you can use that url, doesn't make a lot of sense to me.  A problem
> mentioned is that it only works with monochrome bitmaps, bummer.  There 
> must
> be some way to use color, I've seen it.
> 
> Dan Moyer
> 
> ----- Original Message -----
> From: "Peter Willems" <peter at integratedmoves.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Tuesday, July 29, 2003 2:54 AM
> Subject: win32lib: how to get icons in menus ?
> 
> 
> > The subject says it all. Is it possible and if so, how can I do it.
> >
> > Hans Peter Willems
> >
> >
> > TOPICA - Start your own email discussion group. FREE!
> >
> 

Hey, you're right Dan, that function is not recommended for 
color bitmaps on a menu item.  
According to the documentation, drawing a color bitmap on
a menu item requires creating owner-drawn menu items, which
takes a bit more processing.

Take care for now,
Al

new topic     » topic index » view message » categorize

2. RE: win32lib: how to get icons in menus ?

Dan Moyer wrote:

> For SetMenuItemBitmaps, there's some MS info here:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui
> 
> /windowsuserinterface/resources/menus/menureference/menufunctions/setmenuite
> 
> mbitmaps.asp
> 
> if you can use that url, doesn't make a lot of sense to me.  A problem
> mentioned is that it only works with monochrome bitmaps, bummer.  

   I was afraid that someone would throw this stuff at me blink

> There must
> be some way to use color, I've seen it.
 
   I can do it in my "other" language, but there it is an integrated
   option in the IDE.

   I've seen an Eu demo program that does it too, but without using
   the win32lib. I thought maybe there was something hiding in the
   win32lib, so I asked. Going to look at that other demo code (but
   I think I remember that it was monochrome also).

Hans Peter Willems

new topic     » goto parent     » topic index » view message » categorize

3. RE: win32lib: how to get icons in menus ?

Peter Willems wrote:
> 
> 
> Dan Moyer wrote:
> 
> > For SetMenuItemBitmaps, there's some MS info here:
> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui
> > 
> > 
> > /windowsuserinterface/resources/menus/menureference/menufunctions/setmenuite
> > 
> > 
> > mbitmaps.asp
> > 
> > if you can use that url, doesn't make a lot of sense to me.  A problem
> > mentioned is that it only works with monochrome bitmaps, bummer.  
> 
>    I was afraid that someone would throw this stuff at me blink
> 
> > There must
> > be some way to use color, I've seen it.
>  
>    I can do it in my "other" language, but there it is an integrated
>    option in the IDE.
> 
>    I've seen an Eu demo program that does it too, but without using
>    the win32lib. I thought maybe there was something hiding in the
>    win32lib, so I asked. Going to look at that other demo code (but
>    I think I remember that it was monochrome also).
> 
> Hans Peter Willems
> 

Hi Peter,

Take a look on the MS site under Owner Drawn Menu Items.

Take care,
Al

new topic     » goto parent     » topic index » view message » categorize

4. RE: win32lib: how to get icons in menus ?

Dan Moyer wrote:

> What's the other demo & where's it from?

   Hey Dan,

   All the stuff I have gathered comes from the Euphoria site.
   The demo is in the file winapi5.zip by Euman.

   Also, the file arwen.zip has some nice menu tricks.

Hans Peter Willems

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu