Disable skinning of window borders

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #37145
    Stephane Senecal
    Participant

    I don't know if I missed an option somewhere, but is it possible to disable skinning of window borders globally?

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #55577
    Support
    Keymaster

    No, you can do it for each form separately only.

    #55599
    Stephane Senecal
    Participant

    So, as I understand, I could disable the skinning of the window border if I placed a TsSkinProvider on every window of my application and set DrawNonClientArea to False.

    In that case, the window border of standard dialog (ex: open file dialog) will still be skinned.

    If I remove srStdDialogs from TsSkinManager.SkinningRules, the window border will not be skinned but the controls too will not be skinned.

    If I'm correct, I would like to suggest to add such a feature to disable skinning of window borders but keep skinning of controls.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #55906
    Support
    Keymaster

    Skinning of standard and thirdparty controls is handled by the TsSkinProvider component.

    Only controls from the AC package may be skinned without a SkinProvider (TsButton, TsEdit and so on).

    #55909
    Stephane Senecal
    Participant

    Is it posible to attach a TsSkinProvider to a standard dialog?

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #55914
    Support
    Keymaster
    'Stephane wrote:

    Is it posible to attach a TsSkinProvider to a standard dialog?

    No, TsSkinProvider can work with Delphi components only.

    #57560
    Stephane Senecal
    Participant

    Do you think it would be difficult to implement?

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #57563
    Support
    Keymaster

    Hi

    I think, I will make it soon.

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