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

Minimized MDI Child #3

Open
gMagnus87 opened this issue Jul 28, 2021 · 3 comments
Open

Minimized MDI Child #3

gMagnus87 opened this issue Jul 28, 2021 · 3 comments

Comments

@gMagnus87
Copy link

gMagnus87 commented Jul 28, 2021

This is an issue for Windows itself, not Progman, maybe it can customize the behavior of the MDI Child instead of using the default by Windows.

I would love that the original behavior of the MDI Child could be recovered, since from W9X these become title bars when they are minimized, which not only does not coincide with the original but also makes it impossible to read the element correctly.

@Marfjeh
Copy link
Contributor

Marfjeh commented Sep 24, 2021

I will have a look into this if i have some free time

Marfjeh added a commit to Marfjeh/progman that referenced this issue Sep 27, 2021
Another feature i really wanted to add some time ago, is to have a Working Windows 3.x UI inside the program.
Only things i need to figure out is to readd a way so you could resize the window's inside the Win3.x mode.

This will also enable the feature for minimizing the mdi child to a icon, this will be also a seperate option so you can enable this feature
without having to use the Win3.x ui. or have it both.
Reference: veselcraft#3

To enable this mode, its currently acting as a Easter egg for now. When i'm able to remake the old window border
including able to resize, i will add this as a option in settings.

Right click inside the FormChild with no items selected,

Then this menu will open:
+---------------+
| New Item      |
+ ------------- | <--- Click on the seperator
| Properties    |
+---------------+

This feature is just for fun, it might bloat the program if i think about it.
as this contains PNG files from the buttons from Windows 3.11 that i was running inside PC-EM.

The titlebar is working, only thing that is not working are the menu items inside the close button, only that does work is the close menu item.
As windows still has this menu from windows 3.1 in Windows 10, (right click on any window title icon and you see, and you can still close windows
by double clicking the icon!)

And the font is wrong. Im aware of that.

Signed-off-by: marfjeh <[email protected]>
@gMagnus87
Copy link
Author

Maybe this helps, at the time I tried to use it but the truth is that I am not too good at understanding how other people's code works.

https://www.codeproject.com/Tips/823842/MDI-Forms-that-Minimize-to-Icons

However, it is not complete to give that W3X appearance, it would be necessary to add the name below the icon / image to the code

@Marfjeh
Copy link
Contributor

Marfjeh commented Dec 21, 2021

Yes i've actually looked into that project. there was only a issue with it but i cant remember its some time ago i've worked on this haha.

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

No branches or pull requests

2 participants