Click here to Skip to main content
16,004,828 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Visual C++ link with Visual basic 6? Pin
Anthony_Yio23-Dec-03 1:09
Anthony_Yio23-Dec-03 1:09 
GeneralPlease help on how to update my Platform SDK! Pin
twing22-Dec-03 21:32
twing22-Dec-03 21:32 
GeneralRe: Please help on how to update my Platform SDK! Pin
Michael P Butler23-Dec-03 1:01
Michael P Butler23-Dec-03 1:01 
GeneralRetreive the conent MFC Active Document Server Pin
Member 52603722-Dec-03 19:33
Member 52603722-Dec-03 19:33 
GeneralRetreive the conent MFC Active Document Server Pin
Member 52603722-Dec-03 19:09
Member 52603722-Dec-03 19:09 
GeneralDllExport Function crashing Pin
Kishor Morkhandikar22-Dec-03 18:54
Kishor Morkhandikar22-Dec-03 18:54 
GeneralRe: DllExport Function crashing Pin
Roger Allen23-Dec-03 2:45
Roger Allen23-Dec-03 2:45 
GeneralDDV functions Pin
Dinesh Ahuja22-Dec-03 17:38
Dinesh Ahuja22-Dec-03 17:38 
Hi Everybody,
I have a class which is being derived from CDialog class.
class CEventDialog : public CDialog {
private:
CString m_sEventDesc;
int m_iHours;
int m_iMin;
// Other implementation has been removed from the class.
};

The deifination for DoDataExchange is as follows:

void CEventDialog::DoDataExchange(CDataExchange* pDX) {

CDialog::DoDataExchange(pDX);
DDX_Text(pDX,IDC_ADDSTRHR,this->m_iHours);
DDV_MinMaxInt(pDX,this->m_iHours,1,24);
DDX_Text(pDX,IDC_EDITDESC,this->m_sEventDesc);
DDV_MaxChars(pDX,this->m_sEventDesc,20);
DDX_Text(pDX,IDC_ADDSTRMIN,this->m_iMin);
DDV_MinMaxInt(pDX,this->m_iMin,1,59);
}

The problem which i am facing is that if i enter an invalid value for iMin data variable , the DDV_MinMaxInt function displays a message box without any message in it. How should i display the used defined message in the Message Nox which is being created by DDV_MinMaxInt function?

Regards
Dinesh

GeneralRe: DDV functions Pin
David Crow23-Dec-03 4:33
David Crow23-Dec-03 4:33 
GeneralRe: DDV functions Pin
Dinesh Ahuja23-Dec-03 17:16
Dinesh Ahuja23-Dec-03 17:16 
GeneralRe: DDV functions Pin
David Crow29-Dec-03 2:51
David Crow29-Dec-03 2:51 
GeneralRe: DDV functions Pin
Lanka Maheshwar12-Jan-09 18:04
Lanka Maheshwar12-Jan-09 18:04 
QuestionDoes STL supports Unicode ??? Pin
Prakash Nadar22-Dec-03 17:36
Prakash Nadar22-Dec-03 17:36 
AnswerRe: Does STL supports Unicode ??? Pin
Mike Beckerleg22-Dec-03 22:29
Mike Beckerleg22-Dec-03 22:29 
AnswerRe: Does STL supports Unicode ??? Pin
jhwurmbach22-Dec-03 22:48
jhwurmbach22-Dec-03 22:48 
GeneralERROR_ACCESS_DENIED and openprocesstoken() Pin
dp522-Dec-03 17:01
dp522-Dec-03 17:01 
GeneralOnkeyDown in dialog Pin
satadru22-Dec-03 16:51
satadru22-Dec-03 16:51 
GeneralRe: onkeydown in dialog Pin
Monty222-Dec-03 17:59
Monty222-Dec-03 17:59 
GeneralRe: onkeydown in dialog Pin
satadru22-Dec-03 19:35
satadru22-Dec-03 19:35 
GeneralRe: onkeydown in dialog Pin
zeki yugnak23-Dec-03 1:04
zeki yugnak23-Dec-03 1:04 
GeneralVirtual CListView page scrolling Pin
ldaoust22-Dec-03 15:57
ldaoust22-Dec-03 15:57 
QuestionPlease help! the way using SetBitmap, no memory leak? Pin
twing22-Dec-03 15:26
twing22-Dec-03 15:26 
AnswerRe: Please help! the way using SetBitmap, no memory leak? Pin
Monty222-Dec-03 18:05
Monty222-Dec-03 18:05 
GeneralRe: absolutely in OnDestroy? No other way? Pin
twing22-Dec-03 19:16
twing22-Dec-03 19:16 
GeneralRe: absolutely in OnDestroy? No other way? Pin
Monty222-Dec-03 19:36
Monty222-Dec-03 19:36 

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.