Click here to Skip to main content
15,911,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problems with message routing in Dundas' COXSizeControlBar Pin
Miguel Segarra30-May-03 1:26
Miguel Segarra30-May-03 1:26 
GeneralRe: Problems with message routing in COXSizeControlBar Pin
Ivor S. Sargoytchev2-Jun-03 11:25
Ivor S. Sargoytchev2-Jun-03 11:25 
GeneralRe: Problems with message routing in COXSizeControlBar Pin
Miguel Segarra4-Jun-03 1:07
Miguel Segarra4-Jun-03 1:07 
Questionhow to add windows type properties to our own files..? Pin
harinath27-May-03 1:12
professionalharinath27-May-03 1:12 
AnswerRe: how to add windows type properties to our own files..? Pin
Rage27-May-03 1:21
professionalRage27-May-03 1:21 
AnswerRe: how to add windows type properties to our own files..? Pin
Rage27-May-03 1:23
professionalRage27-May-03 1:23 
GeneralRe: how to add windows type properties to our own files..? Pin
harinath27-May-03 1:29
professionalharinath27-May-03 1:29 
GeneralRe: how to add windows type properties to our own files..? Pin
harinath27-May-03 1:37
professionalharinath27-May-03 1:37 
GeneralProblem by using Property Page as a Dialog Pin
praveenpnayak27-May-03 0:49
praveenpnayak27-May-03 0:49 
GeneralRe: Problem by using Property Page as a Dialog Pin
Rage27-May-03 1:02
professionalRage27-May-03 1:02 
GeneralRe: Problem by using Property Page as a Dialog Pin
praveenpnayak27-May-03 1:27
praveenpnayak27-May-03 1:27 
GeneralRe: Problem by using Property Page as a Dialog Pin
Rage27-May-03 2:33
professionalRage27-May-03 2:33 
GeneralRe: Problem by using Property Page as a Dialog Pin
Renjith Ramachandran27-May-03 4:09
Renjith Ramachandran27-May-03 4:09 
GeneralRe: Problem by using Property Page as a Dialog Pin
praveenpnayak28-May-03 0:11
praveenpnayak28-May-03 0:11 
GeneralDialogBox problem Pin
Jump_Around27-May-03 0:02
Jump_Around27-May-03 0:02 
GeneralRe: DialogBox problem Pin
Daniel Strigl27-May-03 0:18
Daniel Strigl27-May-03 0:18 
GeneralRe: DialogBox problem Pin
Neville Franks27-May-03 0:32
Neville Franks27-May-03 0:32 
GeneralDisable close button in AfxMessageBox Pin
rohit.dhamija26-May-03 23:27
rohit.dhamija26-May-03 23:27 
GeneralRe: Disable close button in AfxMessageBox Pin
dabs26-May-03 23:48
dabs26-May-03 23:48 
One option would be to simply remove it. You can control what buttons are shown on a message box through the MB_xxx constants. If my memory serves me right then AfxMessageBox allows you to do that, otherwise you will have to use the ::MessageBox API directly.

If you already knew all this and you simply want to disable this button without removing it then there's no easy way to do it. Russ Freeman had an excellent article here somewhere where he described a method to hook into the creation of a message box and modify it - I can't seem to find it again. Then there is another article with a custom message box: http://www.codeproject.com/dialog/xmessagebox.asp[^] which you might want to take a look at.

Hope this helps.



Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
GeneralRe: Disable close button in AfxMessageBox Pin
rohit.dhamija27-May-03 0:13
rohit.dhamija27-May-03 0:13 
GeneralRe: Disable close button in AfxMessageBox Pin
Anonymous27-May-03 0:29
Anonymous27-May-03 0:29 
GeneralRe: Disable close button in AfxMessageBox Pin
Maximilien27-May-03 0:45
Maximilien27-May-03 0:45 
GeneralRe: Disable close button in AfxMessageBox Pin
rohit.dhamija27-May-03 1:03
rohit.dhamija27-May-03 1:03 
GeneralRe: Disable close button in AfxMessageBox Pin
Rage27-May-03 1:16
professionalRage27-May-03 1:16 
GeneralRe: Disable close button in AfxMessageBox Pin
Rage27-May-03 1:12
professionalRage27-May-03 1:12 

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.