Skip to content

extension not shown when dialog is openend maximized #1

@bramboucherie

Description

@bramboucherie

if you open the openFileDialog, not maximized, the extension is added to the right. Then maximize it by double clicking the title bar. Everything resizes ok.

Then press cancel.

Then open the dialog again, it will automatically open again maximized. But now the extension will not be added.

I know nothing about windows messages, but:

I see that in maximized case the WM_SHOWWINDOW in WholeDialogWrapper WndProc does not arrive. Therefore Initcontrol is not called.

I'added:

                case Msg.WM_PAINT:
                    if (!mInitializated)
                        InitControls();
                    break;

now it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions