On Wednesday 08 October 2014 13:57:03 amateur wrote:
> 08.10.2014 14:41, Martin Schreiber пишет:
> > I need your support because I can't reproduce the problem. Please make
> > the recommended tests.
>
> I just hooked up a second monitor.
>
> Everything (dialogs and form) is displayed correctly. But as Desktop
> Center not screen center. Need Screen center...
>
I repeat again:

Please check if "application.workarea" reports correct values for
you, if not check why not. ;-)
I suggest to set a breakpoint in msegui.pas
"
function tguiapplication.workarea(const awindow: twindow = nil): rectty;
var
 id: winidty;
begin
 id:= 0;
 if awindow = nil then begin
  if factivewindow <> nil then begin
   id:= factivewindow.fwindow.id;
  end;
 end
 else begin
  id:= awindow.fwindow.id;
 end;
 result:= gui_getworkarea(id);     <<<<----- here
end;
"
If the Program stops at the breakpoint step with F7 step into 
gui_getworkarea() in order to see what happens.
Please try to find out why gui_getworkarea() does not provide correct values.

Martin

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to