Problem with form border drawing

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.