Click here to Skip to main content
15,908,775 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Catch double click on MDI client CMDIFrameWndEx Pin
_Flaviu17-Mar-17 0:02
_Flaviu17-Mar-17 0:02 
GeneralRe: Catch double click on MDI client CMDIFrameWndEx Pin
Richard MacCutchan17-Mar-17 0:26
mveRichard MacCutchan17-Mar-17 0:26 
GeneralRe: Catch double click on MDI client CMDIFrameWndEx Pin
_Flaviu17-Mar-17 0:40
_Flaviu17-Mar-17 0:40 
AnswerRe: Catch double click on MDI client CMDIFrameWndEx Pin
Victor Nijegorodov18-Mar-17 4:09
Victor Nijegorodov18-Mar-17 4:09 
QuestionHow to use a variable declared in another class in Visual C++ Pin
lolici16-Mar-17 3:17
lolici16-Mar-17 3:17 
AnswerRe: How to use a variable declared in another class in Visual C++ Pin
Jochen Arndt16-Mar-17 3:32
professionalJochen Arndt16-Mar-17 3:32 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
lolici16-Mar-17 4:04
lolici16-Mar-17 4:04 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
Jochen Arndt16-Mar-17 4:18
professionalJochen Arndt16-Mar-17 4:18 
When InsertItems() is called from the parent dialog:
class CDataDialog : public CDialog
{
    // ...
    void InsertItems(int nCon);
    // ...
    // Optional:
    // int m_nCon;
};

void CDataDialog::InsertItems(int nCon)
{
    // Optional:
    // m_nCon = nCon;
    // ...
    for (int i = 0; i < nCon)
    // ...
}

If it is not called from the parent dialog pass it using a setter function:
class CDataDialog : public CDialog
{
    // ...
    void SetCon(int nCon) { m_nCon = nCon; }
    int m_nCon;
    // ...
};

GeneralRe: How to use a variable declared in another class in Visual C++ Pin
lolici16-Mar-17 5:35
lolici16-Mar-17 5:35 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
Jochen Arndt16-Mar-17 5:44
professionalJochen Arndt16-Mar-17 5:44 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
lolici16-Mar-17 6:49
lolici16-Mar-17 6:49 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
lolici16-Mar-17 13:32
lolici16-Mar-17 13:32 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
Jochen Arndt16-Mar-17 21:47
professionalJochen Arndt16-Mar-17 21:47 
AnswerRe: How to use a variable declared in another class in Visual C++ Pin
Munchies_Matt16-Mar-17 6:21
Munchies_Matt16-Mar-17 6:21 
PraiseRe: How to use a variable declared in another class in Visual C++ Pin
_Flaviu16-Mar-17 21:37
_Flaviu16-Mar-17 21:37 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
Munchies_Matt16-Mar-17 21:44
Munchies_Matt16-Mar-17 21:44 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
lolici17-Mar-17 11:23
lolici17-Mar-17 11:23 
QuestionIs it possible to find if an application is encrypted at runtime Pin
manoharbalu15-Mar-17 2:42
manoharbalu15-Mar-17 2:42 
AnswerRe: Is it possible to find if an application is encrypted at runtime Pin
Jochen Arndt15-Mar-17 3:00
professionalJochen Arndt15-Mar-17 3:00 
GeneralRe: Is it possible to find if an application is encrypted at runtime Pin
manoharbalu15-Mar-17 3:16
manoharbalu15-Mar-17 3:16 
GeneralRe: Is it possible to find if an application is encrypted at runtime Pin
Jochen Arndt15-Mar-17 3:28
professionalJochen Arndt15-Mar-17 3:28 
AnswerRe: Is it possible to find if an application is encrypted at runtime Pin
Randor 15-Mar-17 13:21
professional Randor 15-Mar-17 13:21 
QuestionProblem with List Control in visual c++ Pin
lolici14-Mar-17 4:32
lolici14-Mar-17 4:32 
AnswerRe: Problem with List Control in visual c++ Pin
Jochen Arndt14-Mar-17 4:46
professionalJochen Arndt14-Mar-17 4:46 
GeneralRe: Problem with List Control in visual c++ Pin
lolici14-Mar-17 5:23
lolici14-Mar-17 5:23 

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.