Let a form not to use the AlphaSkins

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35271
    Chen
    Participant

    hi Support Team,

    There we had meet one problem, we need our application(develop by DelphiXE) use the AlphaSkins.Our main form use the AlphaSkins works correct and perfectly. but in our another form, on this form we had draw a picture to the canvas, before use AlphaSkins , it works correct, but when we use the AlphaSkins, there comes an error:windows could not support such big a picture, we had researched the source code of the AlphaSkins. we find the AlphaSkins copy memoryDC to a picture when it repaint. and the picture we draw to the canvas's size is very big(25000*25000).

    Please provide us an solution to resolve this issue.

    Thanks

    Regards

    RaiseSoft

    #48630
    Support
    Keymaster

    Hello, I can suggest two variants for you :

    1. You can change the sSkinManager1.SkinningRules.srStdForms property to False.

    All forms will not be skinned automatically in this case. You should place the TsSkinProvider component to each form which should be skinned.

    2. You can change the Tag property of form (which should not be skinned) to -98 (any standard control will not be skinned, if Tag property will have this special value).

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