Click here to Skip to main content
16,011,711 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOnSizing not firing in dialog Pin
vineas23-May-05 5:19
vineas23-May-05 5:19 
GeneralRe: OnSizing not firing in dialog Pin
David Crow23-May-05 5:45
David Crow23-May-05 5:45 
GeneralRe: OnSizing not firing in dialog Pin
vineas23-May-05 10:53
vineas23-May-05 10:53 
GeneralRe: OnSizing not firing in dialog Pin
Shog923-May-05 12:46
sitebuilderShog923-May-05 12:46 
GeneralRe: OnSizing not firing in dialog Pin
vineas23-May-05 16:40
vineas23-May-05 16:40 
GeneralRe: OnSizing not firing in dialog Pin
vineas24-May-05 5:58
vineas24-May-05 5:58 
GeneralRe: OnSizing not firing in dialog Pin
Blake Miller23-May-05 6:51
Blake Miller23-May-05 6:51 
GeneralRe: OnSizing not firing in dialog Pin
vineas23-May-05 11:06
vineas23-May-05 11:06 
It is setup with the "resizing" border style in the dialog properties window. It also resizes fine, and the WM_SIZE message comes through as expected, but the WM_SIZING message just never seems to happen.

I dug around a bit more in the dialog and it's base classes, and found that the sizing isn't done entirely through the framework like I though it was. The sizing actually happens inside of a mouse move event which calls "SetWindowPos" when the left mouse is also down. I don't know exactly why this was done (it was done ages ago, long before I started working on it and the developer who did it is no longer here).

Is this the likely culprit? Will a call to SetWindowPos to resize a frame cause the WM_SIZE and WM_WINDOWPOSCHANGING messages to come through as I'm seeing, but not WM_SIZING? That doesn't make much sense ... if WM_SIZE fires, WM_SIZING should as well.

-----
In the land of the blind, the one eyed man is king.
GeneralRe: OnSizing not firing in dialog Pin
Blake Miller25-May-05 4:06
Blake Miller25-May-05 4:06 
GeneralRe: OnSizing not firing in dialog Pin
vineas25-May-05 5:34
vineas25-May-05 5:34 
GeneralRe: OnSizing not firing in dialog Pin
Blake Miller25-May-05 10:25
Blake Miller25-May-05 10:25 
GeneralScreenSaver Notification Pin
Blake Miller23-May-05 5:16
Blake Miller23-May-05 5:16 
GeneralRe: ScreenSaver Notification Pin
David Crow23-May-05 5:51
David Crow23-May-05 5:51 
GeneralRe: ScreenSaver Notification Pin
Blake Miller23-May-05 6:50
Blake Miller23-May-05 6:50 
GeneralRe: ScreenSaver Notification Pin
David Crow23-May-05 7:24
David Crow23-May-05 7:24 
GeneralRe: ScreenSaver Notification Pin
Flit23-May-05 6:58
Flit23-May-05 6:58 
GeneralRe: ScreenSaver Notification Pin
Flit23-May-05 9:04
Flit23-May-05 9:04 
GeneralRe: ScreenSaver Notification Pin
Blake Miller25-May-05 3:56
Blake Miller25-May-05 3:56 
GeneralRe: ScreenSaver Notification Pin
Blake Miller25-May-05 3:54
Blake Miller25-May-05 3:54 
GeneralRemote debugging Pin
JC907923-May-05 5:13
JC907923-May-05 5:13 
GeneralRe: Remote debugging Pin
User 58385224-May-05 0:49
User 58385224-May-05 0:49 
GeneralRe: Remote debugging Pin
doublebug24-May-05 9:47
doublebug24-May-05 9:47 
GeneralRe: Remote debugging Pin
JC907924-May-05 21:18
JC907924-May-05 21:18 
GeneralConvert from hexadecimal to byte Pin
User 197776923-May-05 5:06
User 197776923-May-05 5:06 
GeneralRe: Convert from hexadecimal to byte Pin
toxcct23-May-05 5:15
toxcct23-May-05 5: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.