Ayuda TXBrowse desde archivo de recursos

Ayuda TXBrowse desde archivo de recursos

Postby russimicro » Sun Jul 18, 2010 8:33 pm

FWH 10.4 + XHARBOUR.COM + PELLES C

Ayuda... de antemano gracias al grupo

Tengo funcionando este archivo de recursos (ok), pero al agregarle un TXBROWSE,

=> CONTROL "Custom control", 4072, "txbrowse", 0x00000000, 12, 84, 660, 108

se genera el error listado al final



// RESOURCE SCRIPT generated by "Pelles C for Windows, version 6.00".

LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US

1 MANIFEST "WindowsXP.Manifest"

10001 DIALOGEX DISCARDABLE 0, 0, 690, 400
STYLE WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_SYSMENU
CAPTION "Dialog"
FONT 8, "MS Sans Serif", 0, 0, 1
{
CONTROL "", 4009, "SysDateTimePick32", WS_TABSTOP, 588, 52, 88, 14
CONTROL "", 4007, "ComboBox", WS_BORDER|CBS_DROPDOWN|CBS_SORT|WS_VSCROLL|WS_TABSTOP, 412, 12, 264, 184
CONTROL "", 4036, "ComboBox", WS_BORDER|CBS_DROPDOWN|CBS_SORT|WS_VSCROLL|WS_TABSTOP, 280, 284, 180, 84
CONTROL "", 4038, "ComboBox", WS_BORDER|CBS_DROPDOWN|CBS_SORT|WS_VSCROLL|WS_TABSTOP, 280, 300, 180, 84
CONTROL "", 4039, "ComboBox", WS_BORDER|CBS_DROPDOWN|CBS_SORT|WS_VSCROLL|WS_TABSTOP, 280, 316, 180, 76
CONTROL "Fecha", 4001, "Button", BS_GROUPBOX, 328, 1, 356, 68
CONTROL "Detalle", 4002, "Button", BS_GROUPBOX, 4, 72, 680, 128
CONTROL "Totales", 4003, "Button", BS_GROUPBOX, 504, 240, 180, 28
CONTROL "Datos de la Cuenta", 4004, "Button", BS_GROUPBOX, 4, 202, 680, 35
CONTROL "Datos Adicionales", 4005, "Button", BS_GROUPBOX, 4, 272, 460, 60
CONTROL "Nombre Cuenta", 4033, "Button", BS_GROUPBOX, 4, 240, 250, 28
CONTROL "Nombre Tercero", 4034, "Button", BS_GROUPBOX, 260, 240, 240, 28
CONTROL "Saldos", 4035, "Button", BS_GROUPBOX, 472, 272, 212, 60
CONTROL "", 4008, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 392, 52, 160, 13
CONTROL "", 4015, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 552, 32, 32, 14
CONTROL "", 4016, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 588, 32, 88, 14
CONTROL "", 4021, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 28, 212, 124, 20
CONTROL "", 4024, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 72, 300, 40, 13
CONTROL "", 4027, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 72, 284, 120, 13
CONTROL "", 4028, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 120, 300, 72, 13
CONTROL "", 4020, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 176, 212, 132, 20
CONTROL "", 4030, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 312, 212, 192, 20
CONTROL "", 4031, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 508, 212, 84, 20
CONTROL "", 4032, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 596, 212, 84, 20
CONTROL "", 4037, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 72, 316, 40, 13
CONTROL "", 4042, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 148, 316, 44, 13
CONTROL "", 4006, "Static", WS_GROUP, 8, 4, 304, 20
CONTROL "Comprobante", 4010, "Static", WS_GROUP, 336, 16, 48, 8
CONTROL "Fecha", 4011, "Static", WS_GROUP, 560, 56, 25, 8
CONTROL "Detalle", 4013, "Static", WS_GROUP, 336, 56, 40, 8
CONTROL "Nro. Documento", 4014, "Static", WS_GROUP, 492, 36, 52, 8
CONTROL "", 4012, "Static", WS_GROUP, 8, 28, 304, 12
CONTROL "Nit :", 4017, "Static", WS_GROUP, 8, 44, 40, 12
CONTROL "Fecha :", 4018, "Static", WS_GROUP, 8, 60, 40, 12
CONTROL "Hora :", 4019, "Static", WS_GROUP, 200, 60, 40, 12
CONTROL "Activo Fijo", 4022, "Static", WS_GROUP, 200, 304, 40, 8
CONTROL "Plazo", 4023, "Static", WS_GROUP, 8, 320, 40, 8
CONTROL "Centro de Costos", 4025, "Static", WS_GROUP, 200, 288, 56, 8
CONTROL " Base Gravable", 4026, "Static", WS_GROUP, 8, 288, 56, 8
CONTROL "Doc. Referencia", 4029, "Static", WS_GROUP, 8, 304, 60, 8
CONTROL "Activo Diferido", 4040, "Static", WS_GROUP, 200, 320, 56, 8
CONTROL "Cantidad", 4041, "Static", WS_GROUP, 116, 320, 32, 8
CONTROL "Saldo Cuenta", 4043, "Static", WS_GROUP, 480, 288, 72, 8
CONTROL "Saldo Tercero", 4044, "Static", WS_GROUP, 480, 304, 76, 8
CONTROL "Saldo Centro de Costos", 4045, "Static", WS_GROUP, 480, 320, 80, 8
CONTROL "OK", IDOK, "Button", BS_BITMAP|WS_TABSTOP, 576, 368, 100, 30
CONTROL "Cancel", IDCANCEL, "Button", WS_TABSTOP, 576, 336, 100, 30
CONTROL "OK", 4049, "Button", BS_BITMAP|WS_TABSTOP, 352, 368, 100, 30
CONTROL "Cancel", 4050, "Button", WS_TABSTOP, 352, 336, 100, 30
CONTROL "OK", 4051, "Button", BS_BITMAP|WS_TABSTOP, 464, 368, 100, 30
CONTROL "Cancel", 4052, "Button", WS_TABSTOP, 464, 336, 100, 30
CONTROL "OK", 4053, "Button", BS_BITMAP|WS_TABSTOP, 240, 368, 100, 30
CONTROL "Cancel", 4054, "Button", WS_TABSTOP, 240, 336, 100, 30
CONTROL "OK", 4055, "Button", BS_BITMAP|WS_TABSTOP, 128, 368, 100, 30
CONTROL "Cancel", 4056, "Button", WS_TABSTOP, 128, 336, 100, 30
CONTROL "OK", 4057, "Button", BS_BITMAP|WS_TABSTOP, 16, 368, 100, 30
CONTROL "Cancel", 4058, "Button", WS_TABSTOP, 16, 336, 100, 30
CONTROL "...", 4060, "Button", WS_TABSTOP, 260, 284, 16, 12
CONTROL "...", 4061, "Button", WS_TABSTOP, 260, 300, 16, 12
CONTROL "...", 4062, "Button", WS_TABSTOP, 260, 316, 16, 12
CONTROL "...", 4063, "Button", WS_TABSTOP, 156, 212, 16, 20
CONTROL "...", 4064, "Button", WS_TABSTOP, 8, 212, 16, 20
CONTROL "...", 4065, "Button", WS_TABSTOP, 392, 12, 16, 13
CONTROL "", 4066, "Static", WS_GROUP, 60, 60, 112, 12
CONTROL "", 4067, "Static", WS_GROUP, 248, 60, 68, 12
CONTROL "", 4046, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 568, 284, 112, 13
CONTROL "", 4047, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 568, 300, 112, 13
CONTROL "", 4048, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 568, 316, 112, 13
CONTROL "", 4068, "Static", WS_GROUP, 60, 44, 112, 12
CONTROL "", 4059, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 508, 248, 84, 18
CONTROL "", 4069, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 596, 248, 84, 18
CONTROL "Tercero", 4070, "Static", WS_GROUP, 336, 36, 40, 8
CONTROL "Edit", 4071, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 392, 32, 92, 14
CONTROL "Custom control", 4072, "txbrowse", 0x00000000, 12, 84, 660, 108
}

