Re: CClientDC and TabCtrl ?



In private email, I suggested looking at SetItem, and the iImage parameter of the TCITEM
structure, which is what I set for the CTabCtrl that holds my tabbed dialogs.
joe
On Sun, 30 Jul 2006 17:18:43 -0400, Joseph M. Newcomer <newcomer@xxxxxxxxxxxx> wrote:

I've done this before, several times, and I've not used a custom control, but I only
needed small bitmaps. Unfortunately the OP doesn't say anything more about the bitmaps
other than a handwave (important details would include the size of the bitmap...)
joe

On Sun, 30 Jul 2006 08:55:06 +0530, "Vipin" <Vipin@xxxxxxxxxx> wrote:

I think it is better to have a CWnd derived control (custom control) and
have the control handle the drawing. The tab control should then use the
Custom control.
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Cstring, string ,and char[]
    ... Out of interest Joe, what is your policy on other people using your code ... See my Logging Listbox Control on my MVP Tips site, ... I use this control everywhere. ... essentially dead, dead, ...
    (microsoft.public.vc.mfc)
  • Re: Displaying bitmap image in CStatic control.
    ... Joe, you are truly a pleasure to have as a part of our little community here. ... programmatically change things with the static control, ... A picture control with a Bitmap style ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • Re: Problem with disabling group box
    ... displays as if the control were enabled. ... Using Spy++ verifies the ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • Re: Dynamically-created CEdit != CEdit from dialog template
    ... WS_EX_CLIENTEDGE after the fact is insufficient (the client area of the ... control ends up the same size as the control itself so the border is drawn ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • Re: AddString to Combobox
    ... set it to height 0, thus confusing everyone who uses it for the first time, resulting ... control and program were working, and would know now that the problem was cosmetic. ... a class which can be downloaded from my MVP Tips site. ...
    (microsoft.public.vc.mfc)