Paolo Messina

Results 43 comments of Paolo Messina

If the dialog is not initially hidden, the library code does not change it (makes it visible when it already is). If you're ok with calling ShowWindow(SW_HIDE) after modeless dialog...

> There is a way to initially hide the dialog (properly), but we weren't using it. > > https://stackoverflow.com/questions/39771342/show-modelless-dialog-initially-hidden Overriding `OnWindowPosChanging()` works fine and it's the only way to avoid...

Yes, the code base is that old... I think the first release I published was back in 2000 and it was only CReziableDialog. Later on it became ResizableLib. I'm amazed...

I forgot this thread was on a PR ... > And I still would love to get an answer for this: > > > What prevents use of the clear...

Actually I was inaccurate... If I don't call `EnableSaveRestore()` inside my `CDemoDlg::OnInitDialog()`, the dialog stay hidden after creation, until I call `ShowWindow(SW_SHOW);`. But, if I call it, I have to...

It seems if I postpone the call to `LoadWindowRect()` to the first `WM_SHOWWINDOW` message with `wParam == TRUE` (visible) it all works nicely: if the dialog resource specifies `Visible =...

So there are 2 issues here: 1. Not changing the initial/default visible state when you enable the save/restore function 2. Preserving the window visibility in the save/restore data The proposed...

> The existing implementation of Save and Load routines does not literally execute what the name suggests, because values are changed while saving and while loading (MS have added its...

Thanks, I will have a look at your changes and see what can be included. It's always nice to see this library being used in real projects! Especially since I'm...

> Possible solutions for mpc-hc: > > 1. Implement `CResizableCMDUIDialog` the same way you implemented `CResizableDialog` but deriving from `CCmdUIDialog` > > 2. Derive `CResizableCMDUIDialog` from `CResizableDialog` and add the...