Company logos on the titlebar

I need to put a company logos (3 of them) on the right hand side of the title bar.  Any ideas?
matooAsked:
Who is Participating?
 
nietodCommented:
What OS?  windows?

If so you can do it by handling the WM_NCPAINT message.  You can pass this message to the default window procedure so the title is drawn properly, then when the default window procedure returns, you can draw your logo on top if what it drew.  This may cause a "flash" of the logo however, but it is the easiest way.  If you don't want the flash, you have to draw the title bar and non-client area manually.  That can be done, but it is quite a pain.
0
 
ZoppoCommented:
Perhaps the 'flash' can be avoided by validating the area where the logos will be painted before passing the message to the default window procedure?
0
 
nietodCommented:
Unforintaely, I don't think that works.  I don't think windows will record such a complex update region.  (The mac does)  But you can try that.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
ZoppoCommented:
I don't know either, just a thought ...

BTW, nietod, could you tell me what's the meaning of 'Unforintaely' (or is it just a multi-typo)
0
 
nietodCommented:
Unfortunately.  MULTI-typo
0
 
ZoppoCommented:
:o)
0
 
matooAuthor Commented:
Sounds like it might work - I'll give it a go thanks...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.