Here's the RC file of my application.
Kindly tell me what else is necessary to trace the issue.
Thank you,
Jose
Code: Select all
#include "bitmap.ch"
/// #include "/dev/fw24/include/winapi.ch" for Clippe/Blinker
#define IDHELP 998
BITMAP_TOP BITMAP "bitmaps/top.bmp"
BITMAP_PREV BITMAP "bitmaps/prev.bmp"
BITMAP_NEXT BITMAP "bitmaps/next.bmp"
BITMAP_BOTTOM BITMAP "bitmaps/bottom.bmp"
BITMAP_NEW BITMAP "bitmaps/new.bmp"
BITMAP_OK BITMAP "bitmaps/oknormal.bmp"
BITMAP_EDIT BITMAP "bitmaps/edit.bmp"
BITMAP_DEL BITMAP "bitmaps/del.bmp"
ICON_PCREG ICON "small.ico"
1 ICON "pcreg.ico"
GetSN DIALOG 5, 17, 222, 85
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION ""
FONT 8, "MS Sans Serif"
{
EDITTEXT IDC_EDIT1, 113, 10, 100, 15
EDITTEXT IDC_EDIT2, 113, 35, 41, 15
DEFPUSHBUTTON "OK", IDOK, 26, 62, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 86, 62, 50, 14
PUSHBUTTON "Help", IDHELP, 146, 62, 50, 14
LTEXT "Serial Number:", SAY_1, 50, 13, 60, 15, SS_SIMPLE
LTEXT "Validation code:", SAY_2, 50, 38, 60, 15, SS_SIMPLE
CONTROL "", IDC_1, "TBitmap", 0 | WS_CHILD | WS_VISIBLE, 9, 14, 28, 30
}
Main MENU
{
POPUP "&File"
{
MENUITEM "&Printer Assignments", CM_FILE_PRINTER
MENUITEM SEPARATOR
MENUITEM "P&references", CM_FILE_PREFERENCES
MENUITEM SEPARATOR
MENUITEM "&Check OPOS Devices", CM_CHECK_OPOS
MENUITEM SEPARATOR
MENUITEM "E&xit", CM_FILE_EXIT
}
POPUP "&Options"
{
MENUITEM "&Numpad", CM_OPTIONS_NUMPAD
MENUITEM "&Button Bar", CM_OPTIONS_BTNBAR
MENUITEM "&Maximized", CM_OPTIONS_MAX
MENUITEM "&Double click select", CM_OPTIONS_DBLCLICK
MENUITEM SEPARATOR
MENUITEM "&Save settings", CM_OPTIONS_SAVE
}
MENUITEM "&Lookup", CM_LOOKUP
MENUITEM "Fu&nction", CM_FUNCTION
MENUITEM "&Mode", CM_MODE
// MENUITEM "&Cashier", CM_CASHIER
MENUITEM "Cler&k", CM_CLERK
// MENUITEM "Add &New Option", CM_NEW_OPTION // Notes: To add new option declare a new unique identifier at Bitmap.ch -- jdd December 17, 2013
POPUP "&Help"
{
MENUITEM "&Contents", CM_HELP_CONTENTS
MENUITEM "&Search", CM_HELP_SEARCH
MENUITEM "Using &Help", CM_HELP_USING_HELP
MENUITEM "Show help for &next key or button", CM_HELP_SHOW_HELP
MENUITEM SEPARATOR
MENUITEM "&About", CM_HELP_ABOUT
}
}
PrnAssignDlg DIALOG 6, 17, 194, 230
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Printer Assignments"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 12, 210, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 72, 210, 50, 14
PUSHBUTTON "Help", IDHELP, 132, 210, 50, 14
LTEXT "Port", -1, 12, 3, 30, 12
LTEXT "Printer Name", -1, 44, 3, 55, 12
LTEXT "LPT1 =", -1, 12, 15, 30, 12
LTEXT "LPT2 =", -1, 12, 31, 30, 12
LTEXT "LPT3 =", -1, 12, 47, 30, 12
LTEXT "COM1 =", -1, 12, 63, 30, 12
LTEXT "COM2 =", -1, 12, 79, 30, 12
LTEXT "COM3 =", -1, 12, 95, 30, 12
LTEXT "COM4 =", -1, 12, 111, 30, 12
LTEXT "COM5 =", -1, 12, 127, 30, 12
LTEXT "COM6 =", -1, 12, 143, 30, 12
LTEXT "COM7 =", -1, 12, 159, 30, 12
LTEXT "COM8 =", -1, 12, 175, 30, 12
LTEXT "COM9 =", -1, 12, 191, 30, 12
EDITTEXT IDC_LPT1, 44, 14, 140, 12
EDITTEXT IDC_LPT2, 44, 30, 140, 12
EDITTEXT IDC_LPT3, 44, 46, 140, 12
EDITTEXT IDC_COM1, 44, 62, 140, 12
EDITTEXT IDC_COM2, 44, 78, 140, 12
EDITTEXT IDC_COM3, 44, 94, 140, 12
EDITTEXT IDC_COM4, 44, 110, 140, 12
EDITTEXT IDC_COM5, 44, 126, 140, 12
EDITTEXT IDC_COM6, 44, 142, 140, 12
EDITTEXT IDC_COM7, 44, 158, 140, 12
EDITTEXT IDC_COM8, 44, 174, 140, 12
EDITTEXT IDC_COM9, 44, 190, 140, 12
}
-Joe