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 


Taskbar Management Help Needed

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


Joined: 21 Mar 2002
Posts: 58
Location: Somewhere in time

PostPosted: Tue Jun 01, 2004 5:41 pm    Post subject: Taskbar Management Help Needed Reply with quote

Hiding the Windows taskbar is simple enough, but how do I control the "Always on top" property from within VDS?

If the taskbar is set to "Always on top," hiding the taskbar results in an empty, non-fillable space where the taskbar normally resides. I want to make sure "Always on top" is switched to OFF (unticked) in order to make use of the full screen.

Every reference I've found talks about right-clicking the taskbar, selecting Properties, removing the checkmark, etc. Is there a registry setting or API call that can accomplish this automatically?
Back to top
View user's profile Send private message
Hooligan
VDS Developer
VDS Developer


Joined: 28 Oct 2003
Posts: 480
Location: California

PostPosted: Tue Jun 01, 2004 8:46 pm    Post subject: Reply with quote

You can enable and disable it in win2k using the following reg settings...
(note the value following the 4 FF's...)

(Disable)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2]
"Settings"=hex:28,00,00,00,ff,ff,ff,ff,00,00,00,00,03,00,00,00,3e,00,00,00,1e,00,00,00,fe,ff,ff,ff,e4,02,00,00,02,04,00,00,02,03,00,00

(Enable)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2]
"Settings"=hex:28,00,00,00,ff,ff,ff,ff,02,00,00,00,03,00,00,00,3e,00,00,00,1e,00,00,00,fe,ff,ff,ff,e4,02,00,00,02,04,00,00,02,03,00,00


Haven't checked it in XP or 9X...

Enjoy...
Hooligan

_________________
Hooligan

Why be normal?
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Wed Jun 02, 2004 10:52 am    Post subject: Reply with quote

Yes you can try that...
BTW why do you want to hide the taskbar?
You can simply display your app dialog fullscreen without it by other ways.

For Example here is a simple way (one line code) of doing it with VDSGUI extension.
I have tested it on XP - but prolly should work on any windows version.
You can download the extension form the link in my sig.

Code:

EXTERNAL VDSGUI,DEMO
#DEFINE COMMAND,GUI
  DIALOG CREATE,GUI Fullscreen,-1,0,240,160,class testwin
  DIALOG ADD,BUTTON,BUTTON1,107,49,142,43,BUTTON1,,DEFAULT
  DIALOG SHOW

:EVLOOP
WAIT EVENT
GOTO @EVENT()

:BUTTON1BUTTON
GUI WindowStyle,ADD,#testwin,FULLSCREEN
GOTO EVLOOP

:CLOSE
EXIT

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
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