CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Macros | Typedefs
FxFdtDialogs.h File Reference
#include <OdaCommon.h>
#include "FxPragmaPush.h"
#include "FxPragmaPop.h"

Go to the source code of this file.

Classes

struct  dlg_callback_packetA
 
struct  dlg_callback_packetW
 

Macros

#define KEY_STR_MAX   255
 
#define CTRL_SELECT   1
 
#define CTRL_LOST_FOCUS   2
 
#define CTRL_DRAG   3
 
#define CTRL_DOUBLE_CLICK   4
 
#define CTRL_UPDATE   5
 
#define NO_CCLIENTFUNCA   ((CCLIENTFUNCA)0)
 
#define NO_CCLIENTFUNCW   ((CCLIENTFUNCW)0)
 
#define NO_CDLGINITFUNC   ((CDLGINITFUNC)0)
 
#define NO_CDRXLISPFUNCTION   ((CDRXLISPFUNCTION)0)
 
#define DLG_CANCEL   0 /* User pressed Cancel or equivalent */
 
#define DLG_OK   1 /* User pressed Ok */
 
#define DLG_ALLDONE
 
#define DLG_STATUS   2 /* Start of user return codes */
 
#define DLG_ERR_EXIST   -2 /* Dialog allready started */
 
#define DLG_ERR_TOOMANY   -3 /* To many started dialogs */
 
#define DLG_ERR_WRONGHANDLE   -4 /* Invalid dialog handle */
 
#define DLG_L_CHANGE   ((short) 1) /* Change selected listbox contents */
 
#define DLG_L_APPEND   ((short) 2) /* Append new listbox entry */
 
#define DLG_L_NEW   ((short) 3) /* Delete old list and create new list */
 
#define DLG_L_INSERT   ((short)10) /* Insert listbox entry */
 
#define DLG_L_DELETE   ((short)11) /* Delete listbox entry */
 
#define DLG_L_GETSEL   ((short)12) /* Get selected listbox entries */
 
#define DLG_L_GETTEXT   ((short)13) /* Get listbox entries */
 
#define DLG_L_SETSEL   ((short)14) /* Select listbox entry */
 
#define DLG_L_RESETSEL   ((short)15) /* Deselect listbox entry */
 
#define DLG_L_SETCARET   ((short)16) /* Set focus rectangle */
 
#define DLG_M_ENABLE   ((short) 0) /* Enable tile */
 
#define DLG_M_DISABLE   ((short) 1) /* Disable tile */
 
#define DLG_M_SETFOCUS   ((short) 2) /* Set focus to tile */
 
#define DLG_M_SETSEL
 
#define DLG_M_FLIP   ((short) 4) /* Invert current state */
 
#define DLG_M_VISIBLE   ((short) 5) /* Visible tile */
 
#define DLG_M_HIDE   ((short) 6) /* Hide tile */
 
#define TILE_STR_MAX   40
 
#define TILE_STR_LIMIT   2035 /* real limit of dialog strings */
 
#define DLG_B_UNCHECKED   _T("0") /* Checkbox/Radiobutton */
 
#define DLG_B_CHECKED   _T("1") /* Checkbox/Radiobutton */
 
#define DLG_B_INDETERMINATE
 
#define CAD_BG_COLOR   ((short) -2) /* Background color CAD window */
 
#define DLG_BG_COLOR   ((short)-15) /* Background color current dialog window*/
 
#define DLG_TXT_COLOR   ((short)-16) /* Text color of current dialog window */
 
#define DLG_CUR_COLOR   ((short)-18) /* Current color of current dialog window*/
 
#define DLG_SYS_VAR_FONT   ((short) 0) /* System font */
 
#define DLG_SYS_FIX_FONT   ((short) 1) /* System fixed font */
 
#define DLG_ANSI_VAR_FONT   ((short) 2) /* ANSI system font */
 
#define DLG_ANSI_FIX_FONT   ((short) 3) /* ANSI system fixed font */
 

Typedefs

typedef voiddlg_hdlg
 
typedef voiddlg_htile
 
typedef void(* CCLIENTFUNCA) (dlg_callback_packetA *cpkt, void *pClass)
 
typedef void(* CCLIENTFUNCW) (dlg_callback_packetW *cpkt, void *pClass)
 
typedef void(* CDLGINITFUNC) (dlg_hdlg hdlg, void *pClass)
 
typedef int(* CDRXLISPFUNCTION) ()
 

Macro Definition Documentation

◆ CAD_BG_COLOR

#define CAD_BG_COLOR   ((short) -2) /* Background color CAD window */

