WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: archimede on March 18, 2022, 07:54:15 AM

Title: WinZoom ( ... ) overwrites task bar
Post by: archimede on March 18, 2022, 07:54:15 AM
Hallo.
If I use WinZoom ( MyDialogTitle ) to generate a full screen window for my WinBatch program, the zoomed window overwrites the task bar; I would no overwrite it: is it possible? How?
Thank you very much
Archimede
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: kdmoyers on March 19, 2022, 04:13:31 PM
Perhaps try using WinPlace instead of WinZoom? 
You have to experiment to find perfect numbers, but it works well.
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: archimede on March 20, 2022, 09:57:12 AM
Thank you for answer.
The zoom function shows the window full screen without frame: does WinPlace ( ... ) makes the same thing?
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: archimede on March 20, 2022, 09:58:36 AM
Hallo.
How is possible to set no show task bar?
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: archimede on March 23, 2022, 03:32:04 AM
Hallo.
WinPlace ( ... ) no set zoomed window ( full screen window without frame ).
WinZoom ( ... ) no overwrites the taskbar, but set the taskbar color like the window color: why?
How I can zoom window without set the taskbar color? Is it possible to hide the taskbar?

Thank you very much
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: stanl on March 23, 2022, 12:27:38 PM
Quote from: archimede on March 23, 2022, 03:32:04 AM
Is it possible to hide the taskbar?

Thank you very much


This would take some of Tony's registry magic but HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3

can be configured to toggle auto-hide for Taskbar in Windows 10.
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: archimede on March 26, 2022, 02:35:52 AM
Hallo.
I have Window 7 x64.
Isn't there any utility to hide and show task bar?
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: jmburton2001 on March 26, 2022, 09:41:21 AM
In Windows 7 you can right-click on the taskbar and select "Properties"

You have two options in there. One is to "Lock the taskbar" and the other is "Auto-hide the taskbar"

Auto-hide will hide the taskbar until you move your mouse to the edge (usually bottom) that the taskbar is "hidden" in and then it magically appears. Move your mouse away and then it hides again.
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: archimede on March 27, 2022, 03:25:04 AM
:-(
The problem is to close the task bar by program...
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: archimede on March 27, 2022, 03:27:12 AM
The other solution is a WinZoom ( ... ) no overwrites task bar...
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: stanl on March 27, 2022, 05:02:26 AM
Quote from: archimede on March 27, 2022, 03:25:04 AM
:-(
The problem is to close the task bar by program...


Probably a Win7 registry key that can be tweaked. Issue might be, even if programmable, when it takes effect.
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: stanl on March 27, 2022, 06:33:06 AM
you might play around with this: supposed to work in Win7, I couldn't test, but doesn't work in Win10
Code (WINBATCH) Select


;test - auto hide taskbar in Windows7
cSendKeyValue = "%%u"  ;Alt+u = Auto-hide the taskbar
WshShell = CreateObject("Wscript.shell")
oShell = CreateObject("Shell.Application")
oShell.TrayProperties


Timedelay(2)
WshShell.SendKeys(cSendKeyValue)                       


TimeDelay(2)
WshShell.SendKeys("{ENTER}")  ;Enter to Close Properties


oShell = 0
WshShell = 0
Exit
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: JTaylor on March 27, 2022, 07:46:01 PM
I am fairly sure there is a registry key but can't find it at the moment.    Another option is an undocumented function in the omnibus extender that might do what you want.

AddExtender("wbomnibus.dll")
wnTaskBar(0)
message("HEY","")
wnTaskBar(1)

Exit
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: archimede on April 01, 2022, 02:36:05 AM

JTaylor :
I no found Omnibus extender: where is that?
Thank you very much
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: archimede on April 01, 2022, 02:39:40 AM
stanl:
I tested the routine: it works no very well: without TimeDelay ( 2 ) it no works because it no identify the window.
If, when it works, I am moving mouse it no works: how is possibile to work with that without show the task bar set window?
Thank you very much
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: JTaylor on April 01, 2022, 06:10:16 AM
Sorry...thought there was a link in tech database.

http://www.jtdata.com/anonymous/wbomnibus.zip

Jim
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: archimede on April 01, 2022, 06:55:11 AM
JTaylor
Interesting... but it no solves the problem because it hides the task bar, but when I zoom a window it no occupies the freed by the task bar hided: that space remain no available.
:-)
Title: Re: WinZoom ( ... ) overwrites task bar
Post by: JTaylor on April 01, 2022, 07:14:30 AM
Okay.  Hadn't done much with that and didn't even document it as it was something of an experiment for another project but thought I would throw it out as something to try.  Sorry it didn't solve your problem.

Jim