MDI problems

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #45545
    Pontus
    Participant

    Hi!

    Two problems can be solved by removing this code.

    Current code in 7.41 Beta (sSkinProvider.pas);

    WM_NCPAINT : begin

    if (SkinData.CtrlSkinState and ACS_LOCKED = ACS_LOCKED) or (SkinData.CtrlSkinState and ACS_MNUPDATING = ACS_MNUPDATING) or

    (IsMenuVisible(Self) and (Form.Menu.WindowHandle = 0)) or (FormState and FS_ANIMCLOSING = FS_ANIMCLOSING) then Exit;

    Change to this;

    WM_NCPAINT : begin

    // if (SkinData.CtrlSkinState and ACS_LOCKED = ACS_LOCKED) or (SkinData.CtrlSkinState and ACS_MNUPDATING = ACS_MNUPDATING) or

    // (IsMenuVisible(Self) and (Form.Menu.WindowHandle = 0)) or (FormState and FS_ANIMCLOSING = FS_ANIMCLOSING) then Exit;

    This will solve the problem with Windows 7 Aero boarders switching to classic when DrawNonClientArea is disabled. This happens when a MDI child window is maximized.

    It will also solve the problem with the MainMenu not beeing redrawn correctly when maximizing and restoring MDI child windows. This problem occures when DrawNonClientArea is enabled.

    Best regards,

    /Pontus

    #45558
    Support
    Keymaster

    Hello and thank you for examples, I'll research them soon.

    #45569
    Pontus
    Participant

    Thanks!

    The reasons I like to use Windows 7 Aero, instead of skinned boarders, are speed and a more coherent look and feel with other Windows 7 applications. But I realy love using AlphaSkins to enhance the GUI.

    Best regards,

    /Pontus

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