TAB_1 DIALOG DISCARDABLE 6, 14, 100, 100
STYLE WS_CHILD|DS_3DLOOK|WS_CAPTION|WS_VISIBLE
FONT 8, "MS Sans Serif"
{
CONTROL "Salir ", 124, "TBtnBmp", WS_TABSTOP|0x00800000, 459, 211, 32, 32
}

TAB_2 DIALOG DISCARDABLE 6, 14, 100, 100
STYLE WS_CHILD|DS_3DLOOK|WS_VISIBLE
FONT 8, "MS Sans Serif"
{
CONTROL "Salir ", 124, "TBtnBmp", WS_TABSTOP|0x00800000, 459, 211, 32, 32
}

NEW1 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/people.bmp"

NEW BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/edit.bmp"

CARTERA BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/case.bmp"

EMPRESA BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/browse.bmp"

FECHA BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/timedate.bmp"

INTERNET BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/internet.bmp"

USER BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/users1.bmp"

QUIT BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/quit.bmp"

ACTUALIZAR BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/star.bmp"

INDEXAR BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/indexar.bmp"

RECALCULA BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/CALC.bmp"

INDEXA BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/INSPECT.bmp"

OPEN BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/open.bmp"

SEARCH BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/search.bmp"

PRINT BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/print.bmp"

