sSpeedButton demo question!

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33776
    Jeffijoe
    Participant

    Hi again!

    I noticed that the sSpeedButton's in the UnitBarControls in the AC Demo has some glyphs, and they change when you hover the mouse over them, and when you click it, with a cool transition effect. I extracted the images from the imagelist, and tried it myself, but I can't get the mouse-over / click effects. How do I get the button to change?

    P.S: The sSpeedButton's in the demo uses the ImgList_Multi16 list, so I extracted them from there, and tried to put them in my own list. What do I do now?

    Thanks!

    #42639
    Support
    Keymaster

    Hello
    Images in the button must be changed automatically if state of the button is changed.
    Fading effect will be occured automatically if buttons animation is allowed and used.

    #42707
    Jeffijoe
    Participant

    QUOTE (Support @ May 28 2010, 07:11 AM) <{POST_SNAPBACK}>
    Hello
    Images in the button must be changed automatically if state of the button is changed.
    Fading effect will be occured automatically if buttons animation is allowed and used.

    Automatically? That must be true, since I found no image changing code in the demo!

    However, I tried using the same imagelist and the same button in a different project, and the last state is not working! (the clicked state)

    Could you guide me through the process of making a working speedbutton like the one in the demo?

    Thanks Serge!

    #42750
    Support
    Keymaster

    You must use AlphaImageLists with multi-glyphs and sSpeedButton.Numglyphs must be changed to 2
    You did it?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.