Supported SDS - DCL functions

return type    function
int dlg_new_dialog(LPTSTR szDialogName,int nDialogFileID,void *pfnDef_Callback,sds_hdlg *hDialog);
int dlg_load_dialog(LPTSTR szFileToLoad,int *nDialogFileID);
int dlg_unload_dialog(int nDialogFileID);
int dlg_start_dialog(sds_hdlg hDialog, int *nMessage);
int dlg_done_dialog(sds_hdlg hDialog,long nMessage);
int dlg_new_positioned_dialog(LPTSTR szDialogName, int nDialogFileID, void *pfnDef_Callback, int nXPos, int nYPos, sds_hdlg *hDialog);
int dlg_done_positioned_dialog(sds_hdlg hDialog, int nMessage, int *nXPos, int *nYPos);
int dlg_term_dialog(void);
int dlg_start_list(sds_hdlg hDialog,LPTSTR szControlKey, int nChangeAddNew,int nWhichItem);
int dlg_add_list(LPTSTR szAddToList);
int dlg_get_list_string(sds_hdlg hDialog, LPTSTR szControlKey, LPTSTR szListString, int nStringLength, int nWhichItem);
int dlg_end_list(void);
int dlg_get_attr(sds_hdlg hDialog, LPTSTR szControlKey, LPTSTR szAttribName, LPTSTR szAttribInfo, int lInfoMaxLength);
int dlg_get_attr_string(sds_htile hControl, LPTSTR szAttribName, LPTSTR szAttribInfo, long lInfoMaxLength);
int dlg_get_tile(sds_hdlg hDialog,LPTSTR szControlKey,LPTSTR szControlInfo,long lInfoMaxLength);
int dlg_action_tile(sds_hdlg hDialog,LPTSTR szControlKey,void *pfnControlFunc);
int dlg_client_data_tile(sds_hdlg hDialog, LPTSTR szControlKey, void *pApplicationData);
int dlg_dimensions_tile(sds_hdlg hDialog, LPTSTR szControlKey, short *nWidthLess1, short *nHeightLess1);
int dlg_mode_tile(sds_hdlg hDialog, LPTSTR szControlKey, int nTileState);
int dlg_set_tile(sds_hdlg hDialog, LPTSTR szControlKey, LPTSTR szControlInfo);
int dlg_start_image(sds_hdlg hDialog, LPTSTR szControlKey);
int dlg_fill_image(int nULCornerX, int nULCornerY, int nWidthLess1, int nHeightLess1, int nColor);
int dlg_slide_image(int nULCornerX, int nULCornerY, int nWidthLess1, int nHeightLess1, LPTSTR szSnapshotName);
int dlg_vector_image(int nXVectStart, int nYVectStart, int nXVectEnd, int nYVectEnd, int nColor);
int dlg_end_image(void);
int dlg_set_window_text(sds_hdlg hDialog, const TCHAR *szText);
int dlg_init_dialog(LPCTSTR pathOfBaseDCL = _T("base.dcl"), BOOL generateErrorLog = false, LPCTSTR pathForErrorLog= _T(""), void* pCallbackFunction=0);
int dlg_set_audit_level(int auditLevel);
int dlg_set_default_callback(void* pCallbackFunction );

Following SDS functions are no longer supported since Bricscad V8:

return type function
void sds_abortintellicad(void);
int sds_init(int nARGC, wchar_t *nARGV[]);
int sds_link(int nRSMsg);
struct sds_resbuf* sds_loaded(void);
int sds_setcallbackfunc(int (*cbfnptr)(int flag,void *arg1,void *arg2,void *arg3));
int sds_xload(const wchar_t *szApplication);
int sds_xunload(const wchar_t *szApplication);

© Menhirs NV. All rights reserved.