xeper

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Complicated Buttons w/ Nested Components #42629
    xeper
    Participant

    QUOTE (Jeremy©JTECH @ Jan 13 2010, 05:50 PM)
    I'm not sure what the new windows 7 buttons you're referring to are, so I've just attached a screenshot.

    Yeah, me too <img src="style_emoticons//biggrin.gif” style=”vertical-align:middle” emoid=”:D” border=”0″ alt=”biggrin.gif” /> i.e. same here:

    pls, pls <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />

    in reply to: TsAlphaImageList.LoadFromResource #39666
    xeper
    Participant

    Thank you very much.

    in reply to: Buttons don't show images #39479
    xeper
    Participant

    QUOTE (Support @ Jun 4 2009, 06:34 AM)
    This feature will be added soon (also will be added CommandLink style for TsButton).

    Kool <img src="style_emoticons//cool.gif” style=”vertical-align:middle” emoid=”:cool:” border=”0″ alt=”cool.gif” /> If by that you mean multiline button caption with firstline eg. bolded (plus glyph)

    M

    in reply to: Detecting skin change in DLL frame #39397
    xeper
    Participant

    Yo,

    I tried, but it's not so easy to replicate me thinks … Simple project works, and since I cannot send you my actual one, it's kinda hopeless. I did manage though: defined app-wide global interface to skinmanager which pings its clients when change occurs.

    Regards

    M.

    in reply to: Detecting skin change in DLL frame #39284
    xeper
    Participant

    QUOTE (Support @ May 18 2009, 08:51 AM)
    Can you do that?

    I can, but it doesn't work: the one and only message that ever gets through (to frame's WindProc) is this AC_GETSKINSTATE. I don't get AC_REFRESH at all.

    Maybe it is so because the Frame is created with nil Owner? But controls on frame do work regardless… TsFrameProvider is created dynamically (in Create).

    WndProc looks like that

    CODE
    public
    procedure WndProc (var Message: TMessage); override;

    procedure TfrBaseMBS.WndProc(var Message: TMessage);
    begin
    // FIXME doesn't work too good: some skins never fire that; it is fired twice + when destroying
    if (Message.Msg = SM_ALPHACMD) And (Message.WParamHi = AC_GETSKINSTATE) then // AC_REFRESH doesn't work
    if Not (csDestroying in ComponentState) then begin
    SkinChanging;
    MessageBeep(MB_ICONASTERISK) // DEBUG
    end;
    inherited;
    end;

    I also noticed that AC_GETSKINSTATE sometimes doesn't fire at all: eg. when switching from 'Cold” to “Elegant” (works for “Gray Plastic”);

    Thanks anyway 🙂

    PS. I need a break. I end natural language sentences with “;”… 😀

Viewing 5 posts - 1 through 5 (of 5 total)