1.1.27.06 can not see child window

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: 1.1.27.06 can not see child window

Re: 1.1.27.06 can not see child window

Post by lexikos » 20 Jan 2018, 19:33

Fixed in v1.1.27.07.

Re: 1.1.27.06 can not see child window

Post by lexikos » 20 Jan 2018, 18:05

You can use the workaround, or you can wait for the bug to be fixed.

Re: 1.1.27.06 can not see child window

Post by serzh82saratov » 18 Jan 2018, 13:26

But the old scripts do not work now, suggest changing everything, or maybe leaving the same behavior?
What is the conflict?

Re: 1.1.27.06 can not see child window

Post by lexikos » 18 Jan 2018, 04:32

In previous versions if the child window's position was not specified, the child window was centered according to the dimensions of the work area (SPI_GETWORKAREA), but since child windows are positioned relative to the parent GUI, this always resulted in the child GUI being invisible. Now the child window is centered according to the dimensions of the parent GUI.

The dimensions used for centering were also used for restricting the first Gui Show (if size was unspecified). That being the case, the child window is currently restricted to 0x0 if the parent GUI has not yet been sized. You can work around this by calling Gui, Show, Hide w222 h222 (or without Hide) before showing the child GUI.

1.1.27.06 can not see child window

Post by serzh82saratov » 17 Jan 2018, 11:21

Code: [Select all]GeSHi © Codebox Plus

Gui, +HWNDhGui
Gui, 2: -Caption +Parent%hGui%
Gui, 2: Add, Slider
Gui, 2: Show, x0 y0
Gui, Show, w222 h222
Return


1.1.27.03 it works.

Top