Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SB_SETBKCOLOR not working; Animated gif in dialog
#1
Hi,

For some reason the following command is having no effect on the status bar :

Code:
Copy      Help
SendMessage hsb SB_SETBKCOLOR 0 0x00000000

I tried using the COLORREF format and the regular RGB format...No Effect

Any advice ?
#2
Oh and another question....what is the easiest way to display an 'Animated Gif' in a dialog....(i know web is one :-)

??
#3
Animated gif:
Animated gif in dialog
#4
Thx G.

One followup question : The background of Gif control is black. Is there a way to change that to transparent or maybe white ?
#5
That ActiveX control did not work well in QM. Now replaced.
#6
Works Good now...

How can I include the .gif files or rather any other files as a resource ?? Since, I am just passing the file path as a string.

Code:
Copy      Help
ANIMATEDGIFLib.AnimatedGif g
g._getcontrol(han)
g.AnimatedGif=_s.expandpath("$desktop$\snake.gif")
#7
Adding files to exe resources and extracting at run time
#8
Works Great !

Thx


Forum Jump:


Users browsing this thread: 1 Guest(s)