The Real-Player application inserts it's own Logo between the TitleBar and MenuBar (see image bove).
It was cool (now it's not that I know how to do it ). Do you want to insert your Logo
like Real-Player does?
Then, Just follow me. :)
Here's how to create this very cool effect.
Create Dialog-based Project (can be either SDI or MDI, but we're using a dialog-based app
for this demo).
Insert your Logo bitmap file to your project.
To make room for drawing your Logo, insert a dummy menu item into
your menu resource like 'menu for Image' at the first position on the menu.
Implement the OnMeasureItem() method so that you can modify the menu width
to make room for the Logo on the menu.
The 8 steps shown here are all you need to do to achieve this very cool look!
However, you might want to take this even further. For example, you might want to
hide system icon. I would welcome anyone wanting to amend my article with that
enhancement.
Member of Ajou University Computer Club - C.C.
Add www.codeguru.com to your favorites Add www.codeguru.com to your browser search box IE 7 | Firefox 2.0 | Firefox 1.5.xReceive news via our XML/RSS feed
RATE THIS ARTICLE:
Excellent Very Good Average Below Average Poor
(You must be signed in to rank an article. Not a member? Click here to register)