mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2015
Posts: 70
Babel fish
OP Offline
Babel fish
Joined: Aug 2015
Posts: 70
All of a sudden on windows 10, a custom desktop dialog does NOT minimize!

Last edited by _entropy; 04/10/17 02:21 AM.

mIRC Scripts IRC Network: irc://irc.mircscripts.info/chat
Joined: Dec 2002
Posts: 5,412
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,412
Thanks for your bug report. I have not been able to reproduce this issue so far. Can you please provide a step by step method that reproduces this issue, including a minimal script that creates a custom dialog that does not minimize for you?

Joined: Aug 2015
Posts: 70
Babel fish
OP Offline
Babel fish
Joined: Aug 2015
Posts: 70


alias doit { dialog -md test test }

dialog test {
title "test"
size -1 -1 196 44
option dbu notheme
button "OK", 5, 153 27 37 12, ok
}

; Not minimizing frown


mIRC Scripts IRC Network: irc://irc.mircscripts.info/chat
Joined: Dec 2002
Posts: 5,412
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,412
Thank, I was able to reproduce it. It looks like you have found a Windows bug. If you do not use the "notheme" option, the minimize button works. If you tell Windows to disable themes by using "notheme", Windows fails to handle the mimimize button correctly.

Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
I asked entropy to try "/dialog -i test" and he said that also failed to minimize the desktop dialog, and that way is not using the button.

Joined: Dec 2002
Posts: 5,412
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,412
I just tried /dialog -i test on the above dialog and it minimized it. Can you please test this again and confirm? That said, the "notheme" option is a simple call to Windows to disable theming on a Window. There is no other method of enabling/disabling theming. So if Windows is not handling it correctly, there is nothing mIRC can do to resolve it.


Link Copied to Clipboard