View previous topic :: View next topic |
Author |
Message |
MarkTrubo Contributor
Joined: 27 May 2001 Posts: 148 Location: Long Island, NY
|
Posted: Tue May 02, 2006 1:11 pm Post subject: Hide Question... |
|
|
When I hide a window, I still see the application like it is minized on my taskbar. Any way to not show it on the task bar? |
|
Back to top |
|
|
WidgetCoder Contributor
Joined: 28 May 2002 Posts: 126 Location: CO, USA
|
Posted: Tue May 02, 2006 2:39 pm Post subject: |
|
|
I remember having this problem once before unfortunately I can't recreate it now. I believe repeating the hide command resolves the issue. Try:
Code: |
DIALOG CREATE,New Dialog,-1,0,178,63,CLASS MyHiddenWnd
DIALOG ADD,BUTTON,DlgHide,17,13,72,27,Dlg Hide
DIALOG ADD,BUTTON,WndHide,17,93,72,27,Wnd Hide
DIALOG SHOW
:Evloop
wait event
goto @event()
:DlgHideBUTTON
dialog hide
dialog hide
wait 3
dialog show
goto evloop
:WndHideBUTTON
%W = @winexists(#MyHiddenWnd)
if %W
# Test to see if the window's iconized
# Just for reference, obviously you're pressing a button
# here so the window's not iconized
if @unequal(@winpos(%W,S),3)
# "iconize" not nessiary but saves mem
window iconize,%W
end
window hide,%W
wait 3
window normal,%W
end
goto evloop
:Close
exit
|
|
|
Back to top |
|
|
MarkTrubo Contributor
Joined: 27 May 2001 Posts: 148 Location: Long Island, NY
|
Posted: Tue May 02, 2006 11:33 pm Post subject: |
|
|
Ahhh, the old double hide trick. I should have know it!
That worked -- thanks!! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|