Flashing black background when resizing a form

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #56893
    Support
    Keymaster

    Hello

    These black rectangles are shown when but size of the control is changed, background is not rendered yet.

    Extended borders solves this issue.

    #56911
    Lasse
    Participant

    I managed to solve this when not using extended borders mode:

    Code:
    procedure TBaseForm.FormCreate(Sender: TObject);
    begin
    inherited;

    SetClassLong(Handle, GCL_HBRBACKGROUND, GetSysColorBrush(COLOR_WINDOW));
    end;

    #56913
    Support
    Keymaster

    Thank you, I didn't knew this feature.

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