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

C / C++ / MFC

 
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 
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 
Chilli71 wrote:
Interestingly as soon as I make a command handler for WM_PAINT, the control is not painted at all.


Have you tried:
class CTabCtrlLeo : public CTabCtrl { /* derived class */ };

void CTabCtrlLeo::OnPaint() 
{
    Default();

    CPaintDC dc(this);
    CRect rect;
    GetClientRect(&rect);
    //do other stuff
}

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 
AnswerRe: How to get the result of Jar file into the Visual C++ application Pin
Nikhil Trivedi4-May-07 20:35
Nikhil Trivedi4-May-07 20:35 
GeneralRe: How to get the result of Jar file into the Visual C++ application Pin
David Crow5-May-07 15:37
David Crow5-May-07 15:37 
Questionpointer Pin
ginjikun3-May-07 22:34
ginjikun3-May-07 22:34 
AnswerRe: pointer [modified] Pin
toxcct3-May-07 23:21
toxcct3-May-07 23:21 
GeneralRe: pointer Pin
Roger Stoltz4-May-07 0:56
Roger Stoltz4-May-07 0:56 
GeneralRe: pointer Pin
toxcct4-May-07 0:58
toxcct4-May-07 0:58 

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.