forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Hide Question...

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
MarkTrubo
Contributor
Contributor


Joined: 27 May 2001
Posts: 148
Location: Long Island, NY

PostPosted: Tue May 02, 2006 1:11 pm    Post subject: Hide Question... Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
WidgetCoder
Contributor
Contributor


Joined: 28 May 2002
Posts: 126
Location: CO, USA

PostPosted: Tue May 02, 2006 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
MarkTrubo
Contributor
Contributor


Joined: 27 May 2001
Posts: 148
Location: Long Island, NY

PostPosted: Tue May 02, 2006 11:33 pm    Post subject: Reply with quote

Ahhh, the old double hide trick. I should have know it! Very Happy

That worked -- thanks!!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group