Click here to Skip to main content
15,915,086 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSetWindowsHookEx Pin
vikramlinux22-Jun-02 23:29
vikramlinux22-Jun-02 23:29 
GeneralRe: SetWindowsHookEx Pin
jferrell121123-Jun-02 3:27
jferrell121123-Jun-02 3:27 
GeneralFile Empty status Pin
SamirSood22-Jun-02 23:24
SamirSood22-Jun-02 23:24 
GeneralRe: File Empty status Pin
Nish Nishant23-Jun-02 0:18
sitebuilderNish Nishant23-Jun-02 0:18 
GeneralEnable/Disable Frame Buttons :: MFC Pin
valikac22-Jun-02 21:30
valikac22-Jun-02 21:30 
GeneralRe: Enable/Disable Frame Buttons :: MFC Pin
Nish Nishant22-Jun-02 22:12
sitebuilderNish Nishant22-Jun-02 22:12 
GeneralRe: Enable/Disable Frame Buttons :: MFC Pin
valikac23-Jun-02 6:39
valikac23-Jun-02 6:39 
GeneralRe: Enable/Disable Frame Buttons :: MFC Pin
Sonu Kapoor23-Jun-02 7:30
Sonu Kapoor23-Jun-02 7:30 
hi,

hm....sorry cound find how to disable the "X" button, but it think you can catch, whether the dialog closes or not. Put the WM_CLOSE handler to your Dialog class and put the code in that you need. This will always tell you when the dialog is closing!

for example:
void CCloseDDlg::OnClose()
{
MessageBox("Closing the app");
CDialog::OnClose();
}



Regards, Sonu
GeneralRe: Enable/Disable Frame Buttons :: MFC Pin
valikac23-Jun-02 7:38
valikac23-Jun-02 7:38 
GeneralRe: Enable/Disable Frame Buttons :: MFC Pin
Nish Nishant23-Jun-02 15:25
sitebuilderNish Nishant23-Jun-02 15:25 
GeneralRe: Enable/Disable Frame Buttons :: MFC Pin
valikac23-Jun-02 16:16
valikac23-Jun-02 16:16 
GeneralProblem with GetDIBits under XP/NT Pin
yarp22-Jun-02 21:00
yarp22-Jun-02 21:00 
GeneralRe: Problem with GetDIBits under XP/NT Pin
Joel Lucsy23-Jun-02 16:26
Joel Lucsy23-Jun-02 16:26 
GeneralRe: Problem with GetDIBits under XP/NT Pin
yarp23-Jun-02 18:59
yarp23-Jun-02 18:59 
GeneralRe: Problem with GetDIBits under XP/NT Pin
yarp24-Jun-02 8:03
yarp24-Jun-02 8:03 
GeneralRe: Problem with GetDIBits under XP/NT Pin
Mike Nordell23-Jun-02 17:22
Mike Nordell23-Jun-02 17:22 
GeneralRe: Problem with GetDIBits under XP/NT Pin
yarp23-Jun-02 18:56
yarp23-Jun-02 18:56 
QuestionHow to remove the "Help" button on property sheet? Pin
Abin22-Jun-02 16:39
Abin22-Jun-02 16:39 
AnswerRe: How to remove the "Help" button on property sheet? Pin
Michael Dunn22-Jun-02 16:58
sitebuilderMichael Dunn22-Jun-02 16:58 
GeneralRe: How to remove the "Help" button on property sheet? Pin
Abin22-Jun-02 17:12
Abin22-Jun-02 17:12 
GeneralGetting text from MFC status-bar (subclassed msctls_statusbar32) Pin
Vitaly Belman22-Jun-02 14:31
Vitaly Belman22-Jun-02 14:31 
GeneralQuestion about MS Script Control Pin
22-Jun-02 14:17
suss22-Jun-02 14:17 
GeneralTerminal Services Client API Pin
StefanM22-Jun-02 14:06
StefanM22-Jun-02 14:06 
GeneralReBar toolbar chevron drop-down menu no icon Pin
Hiusing22-Jun-02 10:11
Hiusing22-Jun-02 10:11 
General_beginthread Pin
22-Jun-02 9:45
suss22-Jun-02 9:45 

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.