window on taskbar problem

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32808
    eledh
    Participant

    Hi, I have found this problem:
    with AlphaControls 6.21 (Lite), when I show up second form2 (by button from form1) by: (with no activation)

    ShowWindow(form2.Handle, SW_SHOWNOACTIVATE);
    form2.Visible := true;

    the window has no item on taskbar, until I click by mouse (to activate) into this form.

    All properties of form2 have default values for new form.
    CreateParams for form2:

    procedure CreateParams(var Params:TCreateParams); override;

    procedure TForm2.CreateParams(var Params:TCreateParams);
    begin
    inherited CreateParams(Params);
    Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW;
    Params.WndParent := GetDesktopWindow;
    end;

    Windows Vista, with Aero enabled (when aero is disabled, everything is ok)

    Thanks, have a nice day.

    #38552
    Support
    Keymaster

    Hello

    I will try to research and solve this problem soon, please wait.

    #38638
    eledh
    Participant

    Hello,
    version 6.22, problem is gone.
    Thanks you

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