Here's an easy way to do splash screens without having to
manage dialogs, windows, etc.  For a "modal" splash
screen that shows a bitmap resource named "Splash" that is
located in ghDLLInst for 2000 milliseconds, do the following:

  // Show a modal splash screen.
  SplashResource(ghDLLInst, "Splash", 2000);

For a modeless splash screen that can be shown and hidden at
will, do this:

  // Show a modeless splash screen.
  ShowSplashResource(ghDLLInst, "Splash");

  ... continue processing startup code here ...

  // Hide the modeless splash screen.
  HideSplashResource();

Note that you MUST call HideSplashResource() after every
ShowSplashResource() in order to free occupied memory.

For more information, read the header and heavily commented
source.

Terrell Deppe
San Antonio, Texas
CIS: 72674,2237
