Kbase P121078: The Microsoft Window Desktop Icons flash when the Win32 API LockWindowUpdate function is invoked fro
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  01/10/2008 |
|
Status: Unverified
SYMPTOM(s):
The Microsoft Window Desktop Icons flash when the Win32 API LockWindowUpdate function is invoked from a Progress Window WINDOW-RESIZED trigger.
The Progress Window has a WINDOW-RESIZED trigger that calls the Win32 API LockWindowUpdate function. For example:
ON WINDOW-RESIZED OF C-Win DO:
DEFINE VARIABLE iOK AS INTEGER NO-UNDO.
RUN LockWindowUpdate({&WINDOW-NAME}:HWND, OUTPUT iOK).
ASSIGN
FRAME {&FRAME-NAME}:VIRTUAL-WIDTH-PIXELS = SESSION:WORK-AREA-WIDTH-PIXELS
FRAME {&FRAME-NAME}:VIRTUAL-HEIGHT-PIXELS = SESSION:WORK-AREA-HEIGHT-PIXELS
FRAME {&FRAME-NAME}:WIDTH-PIXELS = {&WINDOW-NAME}:WIDTH-PIXELS
FRAME {&FRAME-NAME}:HEIGHT-PIXELS = {&WINDOW-NAME}:HEIGHT-PIXELS
FRAME {&FRAME-NAME}:VIRTUAL-WIDTH-PIXELS = FRAME {&FRAME-NAME}:WIDTH-PIX
FRAME {&FRAME-NAME}:VIRTUAL-HEIGHT-PIXELS = FRAME {&FRAME-NAME}:HEIGHT-PIX NO-ERROR.
IF iOK <> 0 THEN RUN LockWindowUpdate(0, OUTPUT iOK).
END.
FACT(s) (Environment):
Windows
OpenEdge 10.1A02 Service Pack
CAUSE:
Bug# OE00135746
FIX:
Upgrade to OpenEdge 10.1C or later.
If upgrading to OpenEdge 10.1C or later is not feasible, a workaround is to set the X coordinate of the DEFAULT-FRAME to 1 at design time by resizing the window and choosing the advanced button of the FRAME property sheet and setting X = 1.