Click here to Skip to main content
15,912,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fullscreen dialog control Pin
Ryan Binns28-May-04 0:57
Ryan Binns28-May-04 0:57 
QuestionHow can i make ComboBox read only Pin
Zeeshan Bilal27-May-04 20:39
Zeeshan Bilal27-May-04 20:39 
AnswerRe: How can i make ComboBox read only Pin
toxcct27-May-04 21:53
toxcct27-May-04 21:53 
GeneralA Dialog Box Problem Pin
Imtiaz Murtaza27-May-04 19:37
Imtiaz Murtaza27-May-04 19:37 
GeneralRe: A Dialog Box Problem Pin
Anthony_Yio27-May-04 19:57
Anthony_Yio27-May-04 19:57 
GeneralRe: A Dialog Box Problem Pin
Zeeshan Bilal27-May-04 20:36
Zeeshan Bilal27-May-04 20:36 
GeneralRe: A Dialog Box Problem Pin
Ravi Bhavnani28-May-04 2:36
professionalRavi Bhavnani28-May-04 2:36 
GeneralRe: A Dialog Box Problem [modified] Pin
Naren Neelamegam28-May-04 20:11
Naren Neelamegam28-May-04 20:11 
Create two member functions for you dlg class.
Eg.

void CTestDlg::OnOK()
{
}

void CTestDlg::OnCancel()
{
}

Enough... Go and press any key in ur dialog... it wont close (even ur close button too;))

To close ur dialog Add OnClose() Message Handler to your dlg class

void CTestDlg::OnClose()
{
EndDialog(0);
CDialog::OnClose();
}

now press you close button. It will closeSmile | :)

Hava nice day
with regards

loveablevirus

modified on Saturday, January 17, 2009 9:27 AM

GeneralDialog Box Problem Pin
Imtiaz Murtaza27-May-04 19:37
Imtiaz Murtaza27-May-04 19:37 
GeneralRe: Dialog Box Problem Pin
GDavy27-May-04 19:40
GDavy27-May-04 19:40 
GeneralRe: Dialog Box Problem Pin
toxcct27-May-04 21:50
toxcct27-May-04 21:50 
QuestionHow to set a timer to a dialog Pin
Zeeshan Bilal27-May-04 18:44
Zeeshan Bilal27-May-04 18:44 
AnswerRe: How to set a timer to a dialog Pin
Frank K27-May-04 19:36
Frank K27-May-04 19:36 
AnswerRe: How to set a timer to a dialog Pin
Member 16246227-May-04 21:18
Member 16246227-May-04 21:18 
Generalthe Clear() function Pin
Eversman27-May-04 17:22
Eversman27-May-04 17:22 
GeneralRe: the Clear() function Pin
Anthony_Yio27-May-04 17:36
Anthony_Yio27-May-04 17:36 
GeneralRe: the Clear() function Pin
Frank K27-May-04 20:06
Frank K27-May-04 20:06 
GeneralRe: the Clear() function Pin
Eversman27-May-04 22:06
Eversman27-May-04 22:06 
GeneralRe: the Clear() function Pin
Frank K27-May-04 22:53
Frank K27-May-04 22:53 
GeneralRe: the Clear() function Pin
Naren Neelamegam28-May-04 20:16
Naren Neelamegam28-May-04 20:16 
GeneralPassing Variables Pin
picasso227-May-04 17:12
picasso227-May-04 17:12 
GeneralRe: Passing Variables Pin
Anthony_Yio27-May-04 17:21
Anthony_Yio27-May-04 17:21 
GeneralDropping files Pin
Anonymous27-May-04 16:59
Anonymous27-May-04 16:59 
GeneralRe: Dropping files Pin
jmkhael28-May-04 1:02
jmkhael28-May-04 1:02 
Questionrenaming vcproj? Pin
bryce27-May-04 15:51
bryce27-May-04 15:51 

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.