Click here to Skip to main content
15,899,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Urgent Convert from CString to hexadecimal Pin
Roger Stoltz4-May-07 1:32
Roger Stoltz4-May-07 1:32 
GeneralRe: Urgent Convert from CString to hexadecimal Pin
imanos4-May-07 2:06
imanos4-May-07 2:06 
AnswerRe: Urgent Convert from CString to hexadecimal Pin
Paresh Chitte4-May-07 1:36
Paresh Chitte4-May-07 1:36 
GeneralRe: Urgent Convert from CString to hexadecimal Pin
imanos4-May-07 2:07
imanos4-May-07 2:07 
AnswerRe: Urgent Convert from CString to hexadecimal Pin
CPallini4-May-07 1:37
mveCPallini4-May-07 1:37 
GeneralRe: Urgent Convert from CString to hexadecimal Pin
imanos4-May-07 2:08
imanos4-May-07 2:08 
QuestionHow to keep a static control on top a tabcontrol in a Dialog? Pin
Chilli714-May-07 0:35
Chilli714-May-07 0:35 
AnswerRe: How to keep a static control on top a tabcontrol in a Dialog? Pin
Moak4-May-07 3:06
Moak4-May-07 3:06 
Here an alternative solution, how about in the OnPaint() handler of your CTabCtrl derived class you draw the background part that you are interested in? This would theoretically make the extra CStatic obsolete by drawing all within one object.

void CTabCtrlSpecial::OnPaint() 
{
  //this should handle the normal tab drawing
  CTabCtrl::OnPaint();

  //get dc + client rect and override a part of the background 
  dc.FillSolidRect(rect, ::GetSysColor(COLOR_3DFACE));
}


Just a an idea, would that work?
GeneralRe: How to keep a static control on top a tabcontrol in a Dialog? Pin
Chilli714-May-07 4:34
Chilli714-May-07 4:34 
GeneralRe: How to keep a static control on top a tabcontrol in a Dialog? Pin
Moak4-May-07 7:59
Moak4-May-07 7:59 
GeneralRe: How to keep a static control on top a tabcontrol in a Dialog? Pin
Chilli714-May-07 8:16
Chilli714-May-07 8:16 
GeneralRe: How to keep a static control on top a tabcontrol in a Dialog? Pin
Moak4-May-07 10:28
Moak4-May-07 10:28 
GeneralRe: How to keep a static control on top a tabcontrol in a Dialog? Pin
Chilli716-May-07 9:12
Chilli716-May-07 9:12 
GeneralRe: How to keep a static control on top a tabcontrol in a Dialog? Pin
Moak6-May-07 12:54
Moak6-May-07 12:54 
GeneralRe: How to keep a static control on top a tabcontrol in a Dialog? Pin
Chilli716-May-07 22:50
Chilli716-May-07 22:50 
AnswerNot showing is better than showing and overpainting... Pin
Chilli717-May-07 22:00
Chilli717-May-07 22:00 
QuestionCrystal report 10 ( Modify database location at runtime using CrystalRuntime.Application.10 ) Pin
AkiraOne4-May-07 0:32
AkiraOne4-May-07 0:32 
QuestionHow to clear office clipboard through vc++. Pin
Pankaj Bohra4-May-07 0:03
Pankaj Bohra4-May-07 0:03 
QuestionRe: How to clear office clipboard through vc++. Pin
David Crow4-May-07 2:37
David Crow4-May-07 2:37 
AnswerRe: How to clear office clipboard through vc++. Pin
Pankaj Bohra4-May-07 2:51
Pankaj Bohra4-May-07 2:51 
QuestionRe: How to clear office clipboard through vc++. Pin
David Crow4-May-07 2:54
David Crow4-May-07 2:54 
AnswerRe: How to clear office clipboard through vc++. Pin
Pankaj Bohra4-May-07 3:23
Pankaj Bohra4-May-07 3:23 
QuestionHow to get a pointer to a control embedded in html page in C++ Pin
Paresh Chitte4-May-07 0:01
Paresh Chitte4-May-07 0:01 
QuestionHow to get the result of Jar file into the Visual C++ application Pin
Nikhil Trivedi3-May-07 23:51
Nikhil Trivedi3-May-07 23:51 
QuestionRe: How to get the result of Jar file into the Visual C++ application Pin
David Crow4-May-07 2:43
David Crow4-May-07 2:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.