Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up code for modeless dialogs #1654

Merged
merged 2 commits into from
Apr 7, 2022
Merged

clean up code for modeless dialogs #1654

merged 2 commits into from
Apr 7, 2022

Conversation

adipose
Copy link

@adipose adipose commented Apr 7, 2022

This allows creation of a modeless dialog that will not be displayed when EnableSaveRestore() is called. It is not dependent on the min/max state anymore, which adds flexibility. It adds one flag to the create method for derived dialogs.

Also was able to remove the SW_HIDE calls as they are non-functional when working. The two dialogs in question (download subs and fav organize) are set to be invisible on creation. The only reason fav dialog ever showed is the restorewindowstate call which displays it by default.

No need to create on the fly, either, removed that code for favorites.

@clsid2 clsid2 merged commit f1942c9 into clsid2:develop Apr 7, 2022
@adipose adipose deleted the patch242 branch April 23, 2022 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants