Paolo Messina

Results 43 comments of Paolo Messina

Hi, it's not clear to me why you are proposing to use a format specifier for `size_t` although the type of the varible is different (HWND). Moreover, it looks like...

It doesn't matter, it's only active in debug builds. It can stay active, it was before I commented it out, waiting for me to decide what to do with the...

Never tried on a dialog box, but in SDI applications the sizegrip is hidden. You can hide it too in dialogs. Of course the status bar will show its own...

I guess it is the responsibility of the final dialog class, which creates the CStatusBar, to disable the CResizableSizeGrip and use only the status bar.

1. Doxyfile is automatically generated and then modified/updated. I did not insert any whitespace at the end of lines on purpose, that is done by Doxygen tools. I don't think...

There is only 1 whitespace on some lines that continue after the line brake, and they're all comments. I don't understand what do we gain if we remove that whitespace,...

I still don't understand what's the purpose of declaring a `const` argument to a function: arguments are always "read-only" for the caller. If you make them `const` you just prevent...

Yes, I'm quite sure I never saw a function argument declared as `const LPCTSTR` or `char* const` like you suggest... You said that declaring `const LPRESIZEPROPERTIES` is equivalent to `RESIZEPROPERTIES*...

I cannot reproduce a hidden dialog, even if I unconditionally set `wp.showCmd = SW_HIDE`. I tried calling ShowWindow(SW_HIDE) inside OnInitDialog(). I also tried modifying the window style inside OnNcCreate(). Nothing...

> See [clsid2/mpc-hc@4dbe739](https://github.com/clsid2/mpc-hc/commit/4dbe739bb3a91ba871ac0bdd37f8d3d97cdc823b) for how the code used to be. > > ``` > m_wndSubtitlesDownloadDialog.Create(m_wndSubtitlesDownloadDialog.IDD, this); > m_wndSubtitlesDownloadDialog.ShowWindow(SW_HIDE); > ``` > > We would create the window and immediately hide...