Solved

Win95 Look a Like

Posted on 1998-01-06
5
131 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

730 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