Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>@ id ... bitmap</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
@ ID ... BITMAP
Use a bitmap in a dialog
------------------------------------------------------------------------------

Syntax
#include "windows.ch"
#include "topclass.ch"   --or--   #define  NO_C4WCLASS
#include "commands.ch"
@ ID  <nId>  BITMAP  FILE <cFile>
     [ STRETCH ]
     [ <clauses> ]

OR:

@ ID  <nId>  BITMAP  RESOURCE <cnId>
     [ STRETCH ]
     [ <clauses> ]

Arguments
<cFile> is the name of a bitmap (*.BMP) file.

STRETCH can be specified to have the bitmap made
smaller/larger to fit the actual space in the dialog.

<cnId> can be used to specify the id of a bitmap resource.

See the generic @ ID ... <ControlType> command for details of
the other <clauses> and/or parameters allowed.

Description
This command can be used to put a bitmap in a dialog, either
from a file or a resource (which is faster and reduces the
number of files that need shipping as part of your application).

See the generic @ ID ... <ControlType> command for other
information.

Example
@ ID  IDD_BMP  BITMAP  RESOURCE IDB_BMP  STRETCH


See Also: @ ID ...

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson