Solved

Win95 Look a Like

Posted on 1998-01-06
5
128 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
ID: 1355363
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
ID: 1355364
No i mean the big bit map not a small one..
0
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1355365
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
ID: 1355366
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
ID: 1355367
I have sent you an app.  If it is what you require, you can grade this answer.

Regards,
JB
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

895 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

11 Experts available now in Live!

Get 1:1 Help Now