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

C / C++ / MFC

 
GeneralRe: Name that pattern or patterns... Pin
alex.barylski28-Oct-09 5:09
alex.barylski28-Oct-09 5:09 
GeneralRe: Name that pattern or patterns... Pin
Randor 28-Oct-09 6:12
professional Randor 28-Oct-09 6:12 
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 
Thanks for the reply.
I have tried it.And aslo i have tried in childframe precreate function in CREATRSTRUCT structure .

CREATRSTRUCT cs;
cs ~=WS_MAXIMIZEBOX
which disables the maximize box.

But both the ways gives me the same result.That intially window is maximised and the user can press the restore button.
Once the restore button is pressed, the maximize button is disabled.But this is not the actual requirment that the user should not be able to pres the restore button in initial case also.

Is there is any method so that initially also restore button should be disabled
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 
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 

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.