Click here to Skip to main content
15,892,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: change the caption of dialog box dynamically Pin
Aryan S25-Jan-06 2:21
Aryan S25-Jan-06 2:21 
GeneralRe: change the caption of dialog box dynamically Pin
Eytukan25-Jan-06 2:31
Eytukan25-Jan-06 2:31 
QuestionWM_GETMINMAXINFO and wrapping windows Pin
virtualrush25-Jan-06 0:59
virtualrush25-Jan-06 0:59 
AnswerRe: WM_GETMINMAXINFO and wrapping windows Pin
jhwurmbach25-Jan-06 1:06
jhwurmbach25-Jan-06 1:06 
GeneralRe: WM_GETMINMAXINFO and wrapping windows Pin
virtualrush25-Jan-06 1:35
virtualrush25-Jan-06 1:35 
GeneralRe: WM_GETMINMAXINFO and wrapping windows Pin
jhwurmbach25-Jan-06 2:05
jhwurmbach25-Jan-06 2:05 
GeneralRe: WM_GETMINMAXINFO and wrapping windows Pin
normanS25-Jan-06 19:17
normanS25-Jan-06 19:17 
GeneralRe: WM_GETMINMAXINFO and wrapping windows Pin
jhwurmbach25-Jan-06 21:39
jhwurmbach25-Jan-06 21:39 
normanS wrote:
Don't the MFC gurus have a way to look at the MFC code, to see what MFC actually does with this message?

// don't allow sizing smaller than the non-client area
CRect rectWindow, rectClient;
GetWindowRect(rectWindow);
GetClientRect(rectClient);
pMMI->ptMinTrackSize.x = rectWindow.Width() - rectClient.right;
pMMI->ptMinTrackSize.y = rectWindow.Height() - rectClient.bottom;
is what I found as default behaviour. This is from CMiniFrameWnd and it might be different in other classes, but I did not find the implementation.



"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."

-- Caius Petronius, Roman Consul, 66 A.D.

GeneralRe: WM_GETMINMAXINFO and wrapping windows Pin
David Crow25-Jan-06 3:40
David Crow25-Jan-06 3:40 
AnswerRe: WM_GETMINMAXINFO and wrapping windows Pin
Vipin Aravind25-Jan-06 18:52
Vipin Aravind25-Jan-06 18:52 
QuestionHow to know and capture if a tooltip appears on screen? Pin
Rashid.Mahmood25-Jan-06 0:58
Rashid.Mahmood25-Jan-06 0:58 
AnswerRe: How to know and capture if a tooltip appears on screen? Pin
Rashid.Mahmood25-Jan-06 18:58
Rashid.Mahmood25-Jan-06 18:58 
AnswerRe: How to know and capture if a tooltip appears on screen? Pin
Stephen Hewitt25-Jan-06 21:26
Stephen Hewitt25-Jan-06 21:26 
QuestionDLL calback functions Pin
Rostfrei25-Jan-06 0:55
Rostfrei25-Jan-06 0:55 
AnswerRe: DLL calback functions Pin
ky_rerun25-Jan-06 1:29
ky_rerun25-Jan-06 1:29 
QuestionNot able to Read LPSTREAM data Pin
saravana pandy25-Jan-06 0:49
saravana pandy25-Jan-06 0:49 
AnswerRe: Not able to Read LPSTREAM data Pin
Stephen Hewitt25-Jan-06 21:30
Stephen Hewitt25-Jan-06 21:30 
QuestionDocument pointer Pin
QuickDeveloper24-Jan-06 23:58
QuickDeveloper24-Jan-06 23:58 
AnswerRe: Document pointer Pin
Owner drawn25-Jan-06 0:11
Owner drawn25-Jan-06 0:11 
AnswerRe: Document pointer Pin
David Crow25-Jan-06 3:47
David Crow25-Jan-06 3:47 
Questionhow to read and write a file use unicode in windows 98?? Pin
ebinaini24-Jan-06 23:44
ebinaini24-Jan-06 23:44 
AnswerRe: how to read and write a file use unicode in windows 98?? Pin
Owner drawn24-Jan-06 23:55
Owner drawn24-Jan-06 23:55 
AnswerRe: how to read and write a file use unicode in windows 98?? Pin
David Crow25-Jan-06 3:49
David Crow25-Jan-06 3:49 
GeneralRe: how to read and write a file use unicode in windows 98?? Pin
ebinaini25-Jan-06 14:31
ebinaini25-Jan-06 14:31 
QuestionRe: how to read and write a file use unicode in windows 98?? Pin
David Crow26-Jan-06 2:27
David Crow26-Jan-06 2:27 

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.