Recent

Author Topic: Lazrus-1.8.0RC4-fpc-3.0.4RC1 IDE problem  (Read 11240 times)

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Lazrus-1.8.0RC4-fpc-3.0.4RC1 IDE problem
« Reply #30 on: August 17, 2017, 08:15:37 am »
In fact it's not the shadow, it's the bigger resize aware area to the left, right and bottom (not to the top) which causes
these strange coordinates and dimensions.
According to some posts i found that linking with "winver = 6.0" should cure this behaviour.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Lazrus-1.8.0RC4-fpc-3.0.4RC1 IDE problem
« Reply #31 on: August 17, 2017, 08:43:41 am »
Maybe the win32 widgetset should "hide" these borders to the developer by using
Code: Pascal  [Select][+][-]
  1. DwmGetWindowAttribute(Handle, DWMWA_EXTENDED_FRAME_BOUNDS, @frame, sizeof(Windows.RECT));
to present/work with the "real" positions and dimensions.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

jma_sp

  • Full Member
  • ***
  • Posts: 150
  • El conocimiento si ocupa lugar.
Devuan Beowulf 3.0( JWM/ROX/iDesk) - Puppy Linux,  Haiku OS,.ReactOS 0.4.xx  - FreeDos .

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Lazrus-1.8.0RC4-fpc-3.0.4RC1 IDE problem
« Reply #33 on: August 17, 2017, 11:55:56 am »
Maybe the win32 widgetset should "hide" these borders to the developer by using
Code: Pascal  [Select][+][-]
  1. DwmGetWindowAttribute(Handle, DWMWA_EXTENDED_FRAME_BOUNDS, @frame, sizeof(Windows.RECT));
to present/work with the "real" positions and dimensions.
I am curious how Delphi handles this (Setting window position to 0/0) on Windows 10.
Will there be a visible gap of 7 pixels to left of the window?
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

rvk

  • Hero Member
  • *****
  • Posts: 6111
Re: Lazrus-1.8.0RC4-fpc-3.0.4RC1 IDE problem
« Reply #34 on: August 17, 2017, 12:24:14 pm »
I am curious how Delphi handles this (Setting window position to 0/0) on Windows 10.
Will there be a visible gap of 7 pixels to left of the window?
Yes, there is.

sam707

  • Guest
Re: Lazrus-1.8.0RC4-fpc-3.0.4RC1 IDE problem
« Reply #35 on: August 19, 2017, 08:06:49 pm »
Humour season 2 ep. 279. (starring Sam707)

"if i understood, today I can compute the course of a missile from earth to mars with an error of less than 1 inch, considering or not Van Allen's belt! with any computer, tablet, even smartphone...

but

I'am unable to align a square on a screen few centimeters away of my bad ass"

We all need a beer! a barrel!!!"

Enjoy  :D :D :D
« Last Edit: August 19, 2017, 08:12:41 pm by sam707 »

 

TinyPortal © 2005-2018