Definition at line 118 of file FxFdtDialogs.h.

◆ CTRL_DOUBLE_CLICK

#define CTRL_DOUBLE_CLICK   4

Definition at line 62 of file FxFdtDialogs.h.

◆ CTRL_DRAG

#define CTRL_DRAG   3

Definition at line 61 of file FxFdtDialogs.h.

◆ CTRL_LOST_FOCUS

#define CTRL_LOST_FOCUS   2

Definition at line 60 of file FxFdtDialogs.h.

◆ CTRL_SELECT

#define CTRL_SELECT   1

Definition at line 59 of file FxFdtDialogs.h.

◆ CTRL_UPDATE

#define CTRL_UPDATE   5

Definition at line 63 of file FxFdtDialogs.h.

◆ DLG_ALLDONE

#define DLG_ALLDONE
Value:
-1 /* All dialogs terminated with
Dlg_DialogTerm() */

Definition at line 80 of file FxFdtDialogs.h.

◆ DLG_ANSI_FIX_FONT

#define DLG_ANSI_FIX_FONT   ((short) 3) /* ANSI system fixed font */

Definition at line 127 of file FxFdtDialogs.h.

◆ DLG_ANSI_VAR_FONT

#define DLG_ANSI_VAR_FONT   ((short) 2) /* ANSI system font */

Definition at line 126 of file FxFdtDialogs.h.

◆ DLG_B_CHECKED

#define DLG_B_CHECKED   _T("1") /* Checkbox/Radiobutton */

Definition at line 114 of file FxFdtDialogs.h.

◆ DLG_B_INDETERMINATE

#define DLG_B_INDETERMINATE
Value:
_T("2") /* Only Checkbox with attribute 3STATE
or AUTO3STATE */

Definition at line 115 of file FxFdtDialogs.h.

◆ DLG_B_UNCHECKED

#define DLG_B_UNCHECKED   _T("0") /* Checkbox/Radiobutton */

Definition at line 113 of file FxFdtDialogs.h.

◆ DLG_BG_COLOR

#define DLG_BG_COLOR   ((short)-15) /* Background color current dialog window*/

Definition at line 119 of file FxFdtDialogs.h.

◆ DLG_CANCEL

#define DLG_CANCEL   0 /* User pressed Cancel or equivalent */

Definition at line 78 of file FxFdtDialogs.h.

◆ DLG_CUR_COLOR

#define DLG_CUR_COLOR   ((short)-18) /* Current color of current dialog window*/

Definition at line 121 of file FxFdtDialogs.h.

◆ DLG_ERR_EXIST

#define DLG_ERR_EXIST   -2 /* Dialog allready started */

Definition at line 82 of file FxFdtDialogs.h.

◆ DLG_ERR_TOOMANY

#define DLG_ERR_TOOMANY   -3 /* To many started dialogs */

Definition at line 83 of file FxFdtDialogs.h.

◆ DLG_ERR_WRONGHANDLE

#define DLG_ERR_WRONGHANDLE   -4 /* Invalid dialog handle */

Definition at line 84 of file FxFdtDialogs.h.

◆ DLG_L_APPEND

#define DLG_L_APPEND   ((short) 2) /* Append new listbox entry */

Definition at line 88 of file FxFdtDialogs.h.

◆ DLG_L_CHANGE

#define DLG_L_CHANGE   ((short) 1) /* Change selected listbox contents */

Definition at line 87 of file FxFdtDialogs.h.

◆ DLG_L_DELETE

#define DLG_L_DELETE   ((short)11) /* Delete listbox entry */

Definition at line 91 of file FxFdtDialogs.h.

◆ DLG_L_GETSEL

#define DLG_L_GETSEL   ((short)12) /* Get selected listbox entries */

Definition at line 92 of file FxFdtDialogs.h.

◆ DLG_L_GETTEXT

#define DLG_L_GETTEXT   ((short)13) /* Get listbox entries */

Definition at line 93 of file FxFdtDialogs.h.

◆ DLG_L_INSERT

#define DLG_L_INSERT   ((short)10) /* Insert listbox entry */

Definition at line 90 of file FxFdtDialogs.h.

◆ DLG_L_NEW

#define DLG_L_NEW   ((short) 3) /* Delete old list and create new list */

Definition at line 89 of file FxFdtDialogs.h.

◆ DLG_L_RESETSEL

#define DLG_L_RESETSEL   ((short)15) /* Deselect listbox entry */

Definition at line 95 of file FxFdtDialogs.h.

◆ DLG_L_SETCARET

#define DLG_L_SETCARET   ((short)16) /* Set focus rectangle */

