Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change icon of a pushbutton on quick launch bar
#1
I wonder whether there exists a QM function to dynamically change at run-time the icon of a pushbutton on the quick launch bar. I understand this can be done using QM-Editor "Shortcut" create on quick launch bar. Many thanks in advance.
#2
This is my solution. It works. Any comments are mostly welcome.

Function tempf11
Code:
Copy      Help
str shcut="$appdata$\Microsoft\Internet Explorer\Quick Launch\tempf01.lnk"
SHORTCUTINFO sio
int i=GetShortcutInfoEx(shcut &sio)
sio.iconfile="$My QM$\icons\lykaio.ico"
CreateShortcutEx(shcut sio)
#3
Better solution :
Update .lnk icon

Macro ReplaceQLShcutIcon
Code:
Copy      Help
str shcut="$appdata$\Microsoft\Internet Explorer\Quick Launch\tempf01.lnk"
ChangeShortcutIcon shcut "$My QM$\icons\lykaio.ico"


Forum Jump:


Users browsing this thread: 1 Guest(s)