🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2393

pleasant window display

#2393
From: Bill Wohler
Date: Mon, 14 Jan 1991 10:23
28 lines
1345 bytes
folks,

  we want the contents of a window to be displayed all at once, but
  instead we are getting flickering as each subwindow is displayed
  in turn.

  i have created a window with 25 children windows (WC_BUTTON).
  although the original window is invisible (from a
  WinShowWindow(hwnd, FALSE)) when the children are created, when
  displaying the window (with WinShowWindow(hwnd, TRUE)) one can
  see the subwindows displayed in the order that they were created
  rather than the whole window coming up in one moment.  this is
  somewhat annoying.  
  
  we tried bracketing the window creation with
  WinEnableWindowUpdate().  we also tried creating the subwindows
  invisible and rendering them with WinSetMultWindowPos().
  there was no effect.

  i would be happy if someone could suggest a better strategy for
  creating and displaying subwindows so that the display of all windows
  is smooth and immediate.

  thanks!

						--bw
						wohler@sap-ag.de
Technical Details
Message-ID: <2126@sapwdf.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!unido!sapwdf!wohler

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!unido!sapwdf!wohler
From: wohler@sapwdf.UUCP (Bill Wohler)
Newsgroups: comp.os.os2.programmer
Subject: pleasant window display
Keywords: pm,window,display
Message-ID: <2126@sapwdf.UUCP>
Date: 14 Jan 91 10:23:14 GMT
Reply-To: Bill Wohler <wohler@sap-ag.de>
Organization: SAP AG  Walldorf, Germany
Lines: 28