KEYS BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/keys.bmp"

DRAGBTN CURSOR "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/cursors/dragbtn.cur"

PENCIL CURSOR "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/cursors/pen.cur"

BASICOS BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/order.bmp"

COMERCIAL BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/money.bmp"

LABORAL BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/DLG.bmp"

BORRAR BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/Delete.bmp"

EXCEL BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/excel.bmp"

BROWSE BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/browse.bmp"

SETUP BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/setup.bmp"

STAR BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/STAR.bmp"

QUIT32 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/quit.bmp"

PRINTER32 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/print.bmp"

SETUPPRINT BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/printers.bmp"

PDF32 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/PDF.bmp"

SEARCH32 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/search.bmp"

ZOOM32 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/ZOOM32.bmp"

DERECHA BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/32x32/DERECHA.bmp"

2 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA\\image\\open.bmp"

3 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA\\image\\exit.bmp"

PREVIEW_PROC DIALOG DISCARDABLE 173, 87, 194, 82
STYLE WS_POPUP|DS_MODALFRAME|DS_SYSMODAL|DS_3DLOOK|WS_CAPTION|WS_VISIBLE
CAPTION "Preview"
FONT 8, "MS Sans Serif"
{
CONTROL "Preview", IDCANCEL, "Button", WS_TABSTOP, 76, 59, 41, 16
CONTROL "", -1, "Static", 0x00000000, 10, 11, 174, 38
CONTROL "PRINT", -1, "Static", SS_ICON, 17, 20, 16, 16
CONTROL "Building Page:", -1, "Static", WS_GROUP, 46, 26, 48, 10
CONTROL "1", 101, "Static", SS_RIGHT|WS_GROUP, 96, 26, 22, 10
}

PRINT DIALOG DISCARDABLE 76, 39, 215, 81
STYLE WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_SYSMENU
CAPTION "Printing"
FONT 8, "Helv"
{
CONTROL "Printing Range", 1072, "Button", BS_GROUPBOX, 7, 8, 144, 64
CONTROL "&All", 103, "Button", BS_AUTORADIOBUTTON|WS_TABSTOP, 14, 19, 76, 12
CONTROL "&Current Page", 104, "Button", BS_AUTORADIOBUTTON, 14, 31, 76, 12
CONTROL "&Pages", 105, "Button", BS_AUTORADIOBUTTON, 14, 43, 76, 12
CONTROL "&From:", 1089, "Static", SS_RIGHT|WS_GROUP, 22, 58, 25, 9
CONTROL "", 106, "Edit", ES_RIGHT|WS_BORDER|WS_TABSTOP, 50, 56, 26, 12
CONTROL "&To:", 1090, "Static", SS_RIGHT|WS_GROUP, 80, 58, 25, 9
CONTROL "", 107, "Edit", ES_RIGHT|WS_BORDER|WS_TABSTOP, 108, 56, 26, 12
CONTROL "OK", 101, "Button", BS_DEFPUSHBUTTON|WS_GROUP|WS_TABSTOP, 162, 5, 42, 14
CONTROL "Cancel", 102, "Button", WS_GROUP|WS_TABSTOP, 162, 22, 42, 14
}

PRINT_PROC DIALOG DISCARDABLE 173, 87, 194, 82
STYLE WS_POPUP|DS_MODALFRAME|DS_SYSMODAL|WS_CAPTION|WS_VISIBLE
CAPTION "Printing"
FONT 8, "MS Sans Serif"
{
CONTROL "Cancel", IDCANCEL, "Button", WS_TABSTOP, 78, 59, 38, 15
CONTROL "", -1, "Static", 0x00000000, 10, 11, 174, 38
CONTROL "PRINT", -1, "Static", SS_ICON, 17, 20, 16, 16
CONTROL "Printing page:", -1, "Static", WS_GROUP, 46, 26, 47, 10
CONTROL "1", 101, "Static", SS_RIGHT|WS_GROUP, 95, 26, 22, 10
}

