Click here to Skip to main content
15,895,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get my Application's coordinates? Pin
Software20073-May-10 4:25
Software20073-May-10 4:25 
AnswerRe: How to get my Application's coordinates? Pin
Rajesh R Subramanian3-May-10 4:29
professionalRajesh R Subramanian3-May-10 4:29 
GeneralRe: How to get my Application's coordinates? Pin
Software20073-May-10 4:46
Software20073-May-10 4:46 
QuestionResize controls in c++ win 32 Pin
arun_pk3-May-10 3:44
arun_pk3-May-10 3:44 
AnswerRe: Resize controls in c++ win 32 Pin
Cedric Moonen3-May-10 4:18
Cedric Moonen3-May-10 4:18 
GeneralRe: Resize controls in c++ win 32 Pin
arun_pk3-May-10 4:29
arun_pk3-May-10 4:29 
AnswerRe: Automatic resizing controls Pin
Software_Developer3-May-10 5:13
Software_Developer3-May-10 5:13 
AnswerRe: Resize controls in c++ win 32 Pin
David Crow3-May-10 5:46
David Crow3-May-10 5:46 
In response to WM_INITDIALOG, call GetClientRect() to get the dialog's initial size.

In response to WM_GETMINMAXINFO, set the minimum size of the dialog. If nothing else, you can use the values returned from GetClientRect(), but you might also want to consider frame and caption sizes.

In response to WM_SIZE, resize each control that is affected by the dialog's new size.

It's MFC, but I show how to do this here and here.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Man who follows car will be exhausted." - Confucius


AnswerRe: Resize controls in c++ win 32 Pin
Randor 3-May-10 6:34
professional Randor 3-May-10 6:34 
GeneralRe: Resize controls in c++ win 32 Pin
Maximilien3-May-10 7:07
Maximilien3-May-10 7:07 
GeneralRe: Resize controls in c++ win 32 Pin
Randor 3-May-10 8:04
professional Randor 3-May-10 8:04 
GeneralRe: Resize controls in c++ win 32 Pin
David Crow3-May-10 8:37
David Crow3-May-10 8:37 
GeneralRe: Resize controls in c++ win 32 Pin
Randor 3-May-10 9:03
professional Randor 3-May-10 9:03 
GeneralRe: Resize controls in c++ win 32 Pin
David Crow3-May-10 9:11
David Crow3-May-10 9:11 
GeneralRe: Resize controls in c++ win 32 Pin
Randor 3-May-10 9:30
professional Randor 3-May-10 9:30 
GeneralRe: Resize controls in c++ win 32 Pin
David Crow3-May-10 10:29
David Crow3-May-10 10:29 
QuestionI want to display a Images or Icons on second column using CListCtrl Pin
D.Manivelan3-May-10 3:18
D.Manivelan3-May-10 3:18 
AnswerRe: I want to display a Images or Icons on second column using CListCtrl Pin
«_Superman_»3-May-10 7:08
professional«_Superman_»3-May-10 7:08 
QuestionMultimap (STL) equal_range function Pin
AkashAg3-May-10 1:26
AkashAg3-May-10 1:26 
AnswerRe: Multimap (STL) equal_range function Pin
CPallini3-May-10 2:08
mveCPallini3-May-10 2:08 
AnswerRe: Multimap (STL) equal_range function Pin
Stephen Hewitt3-May-10 5:00
Stephen Hewitt3-May-10 5:00 
Questioncrasing in CAsyncSocket Accept Pin
Member 36537513-May-10 1:06
Member 36537513-May-10 1:06 
QuestionRe: crasing in CAsyncSocket Accept Pin
David Crow3-May-10 3:00
David Crow3-May-10 3:00 
AnswerRe: crasing in CAsyncSocket Accept Pin
Member 36537513-May-10 3:55
Member 36537513-May-10 3:55 
GeneralRe: crasing in CAsyncSocket Accept Pin
Rajesh R Subramanian3-May-10 4:26
professionalRajesh R Subramanian3-May-10 4:26 

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.