v7.45 – Problem while restoring window

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34653
    Márcio
    Participant

    Hi there!

    There is a strange behavior when you restore a minimized form when the form is set to appear on taskbar:

    Only a small part of the window becomes visible so you have to resize the form a little bit until it is shown properly again;

    Code on form 3:

    Code:
    protected
    Procedure CreateParams( Var params: TCreateParams ); override;

    procedure TForm3.CreateParams(var params: TCreateParams);
    begin
    inherited CreateParams(Params);
    with Params do
    begin
    ExStyle := ExStyle or WS_EX_APPWINDOW;
    WndParent := GetDesktopwindow;
    end;
    end;

    Sample attached & a video from YouTube

    Tested on Windows 7 32 bits, Delphi XE

    Thanks

    http://www.youtube.com/watch?v=74AaxV2vsEw

    #46174
    Support
    Keymaster

    Hello and thank you for the demo.

    Try to disable a minimizing animation : sSkinManager1.AnimEffects.Minimizing.Active := False;

    Animation will not work in your case.

    #46192
    Márcio
    Participant

    Thank you Serge, but the problem is still here =/

    I've disabled the minimizing effect and, later on, all the other effects but the result is the same.

    The only way I've found to handle the problem is enabling Effects > ExtendedBorders, but unfortunately it really slows down my app (I guess it's probably because my video card stinks).

    Is there any other way around?

    #46204
    Support
    Keymaster

    Hello

    I think, in the version 7.46 this problem will be fixed.

    #46337
    Márcio
    Participant
    'Support' wrote:

    Hello

    I think, in the version 7.46 this problem will be fixed.

    It's fixed in 7.46.

    Thanks, Serge

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