FIND DIALOG DISCARDABLE 34, 96, 315, 101
STYLE WS_POPUP|DS_MODALFRAME|DS_3DLOOK|WS_CAPTION|WS_SYSMENU
CAPTION "Buscar"
FONT 8, "MS Sans Serif"
{
CONTROL "", -1, "Button", BS_GROUPBOX|WS_GROUP, 10, 10, 224, 81
CONTROL "&Buscar:", -1, "Static", WS_GROUP, 21, 17, 26, 9
CONTROL "", 101, "Edit", WS_BORDER|WS_TABSTOP, 21, 28, 202, 13
CONTROL "&Dirección:", -1, "Button", BS_GROUPBOX|WS_GROUP, 21, 47, 74, 37
CONTROL "Coincidir &mayúsculas y minúsculas", 104, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 104, 58, 120, 9
CONTROL "&Palabras completas", 105, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 104, 69, 120, 9
CONTROL "Buscar &siguiente", 201, "Button", BS_DEFPUSHBUTTON|WS_TABSTOP, 244, 14, 62, 15
CONTROL "&Cancelar", 202, "Button", WS_TABSTOP, 244, 76, 62, 15
CONTROL "Hacia delante", 4001, "Button", BS_AUTORADIOBUTTON, 28, 58, 56, 10
CONTROL "Hacia atrás", 4002, "Button", BS_AUTORADIOBUTTON, 28, 72, 56, 10
CONTROL "Sgte. Pag.", 4003, "Button", WS_TABSTOP, 250, 36, 50, 15
CONTROL "Pag. Ant.", 4004, "Button", WS_TABSTOP, 250, 56, 50, 15
}

BOTTOM2 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res2.bmp"

EXIT2 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res4.bmp"

NEXT2 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res6.bmp"

ONE_PAGE BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res7.bmp"

ONE_PAGE2 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res8.bmp"

PREVIOUS BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res9.bmp"

PREVIOUS2 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res10.bmp"

PRINTER2 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res12.bmp"

TOP2 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res14.bmp"

TWO_PAGES BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res15.bmp"

TWO_PAGES2 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res16.bmp"

UNZOOM BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res17.bmp"

UNZOOM2 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res18.bmp"

ZOOM BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res19.bmp"

ZOOM2 BITMAP "/DESARRO/ZERUSGES/PLUSCAJA/imagenes/recursos_2/res20.bmp"

STRINGTABLE
{
1, "Cancel"
2, "Printing page"
3, "Preview"
4, "Building page "
5, "Report width is greater than page width"
6, "Attention"
7, "&First"
8, "&Previous"
9, "&Next"
10, "&Last"
11, "&Zoom"
12, "&Normal"
13, "Two &pages"
14, "One &page"
15, "&Print"
}

STRINGTABLE
{
16, "&Exit"
17, "&File"
18, "&Page"
19, "Page number: "
20, "A window preview is already running"
21, "Go to first page"
22, "Go to previous page"
23, "Go to next page"
24, "Go to last page"
25, "Page zoom"
26, "Page unzoom"
27, "Preview on two pages"
28, "Preview on one page"
29, "Print actual page"
30, "Exit from preview"
}



se genera el siguiente error


///////////////////////////////////////////
Listado de Errores

Error FiveWin/3 Cannot create Dialog Box:
Resource: 10001


Llamado desde (b)ZERUS1( 621 ) en el modulo: C:\Desarro\ZerusGes\pluscaja\F\zerus1.prg

Llamado desde CREATEDLGERROR( 559 ) en el modulo: Source\Classes\dialog.prg

Llamado desde TDIALOG:ACTIVATE( 290 ) en el modulo: Source\Classes\dialog.prg

Llamado desde CAPTURACONTABILIDAD( 295 ) en el modulo: F\FWCONTA1.PRG
russimicro
 
Posts: 261
Joined: Sun Jan 31, 2010 3:30 pm
Location: Bucaramanga - Colombia

Re: Ayuda TXBrowse desde archivo de recursos - Solucionado

Postby russimicro » Mon Jul 19, 2010 1:57 am

Ya lo solucione... creo el txbrowse desde codigo...
desde recursos funciona con un .rc mas paqueño ??
russimicro
 
Posts: 261
Joined: Sun Jan 31, 2010 3:30 pm
Location: Bucaramanga - Colombia


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Rick Lipkin and 99 guests