Where is your Taskbar usually located?

Everything else that doesn't fall into one of the other PB categories.

Where is your Taskbar usually located?

At the bottom (the default).
37
40%
At the bottom (the default).
37
40%
At the top.
4
4%
At the top.
4
4%
At the left.
1
1%
At the left.
1
1%
At the right.
0
No votes
At the right.
0
No votes
It changes often.
0
No votes
It changes often.
0
No votes
It's hidden until I move my mouse to it.
3
3%
It's hidden until I move my mouse to it.
3
3%
Other.
1
1%
Other.
1
1%
 
Total votes: 92

PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Where is your Taskbar usually located?

Post by PB »

As we know the Taskbar can be located on any side of the screen, but it's
usually on the bottom. In one of my apps I need to center a window and I
want to take the Taskbar position into account, but I'm wondering whether
it's better to just assume it's at the bottom, or should I use extra code and
allow for any of the 4 positions? So, please tell: where is yours located?
Last edited by PB on Sat Dec 01, 2007 4:58 am, edited 2 times in total.
Wolf
Enthusiast
Enthusiast
Posts: 232
Joined: Sat Apr 03, 2004 12:00 pm
Location: S.T

Post by Wolf »

At the bottom :wink: other side is maybe use by skining programs or just some user.

bottom side is always better for work more users.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Where is your Taskbar usually located?

Post by PB »

Okay, who voted "Other" and why? :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

may help you

Code: Select all

getwindowrect_(GetDesktopWindow_(),rect.rect)
Debug "Full-Screen"
Debug rect\left
Debug rect\top
Debug rect\right
Debug rect\bottom

SystemParametersInfo_(#SPI_GETWORKAREA,0,rect.rect,0)
Debug "Desktop-Area"
Debug rect\left
Debug rect\top
Debug rect\right
Debug rect\bottom
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Because I use BlackBox (BB4win.org)
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

dracflamloc wrote:Because I use BlackBox (BB4win.org)
When you use this kind of mods, you must live with so small problems, like not really centred windows.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

uhm blackbox is a linux gui isnt it?
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

thefool wrote:uhm blackbox is a linux gui isnt it?
No I think it is a Windows Styling tool.
bye,
Daniel
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

ah ok now i know. Actually it IS for linux, but he uses a version ported to windows.
berklee
User
User
Posts: 36
Joined: Wed Jul 28, 2004 3:45 pm

Post by berklee »

Usually it's found somewhere hear my computer.

And yes, I'm a stupid-head. :)
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

i see




:twisted:
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

I have task bar at the bottom, and quick-launch (with a bunch of program links) at the top. Both hidden until mouse pointer approaches. :)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

bottom, the taskbar issue caused me a lot of headache when dealing with multiple monitors...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> may help you

Thanks GPI, but here was some code I already wrote to get the Taskbar stats:

Code: Select all

TaskbarSize.RECT : SystemParametersInfo_(#SPI_GETWORKAREA,0,TaskbarSize,0)
TaskbarPos.APPBARDATA : SHAppBarMessage_(#ABM_GETTASKBARPOS,TaskbarPos)

Select TaskbarPos\uEdge
  Case #ABE_LEFT : Debug "Left, Width = "+Str(TaskbarSize\left)+", Height = "+Str(TaskbarSize\bottom)
  Case #ABE_TOP : Debug "Top, Width = "+Str(GetSystemMetrics_(#SM_CXSCREEN)-TaskbarSize\left)+", Height = "+Str(GetSystemMetrics_(#SM_CYSCREEN)-(TaskbarSize\bottom-TaskbarSize\top))
  Case #ABE_RIGHT : Debug "Right, Width = "+Str(GetSystemMetrics_(#SM_CXSCREEN)-TaskbarSize\right-TaskbarSize\left)+", Height = "+Str(TaskbarSize\bottom)
  Case #ABE_BOTTOM : Debug "Bottom, Width = "+Str(GetSystemMetrics_(#SM_CXSCREEN)-TaskbarSize\left)+", Height = "+Str(GetSystemMetrics_(#SM_CYSCREEN)-TaskbarSize\bottom)
EndSelect
Maybe it's of some use to someone else here. :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

At the bottom! today I put it at the top and it was confy yes.. but messy so came back to the normal state :) been using it at the bottom since 5 years ago...
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
Post Reply