Solved

Win95 Look a Like

Posted on 1998-01-06
5
127 Views
Last Modified: 2010-04-04
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
Comment
Question by:aluiken
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:ZifNab
Comment Utility
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
 
LVL 1

Author Comment

by:aluiken
Comment Utility
No i mean the big bit map not a small one..
0
 
LVL 5

Expert Comment

by:JimBob091197
Comment Utility
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
 
LVL 1

Author Comment

by:aluiken
Comment Utility
Ok my email is : aluiken@amgen.com please add a answer so i can give you the points.

Best Regards,

Arijan
0
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 50 total points
Comment Utility
I have sent you an app.  If it is what you require, you can grade this answer.

Regards,
JB
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now