L_BITMAPCLASS Registered Class:
 Window Styles

LEAD's Window styles specify how the window should be displayed. These can be used in conjunction with the existing WS_ styles.

Note:

If the WS_CAPTION style is not specified when you create the window (for example, if you specify WS_POPUP | L_BS_SIZEWINDOW), the L_BITMAPCLASS will use the title as the path and name of a bitmap file to be loaded during a WM_CREATE message.

The following are the additional windows styles:

Window Style

Meaning

L_BS_BKGNDPALETTE

Causes the window to always select the palette as a background palette.

L_BS_SIZEIMAGE

Specifies that the image should be resized to fit the window.

L_BS_ORDERRGB

Specifies that a true color (24-bit) image should be loaded in reverse (RGB) video order. The default is BGR.

L_BS_THUMBTRACK

Specifies that the window tracks the thumb position when using scroll bars.

L_BS_SIZEWINDOW

Specifies that the window should be resized to the image.

L_BS_CENTER

Specifies that the image should be centered in the window.

L_BS_FIXEDPALETTE

The image will be dithered to a fixed palette in 8-bit mode.

L_BS_NOPOSTQUIT

When the window is destroyed, it will not post a WM_QUIT message.

L_BS_MDICHILD

Specifies that the window is an MDI child.