Defines | Functions | Variables

ap_Win32Dialog_Lists.cpp File Reference

#include <windows.h>
#include "ut_string.h"
#include "ut_string_class.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ut_timer.h"
#include "xap_App.h"
#include "xap_Win32App.h"
#include "xap_Win32FrameImpl.h"
#include "fv_View.h"
#include "ap_Strings.h"
#include "ap_Dialog_Id.h"
#include "ap_Dialog_Lists.h"
#include "ap_Win32Dialog_Lists.h"
#include "gr_Win32Graphics.h"
#include "ap_Win32Resources.rc2"
#include "xap_Win32Toolbar_Icons.h"
#include "xap_Win32Dlg_FontChooser.h"
#include "xap_Win32DialogHelper.h"
#include "ap_Win32App.h"

Defines

#define _DS(c, s)   setDlgItemText(hWnd, AP_RID_DIALOG_##c,pSS->getValue(AP_STRING_ID_##s))
#define _DSX(c, s)   setDlgItemText(hWnd, AP_RID_DIALOG_##c,pSS->getValue(XAP_STRING_ID_##s))

Functions

static void updateControlValue (XAP_Win32DialogHelper &helper, UT_sint32 id, int val)
static void updateControlValue (XAP_Win32DialogHelper &helper, UT_sint32 id, LPCSTR val)

Variables

static const UT_sint32 rgCustomIds []

Define Documentation

#define _DS (   c,
  s 
)    setDlgItemText(hWnd, AP_RID_DIALOG_##c,pSS->getValue(AP_STRING_ID_##s))
#define _DSX (   c,
  s 
)    setDlgItemText(hWnd, AP_RID_DIALOG_##c,pSS->getValue(XAP_STRING_ID_##s))

Function Documentation

static void updateControlValue ( XAP_Win32DialogHelper helper,
UT_sint32  id,
int  val 
) [static]
static void updateControlValue ( XAP_Win32DialogHelper helper,
UT_sint32  id,
LPCSTR  val 
) [static]

Variable Documentation

const UT_sint32 rgCustomIds[] [static]
Initial value:
{
    AP_RID_DIALOG_LIST_GROUP_CUSTOM,
    AP_RID_DIALOG_LIST_STATIC_START_AT,
    AP_RID_DIALOG_LIST_EDIT_START_AT,
    AP_RID_DIALOG_LIST_SPIN_START_AT,
    AP_RID_DIALOG_LIST_STATIC_LIST_ALIGN,
    AP_RID_DIALOG_LIST_EDIT_LIST_ALIGN,
    AP_RID_DIALOG_LIST_SPIN_LIST_ALIGN,
    AP_RID_DIALOG_LIST_STATIC_INDENT_ALIGN,
    AP_RID_DIALOG_LIST_EDIT_INDENT_ALIGN,
    AP_RID_DIALOG_LIST_SPIN_INDENT_ALIGN,
    AP_RID_DIALOG_LIST_STATIC_FORMAT,
    AP_RID_DIALOG_LIST_EDIT_FORMAT,
    AP_RID_DIALOG_LIST_STATIC_FONT,
    AP_RID_DIALOG_LIST_STATIC_LEVEL,
    AP_RID_DIALOG_LIST_STATIC_DECIMAL,
    AP_RID_DIALOG_LIST_EDIT_DECIMAL,
    
    
    AP_RID_DIALOG_LIST_BTN_FONT
}

Referenced by AP_Win32Dialog_Lists::_enableCustomControls().