Definition at line 96 of file FxFdtDialogs.h.

◆ DLG_L_SETSEL

#define DLG_L_SETSEL   ((short)14) /* Select listbox entry */

Definition at line 94 of file FxFdtDialogs.h.

◆ DLG_M_DISABLE

#define DLG_M_DISABLE   ((short) 1) /* Disable tile */

Definition at line 100 of file FxFdtDialogs.h.

◆ DLG_M_ENABLE

#define DLG_M_ENABLE   ((short) 0) /* Enable tile */

Definition at line 99 of file FxFdtDialogs.h.

◆ DLG_M_FLIP

#define DLG_M_FLIP   ((short) 4) /* Invert current state */

Definition at line 103 of file FxFdtDialogs.h.

◆ DLG_M_HIDE

#define DLG_M_HIDE   ((short) 6) /* Hide tile */

Definition at line 105 of file FxFdtDialogs.h.

◆ DLG_M_SETFOCUS

#define DLG_M_SETFOCUS   ((short) 2) /* Set focus to tile */

Definition at line 101 of file FxFdtDialogs.h.

◆ DLG_M_SETSEL

#define DLG_M_SETSEL
Value:
((short) 3) /* Set editbox selection--allows
auto-clearing of old string */

Definition at line 102 of file FxFdtDialogs.h.

◆ DLG_M_VISIBLE

#define DLG_M_VISIBLE   ((short) 5) /* Visible tile */

Definition at line 104 of file FxFdtDialogs.h.

◆ DLG_OK

#define DLG_OK   1 /* User pressed Ok */

Definition at line 79 of file FxFdtDialogs.h.

◆ DLG_STATUS

#define DLG_STATUS   2 /* Start of user return codes */

Definition at line 81 of file FxFdtDialogs.h.

◆ DLG_SYS_FIX_FONT

#define DLG_SYS_FIX_FONT   ((short) 1) /* System fixed font */

Definition at line 125 of file FxFdtDialogs.h.

◆ DLG_SYS_VAR_FONT

#define DLG_SYS_VAR_FONT   ((short) 0) /* System font */

Definition at line 124 of file FxFdtDialogs.h.

◆ DLG_TXT_COLOR

#define DLG_TXT_COLOR   ((short)-16) /* Text color of current dialog window */

Definition at line 120 of file FxFdtDialogs.h.

◆ KEY_STR_MAX

#define KEY_STR_MAX   255

Definition at line 33 of file FxFdtDialogs.h.

◆ NO_CCLIENTFUNCA

#define NO_CCLIENTFUNCA   ((CCLIENTFUNCA)0)

Definition at line 67 of file FxFdtDialogs.h.

◆ NO_CCLIENTFUNCW

#define NO_CCLIENTFUNCW   ((CCLIENTFUNCW)0)

Definition at line 69 of file FxFdtDialogs.h.

◆ NO_CDLGINITFUNC

#define NO_CDLGINITFUNC   ((CDLGINITFUNC)0)

Definition at line 71 of file FxFdtDialogs.h.

◆ NO_CDRXLISPFUNCTION

#define NO_CDRXLISPFUNCTION   ((CDRXLISPFUNCTION)0)

Definition at line 74 of file FxFdtDialogs.h.

◆ TILE_STR_LIMIT

#define TILE_STR_LIMIT   2035 /* real limit of dialog strings */

Definition at line 110 of file FxFdtDialogs.h.

◆ TILE_STR_MAX

#define TILE_STR_MAX   40

Definition at line 109 of file FxFdtDialogs.h.

Typedef Documentation

◆ CCLIENTFUNCA

typedef void(* CCLIENTFUNCA) (dlg_callback_packetA *cpkt, void *pClass)

Definition at line 66 of file FxFdtDialogs.h.

◆ CCLIENTFUNCW

typedef void(* CCLIENTFUNCW) (dlg_callback_packetW *cpkt, void *pClass)

Definition at line 68 of file FxFdtDialogs.h.

◆ CDLGINITFUNC

typedef void(* CDLGINITFUNC) (dlg_hdlg hdlg, void *pClass)

Definition at line 70 of file FxFdtDialogs.h.

◆ CDRXLISPFUNCTION

typedef int(* CDRXLISPFUNCTION) ()

Definition at line 73 of file FxFdtDialogs.h.

◆ dlg_hdlg

typedef void* dlg_hdlg

Definition at line 29 of file FxFdtDialogs.h.

◆ dlg_htile

typedef void* dlg_htile

Definition at line 30 of file FxFdtDialogs.h.