• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 143
  • Last Modified:

Win95 Look a Like

How do i code my own OS ? <just kidding>

I want to display a bitmap in my menus like the one under the start button (Windows 95 / Windows NT) How do i create such a thing ?

Best regards, Arijan Luiken
0
aluiken
Asked:
aluiken
  • 2
  • 2
1 Solution
 
ZifNabCommented:
Well, you could create your own or use a already created component for that. Go to this site and take a look at the freeware stuff (great things)

 http://ns.mygale.org/~jlucm/

In there you'll find some components to put bitmaps, next to your menus.

Have fun!
Regards,
ZifNab;
0
 
aluikenAuthor Commented:
No i mean the big bit map not a small one..
0
 
JimBob091197Commented:
You need to override your form's WndProc and trap the WM_MEASUREITEM and WM_DRAWITEM messages.  You use these to provide the size of the menu item and to owner-draw the menu item.  You also need to insert the menu items manully specifying the MFT_OWNERDRAW flag.  If you give your e-mail address I will send you a sample app which does this.

JB
0
 
aluikenAuthor Commented:
Ok my email is : aluiken@amgen.com please add a answer so i can give you the points.

Best Regards,

Arijan
0
 
JimBob091197Commented:
I have sent you an app.  If it is what you require, you can grade this answer.

Regards,
JB
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now