Problem with form border drawing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38283
    Stephane Senecal
    Participant

    Hi, I don't know if you'll be able to help me, but I can't figure out why my form is displayed as in the screen shot below.

    [attachment=9340:Screenshot.png]

    It is in Delphi 7 with AlphaSkins 14.26 on Windows 10.

    I have a VM with the same specs and the form is drawn correctly.

    So, I believe the problem is on my side, but I don't know what to look for.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #59597
    Stephane Senecal
    Participant

    I noticed that the value returned by GetSystemMetrics(SM_CXSIZEFRAME) is different when debugging vs not.

    It returns 4 when debugging and 8 when not debugging.

    When not debugging the form draws correctly.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #59600
    Support
    Keymaster

    Hello

    Maybe manifest has influence to mode of the application work?

    Can you try to make a new project and check how it work there?

    Also, try to add “XPMan” to the “uses” clause if not added.

    #59728
    Stephane Senecal
    Participant

    I'm not quite sure what changed (a reboot perhaps), but I do not have the problem anymore. Mysteries of Windows.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

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