🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Bill Wohler Mon, 14 Jan 1991 10:23
pleasant window display
#2393
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads