Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 taskbars
#13
the user picture window does not exist on classic menu, and hid throws error

_taskbars_func
Code:
Copy      Help
;/
function action hWnd
int hwnd=win()
sel action
,case 0;; windows start menu
,,spe
,,key W
,,int h
,,if(_winver<0x501 or (rget(_s "ShellState" "Software\Microsoft\Windows\CurrentVersion\Explorer" 0 "" REG_BINARY) and _s[32]&2=0)) ;;classic
,,,h=wait(10 WV win("" "BaseBar" "" 128 0x94800000 0))
,,else ;;XP/Vista
,,,h=wait(10 WV win("" "DV2ControlHost"))
,,,int uph=win("" "Desktop User Picture")
,,,hid uph; err
,,mov xm-18 ym+18 h
,case 1;; left click
,,if hwnd==hWnd
,,,min hWnd
,,else
,,,act hWnd
,,


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)