|
ERRCODE TFormer_OpenDesigner |
( |
HTFORM |
pInstance, |
|
|
LPCSTR |
pszDesignExe, |
|
|
BOOL |
bShowSplash, |
|
|
BOOL |
bMaximize, |
|
|
BOOL |
bUseExistingInstance, |
|
|
LPCSTR |
pszExtraParameters | |
|
) |
| | |
Opens the currently selected FormLayout with TFORMer Designer.
- Returns:
- - ErrOk (0) in case of success
- Non-zero if error occurred
- Parameters:
-
[in] | pInstance | The TFORMer-Instance provided by a previous call to TFormer_Init. |
[in] | pszDesignExe | if NULL the function tries to locate TFORMer Designer by itself |
[in] | bShowSplash | Show the splash screen of TFORMer Designer? |
[in] | bMaximize | Open TFORMer Designer maximized? |
[in] | bUseExistingInstance | Try to use an existing TFORMer Designer instance?
This parameter avoids multiple TFORMer Designer windows. A new instance of TFORMer Designer is opened if no existing instance is found or no existing instance can be used. |
[in] | pszExtraParameters | Parameters which should be sent to TFORMer Designer (Default: NULL)
These parameters are used for branding of TFORMer Designer via the command-line (see below). |
- Note:
- Make sure that your purchased license model fits your requirements. If you are creating applications which are distributed to 3rd party you may need to redistribute TFORMer Designer as well.
TFormer_SetFormName has to be called prior to calling this function.
For branding TFORMer Designer there are two different possibilities:
- Provide Splash-Screen and About Box bitmaps in the same directory as TFORMer Designer is installed. The required filenames are TFSS.mbp (Splash-Screen) and TFAb.mbp (About Box)
- Via command-line parameters (these parameters overrule the file-system):
/Splash [SplashPicture.bmp]
/AboutBox [AboutboxPicture.bmp]
- See also:
- TFormer_IsDesignerAvailable.
|