ERRORES EN FOLDER IGUALES...
Posted: Wed Mar 15, 2006 7:03 pm
Aqui coloco la cabecera de mi .RC que lo trabajo con PellesC, cuando agrego la linea:
#include <"c:\fhw\include\WinApi.ch">
como me sugirieron y coloco FOLDER32 sin comillas, dice que no reconoce la linea y el archivo esta en el directorio, con Visual C++ da mismo error
// RESOURCE SCRIPT generated by "Pelles C for Windows, version 4.00".
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
este que viene es mi folder:
DLG_FOLDER DIALOG DISCARDABLE 6, 15, 480, 410
STYLE WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_SYSMENU
FONT 8, "MS Sans Serif"
BEGIN
CONTROL "", 113, "SysTabControl32", WS_TABSTOP, 4, 5, 470, 391
END
si lo coloco cmo FOLDER32 no lo reconoce PellesC y este es uno de los dialogos del FOLDER
DLGINV4 DIALOG DISCARDABLE 6, 5, 470, 380
STYLE WS_CHILD|WS_VISIBLE
FONT 8, "MS Sans Serif"
BEGIN
CONTROL "", -1, "Static", SS_BLACKFRAME, 4, 6, 400, 365
CONTROL "Disponible", -1, "Static", WS_GROUP, 320, 21, 35, 8
CONTROL "", -1, "Static", SS_BLACKFRAME, 316, 8, 85, 30
CONTROL "Si", 4001, "Button", BS_AUTORADIOBUTTON, 355, 19, 20, 12
CONTROL "No", 4002, "Button", BS_AUTORADIOBUTTON, 375, 19, 23, 12
CONTROL "101", 101, "Button", WS_TABSTOP, 412, 12, 50, 15
CONTROL "102", 102, "Button", WS_TABSTOP, 412, 32, 50, 15
CONTROL "103", 103, "Button", WS_TABSTOP, 412, 50, 50, 15
CONTROL "104", 104, "Button", WS_TABSTOP, 412, 70, 50, 15
CONTROL "105", 105, "Button", WS_TABSTOP, 412, 89, 50, 15
CONTROL "106", 106, "Button", WS_TABSTOP, 412, 107, 50, 15
CONTROL "107", 107, "Button", WS_TABSTOP, 412, 125, 50, 15
CONTROL "108", 108, "Button", WS_TABSTOP, 412, 145, 50, 15
CONTROL "109", 109, "Button", WS_TABSTOP, 412, 164, 50, 15
CONTROL "110", 110, "Button", WS_TABSTOP, 412, 183, 50, 15
CONTROL "113", 113, "Button", WS_TABSTOP, 411, 353, 50, 15
CONTROL "", 4012, "Static", SS_BLACKFRAME, 409, 7, 57, 365
CONTROL "Ant", 111, "Button", WS_TABSTOP, 414, 332, 16, 16
CONTROL "Sig", 112, "Button", WS_TABSTOP, 438, 332, 16, 16
END
lo que me fijo es que el folder de TESTFOLD es diferente, nose si sera el programas bajo cual esta echo el .RC, quisiera saber cual es el mejor o cual debo usar para que se vea como este de ustedes.
#define IDC_CHECKBOX1 92
#include ".\..\include\WinApi.ch"
#ifdef __FLAT__
1 24 "winxp\WindowsXP.Manifest"
#endif
#ifdef __64__
1 24 "WinXP/WindowsXP.Manifest64"
#endif
Test DIALOG 19, 47, 233, 124
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "FiveWin Folders Demo"
{
CONTROL "", 110, FOLDER32, 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 5, 225, 99
PUSHBUTTON "&OK", 120, 98, 108, 37, 14
}
sub1 DIALOG 18, 18, 151, 80
STYLE WS_CHILD | 4
{
GROUPBOX "Group", -1, 7, 5, 140, 31, BS_GROUPBOX
LTEXT "A label", 10, 22, 17, 48, 8
COMBOBOX 100, 74, 14, 49, 33, CBS_DROPDOWN | WS_TABSTOP
CHECKBOX "This is a Checkbox", IDC_CHECKBOX1, 46, 47, 73, 9, BS_AUTOCHECKBOX | WS_TABSTOP
PUSHBUTTON "&First", 110, 34, 58, 24, 14
PUSHBUTTON "&SubDialog", 120, 68, 58, 43, 14
GROUPBOX "Another group", -1, 8, 39, 139, 37, BS_GROUPBOX
}
sub2 DIALOG 18, 18, 142, 67
STYLE WS_CHILD | 4
{
CONTROL "Text", 110, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 37, 30, 28, 12
CONTROL "Text", 120, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 37, 41, 28, 12
CONTROL "Text", 130, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 37, 52, 28, 12
PUSHBUTTON "&Second", 104, 93, 26, 32, 12
}
espero que con esta informacion pueda alguien ayudarme a solucionar este problema, mi .RC es migrado de WS que era una .DLL
FWH2.4+Harbour+xHarobor+Verce 4.3
Gracias...
#include <"c:\fhw\include\WinApi.ch">
como me sugirieron y coloco FOLDER32 sin comillas, dice que no reconoce la linea y el archivo esta en el directorio, con Visual C++ da mismo error
// RESOURCE SCRIPT generated by "Pelles C for Windows, version 4.00".
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
este que viene es mi folder:
DLG_FOLDER DIALOG DISCARDABLE 6, 15, 480, 410
STYLE WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_SYSMENU
FONT 8, "MS Sans Serif"
BEGIN
CONTROL "", 113, "SysTabControl32", WS_TABSTOP, 4, 5, 470, 391
END
si lo coloco cmo FOLDER32 no lo reconoce PellesC y este es uno de los dialogos del FOLDER
DLGINV4 DIALOG DISCARDABLE 6, 5, 470, 380
STYLE WS_CHILD|WS_VISIBLE
FONT 8, "MS Sans Serif"
BEGIN
CONTROL "", -1, "Static", SS_BLACKFRAME, 4, 6, 400, 365
CONTROL "Disponible", -1, "Static", WS_GROUP, 320, 21, 35, 8
CONTROL "", -1, "Static", SS_BLACKFRAME, 316, 8, 85, 30
CONTROL "Si", 4001, "Button", BS_AUTORADIOBUTTON, 355, 19, 20, 12
CONTROL "No", 4002, "Button", BS_AUTORADIOBUTTON, 375, 19, 23, 12
CONTROL "101", 101, "Button", WS_TABSTOP, 412, 12, 50, 15
CONTROL "102", 102, "Button", WS_TABSTOP, 412, 32, 50, 15
CONTROL "103", 103, "Button", WS_TABSTOP, 412, 50, 50, 15
CONTROL "104", 104, "Button", WS_TABSTOP, 412, 70, 50, 15
CONTROL "105", 105, "Button", WS_TABSTOP, 412, 89, 50, 15
CONTROL "106", 106, "Button", WS_TABSTOP, 412, 107, 50, 15
CONTROL "107", 107, "Button", WS_TABSTOP, 412, 125, 50, 15
CONTROL "108", 108, "Button", WS_TABSTOP, 412, 145, 50, 15
CONTROL "109", 109, "Button", WS_TABSTOP, 412, 164, 50, 15
CONTROL "110", 110, "Button", WS_TABSTOP, 412, 183, 50, 15
CONTROL "113", 113, "Button", WS_TABSTOP, 411, 353, 50, 15
CONTROL "", 4012, "Static", SS_BLACKFRAME, 409, 7, 57, 365
CONTROL "Ant", 111, "Button", WS_TABSTOP, 414, 332, 16, 16
CONTROL "Sig", 112, "Button", WS_TABSTOP, 438, 332, 16, 16
END
lo que me fijo es que el folder de TESTFOLD es diferente, nose si sera el programas bajo cual esta echo el .RC, quisiera saber cual es el mejor o cual debo usar para que se vea como este de ustedes.
#define IDC_CHECKBOX1 92
#include ".\..\include\WinApi.ch"
#ifdef __FLAT__
1 24 "winxp\WindowsXP.Manifest"
#endif
#ifdef __64__
1 24 "WinXP/WindowsXP.Manifest64"
#endif
Test DIALOG 19, 47, 233, 124
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "FiveWin Folders Demo"
{
CONTROL "", 110, FOLDER32, 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 5, 225, 99
PUSHBUTTON "&OK", 120, 98, 108, 37, 14
}
sub1 DIALOG 18, 18, 151, 80
STYLE WS_CHILD | 4
{
GROUPBOX "Group", -1, 7, 5, 140, 31, BS_GROUPBOX
LTEXT "A label", 10, 22, 17, 48, 8
COMBOBOX 100, 74, 14, 49, 33, CBS_DROPDOWN | WS_TABSTOP
CHECKBOX "This is a Checkbox", IDC_CHECKBOX1, 46, 47, 73, 9, BS_AUTOCHECKBOX | WS_TABSTOP
PUSHBUTTON "&First", 110, 34, 58, 24, 14
PUSHBUTTON "&SubDialog", 120, 68, 58, 43, 14
GROUPBOX "Another group", -1, 8, 39, 139, 37, BS_GROUPBOX
}
sub2 DIALOG 18, 18, 142, 67
STYLE WS_CHILD | 4
{
CONTROL "Text", 110, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 37, 30, 28, 12
CONTROL "Text", 120, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 37, 41, 28, 12
CONTROL "Text", 130, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 37, 52, 28, 12
PUSHBUTTON "&Second", 104, 93, 26, 32, 12
}
espero que con esta informacion pueda alguien ayudarme a solucionar este problema, mi .RC es migrado de WS que era una .DLL
FWH2.4+Harbour+xHarobor+Verce 4.3
Gracias...