Posted by member 81717 on 2003-12-08 04:33:37
I't trying to learn how to create my own theme here, but I have encountered a problem which I cannot understand.
I have a small panel of icons (shortcuts) which I want to be able to hide and show.
*shortcut "" 50 500 "cuts.bmp" .none .none #1H
*shortcut "Quake 3" 80 580 "q3_normal.bmp" "q3_hover.bmp" "q3_normal.bmp" #1H "d:\misc\shortcuts\games\q3"
To do that I have another button:
*shortcut "hide/show" 30 390 "lala.bmp" "lala.bmp" "lala.bmp" # !ShortcutGroupToggle 1
And that is working very well.
What I really want, however, is a hotspot in the corner of the screen that toggles the panel (shortcutgroup 1). I simply wrote:
*ckHotSpot -1 0 1 1 !ShortcutGroupToggle 1 !None
---But this does not work!---
To test the hotspot, I tried:
*ckHotSpot -1 0 1 1 !TaskbarToggle !None
And that worke very well. So now I could toggle the taskbar by just moving the mouse to the corner of the screen, but when I changed "!TaskbarToggle" to "!ShortcutGroupToggle 1" nothing happens. And as I tested before, "!ShortcutGroupToggle 1" itself is working, since I can use it in the "hide/show"-button.
I can't understand why this won't work, so if anyone could help I would appriciate it.
(i hop you can understand my explanation, that I didn't make it too messy)
I have a small panel of icons (shortcuts) which I want to be able to hide and show.
*shortcut "" 50 500 "cuts.bmp" .none .none #1H
*shortcut "Quake 3" 80 580 "q3_normal.bmp" "q3_hover.bmp" "q3_normal.bmp" #1H "d:\misc\shortcuts\games\q3"
To do that I have another button:
*shortcut "hide/show" 30 390 "lala.bmp" "lala.bmp" "lala.bmp" # !ShortcutGroupToggle 1
And that is working very well.
What I really want, however, is a hotspot in the corner of the screen that toggles the panel (shortcutgroup 1). I simply wrote:
*ckHotSpot -1 0 1 1 !ShortcutGroupToggle 1 !None
---But this does not work!---
To test the hotspot, I tried:
*ckHotSpot -1 0 1 1 !TaskbarToggle !None
And that worke very well. So now I could toggle the taskbar by just moving the mouse to the corner of the screen, but when I changed "!TaskbarToggle" to "!ShortcutGroupToggle 1" nothing happens. And as I tested before, "!ShortcutGroupToggle 1" itself is working, since I can use it in the "hide/show"-button.
I can't understand why this won't work, so if anyone could help I would appriciate it.
(i hop you can understand my explanation, that I didn't make it too messy)