Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
minimal taskbar toolbar
#1
i want to have a main toolbar similar to other taskbars.
with icons/labels for visible windows.

drag and drop plus full mouse support.
/tb_filter

please ...
Idea Idea Idea
pi
#2
Should it be exact copy of original taskbar? I mean buttons. Why you need it?
#3
Gintaras Wrote:Should it be exact copy of original taskbar? I mean buttons. Why you need it?

no not a copy.
i use bblean as shell with only one plugin enabled (sysbarex for powerpro tray support)
currently i use powerpro for displaying tasks, but i am not complete happy with this solution.
pi
#4
can you give us bars with transparent background (alpha ?)

i have an exact idea on how my taskbar should work.
get all relevant data from visible and minimized windows,
like exe_name, caption,z-order,etc.
show exe_icon and caption as dynamic button.

in powerpro these buttons have no id and one can't move them.

what i really need is some better way to organize my workdesk Confusedhock:

one idea is to minimize windows to floating icons.
how many toolbars qm can handle ?
how do i work with dynamic toolbars ?

i think i need at maximum 30 dynamic toolbars.

maybe there should be a new qm_item, lets name it dynamic button.
you can display a dynamic button either as single button anywhere or alligned with other dynamic buttons.

a display option for dynamic button could be the magnify flag



Idea
pi
#5
can you show me how to deal with a dynamic toolbar with using something like this script:

Code:
Copy      Help
ClearOutput
str titles exe
ARRAY(int) handles
GetWindowList &titles "" 1|2|4 0 0 handles
ARRAY(str) arr = titles

for(int'i 0 arr.len)
,int hwnd=handles[i]
,exe.getwinexe(hwnd 1)
,if _s.getfilename(exe 0)=="blackbox"
,,exe = "explorer.exe *1"
,if arr[i]=="QM Help"
,,exe = "c:\windows\hh.exe *0"
,arr[i].findreplace(":" " ") ;;escape :
,arr[i].escape(1) ;;escape "
,arr[i].formata(" : * %s" exe)
,
titles=arr

int p=DynamicMenu(titles "" 1)
if(p) act handles[p-1]

str s = arr
s.setfile("C:\Programme\gui4cli\pi\windowlist.txt")
;out hwnd

act arr[p-1];err

how do i update the bar ?
pi
#6
This function creates new taskbar-toolbar or updates existing.

Code:
Copy      Help
str titles exe
ARRAY(int) handles
GetWindowList &titles "" 1|2|4 0 0 handles
ARRAY(str) arr = titles

for(int'i 0 arr.len)
,int hwnd=handles[i]
,exe.getwinexe(hwnd 1)
,if _s.getfilename(exe 0)=="blackbox"
,,exe = "explorer.exe *1"
,if arr[i]=="QM Help"
,,exe = "c:\windows\hh.exe *0"
,arr[i].findreplace(":" " ") ;;escape :
,arr[i].escape(1) ;;escape "
,arr[i].formata(" :act %i; err * %s" hwnd exe)
,
titles=arr

int htb=win("MY_TASKBAR" "QM_Toolbar")
if(htb) titles.setmacro("my_taskbar") ;;just replace text, which will automatically update the toolbar
else htb=DynamicToolbar(titles "my_taskbar")
#7
sorry for that stupid question:

in order to have more control over my toolbar i better should a static one, to which i also output the trigger function, or?


i want to have the task icons to accept drop and also drag. with context menu too.
the reason why i need a second taskbar is because the windows taskbar is on left and i very often have to make long ways with mouse for switching to another task (window).
having a tiny toolbar with preserved workspace margin on the right is quite handy.
i have objectdock with own settings, but it is very limited when it comes to drag and drop.
on my tiny taskbar there also will be a button for desktop, where all visible windows are hidden while mouse hover drag.
pi
#8
Dynamic toolbar also can have hook function...
Code:
Copy      Help
;titles=arr
titles.from(" /hook WndProc_ToolbarHook2[]" arr)


Forum Jump:


Users browsing this thread: 1 Guest(s)