Click here to Skip to main content
15,918,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionreduce size of CFileDialog Pin
FarPointer20-Oct-05 7:41
FarPointer20-Oct-05 7:41 
AnswerRe: reduce size of CFileDialog Pin
Mircea Puiu20-Oct-05 8:13
Mircea Puiu20-Oct-05 8:13 
AnswerRe: reduce size of CFileDialog Pin
RaajaOfSelf20-Oct-05 9:53
RaajaOfSelf20-Oct-05 9:53 
GeneralRe: reduce size of CFileDialog Pin
bugDanny21-Oct-05 2:56
bugDanny21-Oct-05 2:56 
GeneralRe: reduce size of CFileDialog Pin
RaajaOfSelf21-Oct-05 7:52
RaajaOfSelf21-Oct-05 7:52 
GeneralRe: reduce size of CFileDialog Pin
bugDanny21-Oct-05 8:08
bugDanny21-Oct-05 8:08 
GeneralRe: reduce size of CFileDialog Pin
RaajaOfSelf21-Oct-05 10:18
RaajaOfSelf21-Oct-05 10:18 
GeneralRe: reduce size of CFileDialog Pin
bugDanny21-Oct-05 11:18
bugDanny21-Oct-05 11:18 
Ah, I see that MFC guru. Since you know MFC so well, explain this explanation of CalcWindowRect,

"Call this member function to compute the required size of the window rectangle based on the desired client-rectangle size. The resulting window rectangle (contained in lpClientRect) can then be passed to the Create member function to create a window whose client area is the desired size.

Called by the framework to size windows prior to creation.

A client rectangle is the smallest rectangle that completely encloses a client area. A window rectangle is the smallest rectangle that completely encloses the window."

I noted in there some phrases like, this is "called by the framework to size windows prior to creation" and how this function is called "to compute the required size of the window" and then you can pass the rectangle "to the Create Member function to create a window".

Do you have some constructive critism, like how he might be able to make this work?

Danny

The stupidity of others amazes me!
GeneralRe: reduce size of CFileDialog Pin
FarPointer22-Oct-05 1:30
FarPointer22-Oct-05 1:30 
GeneralRe: reduce size of CFileDialog Pin
bugDanny24-Oct-05 8:32
bugDanny24-Oct-05 8:32 
GeneralRe: reduce size of CFileDialog Pin
RaajaOfSelf23-Oct-05 16:57
RaajaOfSelf23-Oct-05 16:57 
QuestionNew class Pin
bugDanny20-Oct-05 5:28
bugDanny20-Oct-05 5:28 
AnswerRe: New class Pin
David Crow20-Oct-05 5:44
David Crow20-Oct-05 5:44 
GeneralRe: New class Pin
bugDanny20-Oct-05 6:02
bugDanny20-Oct-05 6:02 
GeneralRe: New class Pin
S. Senthil Kumar20-Oct-05 6:03
S. Senthil Kumar20-Oct-05 6:03 
GeneralRe: New class Pin
bugDanny20-Oct-05 6:08
bugDanny20-Oct-05 6:08 
GeneralRe: New class Pin
S. Senthil Kumar21-Oct-05 1:48
S. Senthil Kumar21-Oct-05 1:48 
GeneralRe: New class Pin
bugDanny21-Oct-05 2:45
bugDanny21-Oct-05 2:45 
QuestionWM_MOUSEMOVE Child Window Pin
nermsk20-Oct-05 4:06
nermsk20-Oct-05 4:06 
AnswerRe: WM_MOUSEMOVE Child Window Pin
Mircea Puiu20-Oct-05 4:43
Mircea Puiu20-Oct-05 4:43 
GeneralRe: WM_MOUSEMOVE Child Window Pin
nermsk20-Oct-05 7:33
nermsk20-Oct-05 7:33 
GeneralRe: WM_MOUSEMOVE Child Window Pin
Mircea Puiu20-Oct-05 8:11
Mircea Puiu20-Oct-05 8:11 
AnswerRe: WM_MOUSEMOVE Child Window Pin
TheJonzer20-Oct-05 10:00
TheJonzer20-Oct-05 10:00 
QuestionCStatic derived class Pin
cedric_craze20-Oct-05 4:04
cedric_craze20-Oct-05 4:04 
AnswerRe: CStatic derived class Pin
Cedric Moonen20-Oct-05 4:15
Cedric Moonen20-Oct-05 4:15 

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.