Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Executing an EXE from memory Pin
David Crow29-Sep-03 11:14
David Crow29-Sep-03 11:14 
GeneralRe: Executing an EXE from memory Pin
Larry Antram29-Sep-03 12:23
Larry Antram29-Sep-03 12:23 
GeneralRe: Executing an EXE from memory Pin
Michael Dunn29-Sep-03 16:29
sitebuilderMichael Dunn29-Sep-03 16:29 
QuestionHow to create an "Open With" list? Pin
ralfoide29-Sep-03 8:45
ralfoide29-Sep-03 8:45 
AnswerRe: How to create an "Open With" list? Pin
Amit Dey29-Sep-03 13:33
Amit Dey29-Sep-03 13:33 
GeneralEasy question about formatting a string Pin
NewHSKid29-Sep-03 8:18
NewHSKid29-Sep-03 8:18 
GeneralRe: Easy question about formatting a string Pin
Ravi Bhavnani29-Sep-03 8:35
professionalRavi Bhavnani29-Sep-03 8:35 
GeneralRe: Easy question about formatting a string Pin
David Crow29-Sep-03 8:38
David Crow29-Sep-03 8:38 
GeneralRe: Easy question about formatting a string Pin
WREY29-Sep-03 11:49
WREY29-Sep-03 11:49 
QuestionValid Pointer ?? Pin
Shah Shehpori29-Sep-03 8:10
sussShah Shehpori29-Sep-03 8:10 
AnswerRe: Valid Pointer ?? Pin
Ravi Bhavnani29-Sep-03 8:39
professionalRavi Bhavnani29-Sep-03 8:39 
AnswerRe: Valid Pointer ?? Pin
David Crow29-Sep-03 8:53
David Crow29-Sep-03 8:53 
AnswerRe: Valid Pointer ?? Pin
igor196029-Sep-03 13:06
igor196029-Sep-03 13:06 
AnswerRe: Valid Pointer ?? Pin
Michael Dunn29-Sep-03 16:33
sitebuilderMichael Dunn29-Sep-03 16:33 
GeneralVisual Assebmler Pin
Stefak29-Sep-03 7:17
Stefak29-Sep-03 7:17 
GeneralDirectShow with MFC Pin
juryu29-Sep-03 7:09
juryu29-Sep-03 7:09 
GeneralRe: DirectShow with MFC Pin
Ravi Bhavnani29-Sep-03 8:42
professionalRavi Bhavnani29-Sep-03 8:42 
GeneralJPEG2000 Pin
gicio29-Sep-03 7:00
gicio29-Sep-03 7:00 
QuestionInternet Explorer Context Menu? Pin
MKlucher29-Sep-03 6:27
MKlucher29-Sep-03 6:27 
AnswerRe: Internet Explorer Context Menu? Pin
Neville Franks29-Sep-03 11:00
Neville Franks29-Sep-03 11:00 
AnswerRe: Internet Explorer Context Menu? Pin
J. Dunlap29-Sep-03 11:49
J. Dunlap29-Sep-03 11:49 
GeneralRe: Internet Explorer Context Menu? Pin
MKlucher29-Sep-03 19:49
MKlucher29-Sep-03 19:49 
GeneralInheriting existing dialogs Pin
PaulUK0129-Sep-03 6:22
PaulUK0129-Sep-03 6:22 
GeneralHough Transform implementation Pin
lipkaj29-Sep-03 5:36
lipkaj29-Sep-03 5:36 
GeneralCustom OnSize handling Pin
Terry O'Nolley29-Sep-03 4:46
Terry O'Nolley29-Sep-03 4:46 
I have an app that is finished except for the aesthetics associated with my window resizing.

I need the windows size to be no smaller than a certain dimension and I need the height and width to always be a certain ratio.

I have built an OnSize handler, but it doesn't stop the window from resizing.

I have also tried using the WINDOWPLACEMENT structure and manually changing the values in that structure in response to the cx and cy passed to my OnSize handler, but it doesn't prevent all of my controls from resizing as the user continues to drag the window border.

How do I intercept the Window's resizing before the resize actually occurs so I can prevent the window from being resized?










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.