[comp.os.os2.programmer] pleasant window display

wohler@sapwdf.UUCP (Bill Wohler) (01/14/91)

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