Re: Listbox no FWH 6.2
Posted: Fri Nov 12, 2010 1:33 pm
by j.fmagalhaes
Amigo Euclides
Junto o ficheiro RC necessário à compilação que ontem por erro não seguiu.
/****************************************************************************
sdsa.rc
produced by Borland Resource Workshop
*****************************************************************************/
#define DIALOG_2 2
#define SDLCLI_LISTA 2
#define IDC_LISTBOX1 101
#define IDC_GROUPBOX3 102
#define DIALOG_1 1
#define SDLCLI_DADOS 1
#define IDC_GROUPBOX1 101
#define IDC_GROUPBOX2 102
#define IDC_EDIT1 103
#define IDC_EDIT2 104
#define IDC_EDIT3 105
#define IDC_EDIT4 106
#define IDC_EDIT5 107
#define IDC_EDIT6 108
#define IDC_EDIT7 109
#define IDC_EDIT8 110
#define IDC_EDIT9 111
#define IDC_EDIT10 112
#define IDC_EDIT11 113
#define IDC_EDIT12 114
#define IDC_EDIT13 115
#define IDC_EDIT14 116
#define IDC_EDIT15 117
#define IDC_EDIT16 118
#define IDC_EDIT17 119
#define IDC_EDIT18 120
#define IDC_EDIT19 121
#define IDC_EDIT20 122
SDLCLI_DADOS DIALOG 72, 58, 507, 251
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Sans Serif"
{
CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 191, 226, 50, 14
CONTROL "Cancelar", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 263, 226, 50, 14
CONTROL "Dados", IDC_GROUPBOX1, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 7, 10, 492, 193
CONTROL "Opções", IDC_GROUPBOX2, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 7, 210, 492, 34
CONTROL "Consumidor", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 16, 28, 42, 8
CONTROL "", IDC_EDIT1, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 58, 24, 45, 12
CONTROL "Cliente", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 130, 28, 28, 8
CONTROL "", IDC_EDIT2, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 168, 24, 45, 12
CONTROL "Contrato", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 230, 28, 32, 8
CONTROL "", IDC_EDIT3, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 272, 24, 45, 12
CONTROL "Nome", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 16, 42, 31, 8
CONTROL "", IDC_EDIT4, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 58, 38, 194, 12
CONTROL "Residência", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 258, 42, 40, 8
CONTROL "", IDC_EDIT5, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 300, 38, 194, 12
CONTROL "Freguesia", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 16, 56, 34, 8
CONTROL "", IDC_EDIT6, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 58, 52, 194, 12
CONTROL "CPostal", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 263, 56, 28, 8
CONTROL "", IDC_EDIT7, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 300, 52, 194, 12
CONTROL "Res.Factura", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 16, 70, 40, 8
CONTROL "", IDC_EDIT8, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 58, 66, 194, 12
CONTROL "Freguesia", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 260, 70, 35, 8
CONTROL "", IDC_EDIT9, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 300, 66, 194, 12
CONTROL "CPostal", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 16, 84, 36, 8
CONTROL "", IDC_EDIT10, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 58, 80, 194, 12
CONTROL "NIF", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 271, 84, 15, 8
CONTROL "", IDC_EDIT11, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 300, 80, 45, 12
CONTROL "BI", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 353, 84, 10, 8
CONTROL "", IDC_EDIT12, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 367, 80, 45, 12
CONTROL "Dt.BI", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 422, 84, 22, 8
CONTROL "", IDC_EDIT13, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 450, 80, 45, 12
CONTROL "Matriz", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 333, 28, 22, 8
CONTROL "", IDC_EDIT14, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 367, 24, 30, 12
CONTROL "Dt.Abertura", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 16, 98, 40, 8
CONTROL "", IDC_EDIT15, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 58, 94, 45, 12
CONTROL "Contador", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 112, 98, 32, 8
CONTROL "", IDC_EDIT16, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 152, 94, 45, 12
CONTROL "Marca", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 209, 98, 22, 8
CONTROL "", IDC_EDIT17, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 241, 94, 60, 12
CONTROL "Ano", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 312, 98, 15, 8
CONTROL "", IDC_EDIT18, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 335, 94, 30, 12
CONTROL "Modelo", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 377, 98, 27, 8
CONTROL "", IDC_EDIT19, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 409, 94, 20, 12
CONTROL "Pressão", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 437, 98, 28, 8
CONTROL "", IDC_EDIT20, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 470, 94, 24, 12
}
SDLCLI_LISTA DIALOG 28, 73, 525, 263
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Sans Serif"
{
CONTROL "", IDC_LISTBOX1, "LISTBOX", LBS_STANDARD, 12, 16, 421, 232
CONTROL "", IDC_GROUPBOX3, "BUTTON", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 6, 8, 432, 246
}
Obrigado.