Click here to Skip to main content
15,917,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCOleSafeArray Pin
Mazdak13-Aug-02 9:08
Mazdak13-Aug-02 9:08 
GeneralRe: COleSafeArray Pin
Ernest Laurentin13-Aug-02 10:06
Ernest Laurentin13-Aug-02 10:06 
Generalchar representation of a double Pin
senorbuckwheat13-Aug-02 8:22
senorbuckwheat13-Aug-02 8:22 
GeneralRe: char representation of a double Pin
Chris Losinger13-Aug-02 8:30
professionalChris Losinger13-Aug-02 8:30 
GeneralRe: char representation of a double Pin
Tomasz Sowinski13-Aug-02 8:31
Tomasz Sowinski13-Aug-02 8:31 
Generalmodal dialog range checking Pin
jimNLX13-Aug-02 8:19
jimNLX13-Aug-02 8:19 
I call a modal dialog to input a number. The var that i added to the class has limits but these don't get checked until the calling (parent) dialog closes. Is there an option that I need to set or do i need to range ckeck on my own?

This is my call:

if(GetNumDlg.DoModal() == IDOK)
{

calleddialog = 0;

m_leftscale = atoi(GetNumDlg.m_numdisplayed);
UpdateData(FALSE);



//This will set the focus to another control to keep this dialog from popping up
//everytime focus returns
//

CEdit* pNextField = (CEdit*)GetDlgItem(IDOK); pNextField->SetFocus();

}

GeneralRe: modal dialog range checking Pin
Tomasz Sowinski13-Aug-02 8:21
Tomasz Sowinski13-Aug-02 8:21 
GeneralRe: modal dialog range checking Pin
jimNLX13-Aug-02 8:23
jimNLX13-Aug-02 8:23 
GeneralRe: modal dialog range checking Pin
Tomasz Sowinski13-Aug-02 8:28
Tomasz Sowinski13-Aug-02 8:28 
GeneralRe: modal dialog range checking Pin
jimNLX13-Aug-02 8:43
jimNLX13-Aug-02 8:43 
GeneralRe: modal dialog range checking Pin
Tomasz Sowinski13-Aug-02 9:13
Tomasz Sowinski13-Aug-02 9:13 
GeneralRe: modal dialog range checking Pin
jimNLX13-Aug-02 9:28
jimNLX13-Aug-02 9:28 
GeneralRe: modal dialog range checking Pin
Tomasz Sowinski13-Aug-02 9:30
Tomasz Sowinski13-Aug-02 9:30 
GeneralRe: modal dialog range checking Pin
jimNLX13-Aug-02 9:36
jimNLX13-Aug-02 9:36 
GeneralRe: modal dialog range checking Pin
Tomasz Sowinski13-Aug-02 9:39
Tomasz Sowinski13-Aug-02 9:39 
GeneralRe: modal dialog range checking Pin
JennyP13-Aug-02 10:14
JennyP13-Aug-02 10:14 
GeneralRe: modal dialog range checking Pin
jimNLX13-Aug-02 10:57
jimNLX13-Aug-02 10:57 
Questionwrong use of delete here? Pin
ns13-Aug-02 8:17
ns13-Aug-02 8:17 
AnswerRe: wrong use of delete here? Pin
includeh1013-Aug-02 8:25
includeh1013-Aug-02 8:25 
AnswerRe: wrong use of delete here? Pin
Tomasz Sowinski13-Aug-02 8:27
Tomasz Sowinski13-Aug-02 8:27 
AnswerRe: wrong use of delete here? Pin
Ravi Bhavnani13-Aug-02 14:46
professionalRavi Bhavnani13-Aug-02 14:46 
AnswerRe: wrong use of delete here? Pin
Daniel Lohmann14-Aug-02 0:08
Daniel Lohmann14-Aug-02 0:08 
Generalsave and load dynamic struct, need help ... Pin
includeh1013-Aug-02 8:15
includeh1013-Aug-02 8:15 

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.