mIRC Home    About    Download    Register    News    Help

Print Thread
custom window, from fullscreen to normal #269576 06/11/21 02:35 PM
Joined: Jul 2006
Posts: 3,827
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,827
Code
/window -CBdfkpa +xstn @test -1 -1 200 200
press f11
/window @test 50 50 200 200

if you resize a custom window while it is in fullscreen via /window, the window ends up being borderless. Tested on windows 7.

I believe that mIRC should be handling this and put the border back, not too sure

I also think having a property to check if a window is fullscreen would be a good idea: $window().fullscreen

If this is intended, we would need to be able to know when it occurs, I have made suggestion in the past for new event in menu { } for resizing, it has to be said that currently, making the display (typically picture window) bigger/smaller according to the window's size cannot be done in a smooth way, it requires a fast timer to check for change in size.


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: custom window, from fullscreen to normal [Re: Wims] #269589 12/11/21 12:21 PM
Joined: Dec 2002
Posts: 5,016
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,016
Thanks for your bug report. In full screen, the window is maximized. This is a specific Windows flag and Windows applies its own themes/borders/etc. to maximized/non-maximized windows. There is no way of resetting these without restoring the window and allowing Windows to apply its own theme to the window. If you want to use /window on a maximized window, you need to restore it first.