Solved

Background in ToolBar

Posted on 1998-08-25
1
242 Views
Last Modified: 2013-11-19
How do i put a background in my ToolBar?
(Similar to that old versions of Internet Explorer use
to have)

/Daniel
0
Comment
Question by:Emoon
1 Comment
 
LVL 1

Accepted Solution

by:
motigust earned 50 total points
ID: 1321280
You may do it by overriding the OnEraseBackground function of the CToolbar.

1. Derive your own class from CToolbar.
2. Ovveride the OnEraseBackground function.
(Override the WM_ERASEBKGND message using the wizard)
3. Draw what you want on the pDC.


0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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