Solved

Background in ToolBar

Posted on 1998-08-25
1
249 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
[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
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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
Whole sheet autoscrub still needed 19 54
sumNumber challenge 16 145
Execute multiple curl cmds with sleep and send output to file 10 121
Unix Command -- Challenging  question 7 105
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

732 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