Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Disable Close Button in the Dialog's Caption Pin
solex30-Oct-01 23:59
solex30-Oct-01 23:59 
GeneralRe: Disable Close Button in the Dialog's Caption Pin
Eugene Pustovoyt31-Oct-01 0:56
Eugene Pustovoyt31-Oct-01 0:56 
GeneralRe: Disable Close Button in the Dialog's Caption Pin
Tomasz Sowinski31-Oct-01 0:02
Tomasz Sowinski31-Oct-01 0:02 
GeneralRe: Disable Close Button in the Dialog's Caption Pin
Eugene Pustovoyt31-Oct-01 0:23
Eugene Pustovoyt31-Oct-01 0:23 
GeneralRe: Disable Close Button in the Dialog's Caption Pin
Deepak Khajuria31-Oct-01 0:29
Deepak Khajuria31-Oct-01 0:29 
GeneralRe: Disable Close Button in the Dialog's Caption Pin
Tomasz Sowinski31-Oct-01 0:41
Tomasz Sowinski31-Oct-01 0:41 
GeneralRe: Disable Close Button in the Dialog's Caption Pin
Eugene Pustovoyt31-Oct-01 1:23
Eugene Pustovoyt31-Oct-01 1:23 
GeneralRe: Disable Close Button in the Dialog's Caption Pin
Alvaro Mendez31-Oct-01 12:21
Alvaro Mendez31-Oct-01 12:21 
I'm glad you got it working, but you may consider that instead of disabling the Close button, you let the user press it but then show him a message box explaining why it's wrong to do so. Sometimes this is a more user-friendly way to go, since it doesn't leave the user wondering why he can't do something he's normally allowed to do (like closing windows), and then perhaps picking up the phone to ask Tech Support. If you tell him with a message box, he'll know right away.

Regards,
Alvaro
GeneralRe: Disable Close Button in the Dialog's Caption Pin
Eugene Pustovoyt31-Oct-01 19:06
Eugene Pustovoyt31-Oct-01 19:06 
GeneralRe: Disable Close Button in the Dialog's Caption Pin
Alvaro Mendez1-Nov-01 5:32
Alvaro Mendez1-Nov-01 5:32 
GeneralRe: Disable Close Button in the Dialog's Caption Pin
Orgen Kl10-Feb-02 20:31
Orgen Kl10-Feb-02 20:31 
Generalabout MFC program Pin
Maer72730-Oct-01 22:42
Maer72730-Oct-01 22:42 
GeneralRe: about MFC program Pin
Nish Nishant30-Oct-01 22:47
sitebuilderNish Nishant30-Oct-01 22:47 
GeneralRe: about MFC program Pin
Maer72731-Oct-01 0:54
Maer72731-Oct-01 0:54 
GeneralRe: about MFC program Pin
Nish Nishant31-Oct-01 0:59
sitebuilderNish Nishant31-Oct-01 0:59 
GeneralRe: about MFC program Pin
Maer72731-Oct-01 1:17
Maer72731-Oct-01 1:17 
GeneralProblem with destruction of a .exe Pin
30-Oct-01 22:09
suss30-Oct-01 22:09 
GeneralRe: Problem with destruction of a .exe Pin
Nish Nishant30-Oct-01 22:31
sitebuilderNish Nishant30-Oct-01 22:31 
QuestionBlack bar showing up in edit and list view bug? Pin
John Clump30-Oct-01 21:46
John Clump30-Oct-01 21:46 
AnswerRe: Black bar showing up in edit and list view bug? Pin
Jon Hulatt31-Oct-01 0:36
Jon Hulatt31-Oct-01 0:36 
QuestionHow to maintain process consecutively Pin
binnu30-Oct-01 21:19
binnu30-Oct-01 21:19 
QuestionHow to Solve this Pin
binnu30-Oct-01 21:07
binnu30-Oct-01 21:07 
QuestionHow do I get a file's complete path? Pin
30-Oct-01 21:04
suss30-Oct-01 21:04 
AnswerRe: How do I get a file's complete path? Pin
Jon Hulatt31-Oct-01 0:33
Jon Hulatt31-Oct-01 0:33 
GeneralChange Cursor Pin
Maer72730-Oct-01 20:55
Maer72730-Oct-01 20:55 

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.