POV-Ray : Newsgroups : povray.beta-test : Winpov & Moray problem : Re: Winpov & Moray problem Server Time
29 Jul 2024 18:18:17 EDT (-0400)
  Re: Winpov & Moray problem  
From: Anders K 
Date: 22 Mar 2002 18:10:10
Message: <3c9bb9d2$1@news.povray.org>
> the popup licence dialogue is also minimised, is stealing focus from
> the main povray, and cannot be clicked

There have been so many special cases of this same bug being reported. Why
do modal dialog boxes prevent POV-Ray from being restored anyway? That
didn't happen when I made a simple application with a modal dialog box.

In fact, I just figured out what the problem is. If you go to Help > About,
and minimize POV-Ray in the time between when the splash screen is displayed
and the actual about box is displayed, the exact same thing happens; POV-Ray
cannot be restored, and clicking or right-clicking on the POV-Ray taskbar
button has no effect. I used Spy++ to find out that the about box is being
displayed in the rectangle (2786, 2772)-(3374, 3252), which is well off the
screen.

Could it have something to do with the fact that POV-Ray always centers the
about dialog in the main window, and IIRC, when the main window is
minimized, Windows always gives (3000, 3000) as the window position,
resulting in the dialog being off the screen?

So all you would need to do is not try to center the dialog boxes (any of
them) in the main window when the window is minimized.

Anders

--
light_source{6#local D=#macro B(E)#macro A(D)#declare E=(E-#declare
C=mod(E D);C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(
C>2)}torus{1..2clipped_by{box{-2y}}rotate<1 0C>*90translate<D+1A(2)
*2+1#else}cylinder{0(C-v=1).2translate<D+C*A(2)A(4)#end-2 13>finish
{specular 1}pigment{rgb x}#end#end#end-8;1B(445000298)B(519053970)B
(483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.