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

C / C++ / MFC

 
GeneralRe: about dynamic append menu Pin
FlyWithYou2-Apr-06 5:47
FlyWithYou2-Apr-06 5:47 
GeneralRe: about dynamic append menu Pin
FarPointer2-Apr-06 6:27
FarPointer2-Apr-06 6:27 
GeneralRe: about dynamic append menu Pin
Michael Dunn2-Apr-06 7:18
sitebuilderMichael Dunn2-Apr-06 7:18 
GeneralRe: about dynamic append menu Pin
FarPointer2-Apr-06 7:26
FarPointer2-Apr-06 7:26 
AnswerRe: about dynamic append menu Pin
Hamid_RT2-Apr-06 4:30
Hamid_RT2-Apr-06 4:30 
GeneralRe: about dynamic append menu Pin
FlyWithYou2-Apr-06 5:44
FlyWithYou2-Apr-06 5:44 
GeneralRe: about dynamic append menu Pin
Hamid_RT2-Apr-06 5:54
Hamid_RT2-Apr-06 5:54 
QuestionHow to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
rbid2-Apr-06 3:42
rbid2-Apr-06 3:42 
Hello,

In addition to catching the WM_CLOSE event, I would like to disable the close icon on the dialog title bar when some critical section is being parsed in my application.

Is this possible?,

For those that use Nero Burning Room, when you are burning a CD/DVD, the close icon on the dialog title bar is dissabled.. How can be this done under MFC?

http://img82.imageshack.us/img82/1588/disableclose7uy.gif[^]

I guess that the style of the window is changed with SetWindowLong(), but I don't manage to find how.

Thanks in advance.


-- Ricky Marek (AKA: rbid)
-- "Things are only impossible until they are not" --- Jean-Luc Picard

My articles
AnswerRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
toxcct2-Apr-06 4:06
toxcct2-Apr-06 4:06 
AnswerRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
FarPointer2-Apr-06 4:09
FarPointer2-Apr-06 4:09 
AnswerRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
Hamid_RT2-Apr-06 4:12
Hamid_RT2-Apr-06 4:12 
GeneralRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
FarPointer2-Apr-06 4:14
FarPointer2-Apr-06 4:14 
GeneralRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
Hamid_RT2-Apr-06 4:21
Hamid_RT2-Apr-06 4:21 
GeneralRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
FarPointer2-Apr-06 4:26
FarPointer2-Apr-06 4:26 
GeneralRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
Hamid_RT2-Apr-06 4:34
Hamid_RT2-Apr-06 4:34 
AnswerThanks for your advices, now it works.. Pin
rbid2-Apr-06 7:53
rbid2-Apr-06 7:53 
Questionproblem in find replace Pin
cancerion2-Apr-06 2:47
cancerion2-Apr-06 2:47 
QuestionDual core optimisation Pin
m_5811-Apr-06 22:50
m_5811-Apr-06 22:50 
AnswerRe: Dual core optimisation Pin
Gary R. Wheeler2-Apr-06 4:26
Gary R. Wheeler2-Apr-06 4:26 
AnswerRe: Dual core optimisation Pin
cmk2-Apr-06 7:00
cmk2-Apr-06 7:00 
Questionsomething about sscanf() function Pin
blue_rabbit1-Apr-06 21:37
blue_rabbit1-Apr-06 21:37 
AnswerRe: something about sscanf() function Pin
includeh101-Apr-06 22:01
includeh101-Apr-06 22:01 
GeneralRe: something about sscanf() function Pin
blue_rabbit8-Apr-06 20:30
blue_rabbit8-Apr-06 20:30 
AnswerRe: something about sscanf() function Pin
FarPointer1-Apr-06 22:17
FarPointer1-Apr-06 22:17 
AnswerRe: something about sscanf() function Pin
Ryan Binns2-Apr-06 4:03
Ryan Binns2-Apr-06 4:03 

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.