Click here to Skip to main content
15,884,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Name that pattern or patterns... Pin
alex.barylski28-Oct-09 6:42
alex.barylski28-Oct-09 6:42 
QuestionDisabling Restore button of a window Pin
Deepu Antony27-Oct-09 20:06
Deepu Antony27-Oct-09 20:06 
AnswerRe: Disabling Restore button of a window Pin
Randor 27-Oct-09 20:27
professional Randor 27-Oct-09 20:27 
GeneralDisabling Restore option(Minimize,Maximize ,Close) of a window Pin
Deepu Antony27-Oct-09 20:43
Deepu Antony27-Oct-09 20:43 
GeneralRe: Disabling Restore option(Minimize,Maximize ,Close) of a window Pin
Randor 27-Oct-09 21:53
professional Randor 27-Oct-09 21:53 
GeneralRe: Disabling Restore option(Minimize,Maximize ,Close) of a window Pin
Deepu Antony27-Oct-09 23:43
Deepu Antony27-Oct-09 23:43 
GeneralRe: Disabling Restore option(Minimize,Maximize ,Close) of a window Pin
Randor 28-Oct-09 6:18
professional Randor 28-Oct-09 6:18 
GeneralRe: Disabling Restore option(Minimize,Maximize ,Close) of a window Pin
Deepu Antony28-Oct-09 20:42
Deepu Antony28-Oct-09 20:42 
Thank you very much David for showing intrest.

I tried to do it in MDI child frame window PreCreateWindow by modifying the CREATESTRUCT

it was not working.

Also i pasted the code which you have posted in View class OnCreate function .

both was showing the same result.

Initailly the window will be displayed as maximized and restore dowm button will be enabled.
But once the user press the restore down button, the window will be resized and then the
Maximize button will be disabled. After that the user cannot click on the maximize button.

But what i want to do it is to disable\remove the restore down button in the begining itself so that the user may not be able to resize the window.
The reason is that i am displaying a graph which should be always displayed in a full window.

Is there any solution.
GeneralRe: Disabling Restore option(Minimize,Maximize ,Close) of a window Pin
Randor 28-Oct-09 22:04
professional Randor 28-Oct-09 22:04 
QuestionDrawing in DC(device context) c++,MFC Pin
tibbasultanpur27-Oct-09 19:41
tibbasultanpur27-Oct-09 19:41 
AnswerRe: Drawing in DC(device context) c++,MFC Pin
Naveen27-Oct-09 19:54
Naveen27-Oct-09 19:54 
QuestionMaximum number to split any file. Pin
Le@rner27-Oct-09 19:35
Le@rner27-Oct-09 19:35 
AnswerRe: Maximum number to split any file. Pin
Randor 27-Oct-09 20:30
professional Randor 27-Oct-09 20:30 
GeneralRe: Maximum number to split any file. Pin
Le@rner27-Oct-09 20:36
Le@rner27-Oct-09 20:36 
QuestionRe: Maximum number to split any file. Pin
Adam Roderick J27-Oct-09 20:44
Adam Roderick J27-Oct-09 20:44 
AnswerRe: Maximum number to split any file. Pin
Le@rner27-Oct-09 20:50
Le@rner27-Oct-09 20:50 
GeneralRe: Maximum number to split any file. Pin
Adam Roderick J27-Oct-09 20:57
Adam Roderick J27-Oct-09 20:57 
GeneralRe: Maximum number to split any file. Pin
pallaka27-Oct-09 21:01
pallaka27-Oct-09 21:01 
GeneralRe: Maximum number to split any file. Pin
Richard MacCutchan27-Oct-09 22:21
mveRichard MacCutchan27-Oct-09 22:21 
GeneralRe: Maximum number to split any file. Pin
Michael Schubert27-Oct-09 22:40
Michael Schubert27-Oct-09 22:40 
GeneralRe: Maximum number to split any file. Pin
Le@rner27-Oct-09 23:04
Le@rner27-Oct-09 23:04 
GeneralRe: Maximum number to split any file. Pin
Richard MacCutchan27-Oct-09 23:27
mveRichard MacCutchan27-Oct-09 23:27 
GeneralRe: Maximum number to split any file. Pin
Adam Roderick J27-Oct-09 23:40
Adam Roderick J27-Oct-09 23:40 
GeneralRe: Maximum number to split any file. Pin
Michael Schubert27-Oct-09 23:48
Michael Schubert27-Oct-09 23:48 
GeneralRe: Maximum number to split any file. Pin
Adam Roderick J28-Oct-09 0:34
Adam Roderick J28-Oct-09 0:34 

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.