1999-02-05 18:40:47 +01:00
|
|
|
/****************************************************************************
|
|
|
|
|
|
|
|
|
|
|
|
CMDLGR.RC
|
|
|
|
|
|
|
|
originally produced by Borland Resource Workshop, and then heavily edited
|
|
|
|
|
|
|
|
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#include <windows.h>
|
1999-04-18 15:25:58 +02:00
|
|
|
#include "cmdlgtst.h"
|
1999-02-05 18:40:47 +01:00
|
|
|
|
|
|
|
TestCommdlgMenu MENU
|
|
|
|
{
|
|
|
|
POPUP "&File"
|
|
|
|
{
|
|
|
|
MENUITEM "&Quit", CM_U_EXIT
|
|
|
|
}
|
|
|
|
|
|
|
|
POPUP "&Commdlg"
|
|
|
|
{
|
|
|
|
MENUITEM "&Open", CM_U_OPEN
|
|
|
|
MENUITEM "&Save", CM_U_SAVE
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "&Color", CM_U_COLOR
|
|
|
|
MENUITEM "&Font", CM_U_FONT
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Find &Text", CM_U_FIND
|
|
|
|
MENUITEM "&Replace Text", CM_U_REPLACE
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "P&rint", CM_U_PRINT
|
|
|
|
}
|
|
|
|
|
|
|
|
POPUP "F&lags"
|
|
|
|
{
|
|
|
|
MENUITEM "Fil&e", CM_F_FILE
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "&Color", CM_F_COLOR
|
|
|
|
MENUITEM "&Font", CM_F_FONT
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Find/&Replace", CM_F_FINDREPLACE
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "P&rint", CM_F_PRINT
|
|
|
|
}
|
|
|
|
|
|
|
|
POPUP "&Help"
|
|
|
|
{
|
- color and font dialogs now actually do something interesting,
and force a redraw when successful. Background color is adjustable.
Text color is also adjustable, but the user has to set the CF_EFFECTS
flag first.
- text is output left-right centered, baseline, at the middle
of the window, and moves with the window. Text font is adjustable.
- Success and failure MessageBox calls for Color, Font, Open,
and Save have been removed or suppressed. They annoyed me after
awhile, and I suspect they annoyed others, too. Use my tool! :-)
- cmdlgtst now has the full pathname in the upper left corner; which may
assist in debugging certain problems -- or it may not. :-)
- usage dialog added
1999-04-10 18:54:37 +02:00
|
|
|
MENUITEM "&Usage", CM_H_USAGE
|
1999-02-05 18:40:47 +01:00
|
|
|
MENUITEM "&About", CM_H_ABOUT
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Color_Flags_Dialog DIALOG 11, 20, 207, 107
|
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
|
|
|
|
CAPTION "Color dialog flags"
|
|
|
|
FONT 8, "MS Sans Serif"
|
|
|
|
{
|
|
|
|
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
|
|
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14, WS_GROUP | WS_TABSTOP
|
|
|
|
PUSHBUTTON "Help", CM_R_HELP, 148, 42, 50, 14, WS_GROUP | WS_TABSTOP
|
|
|
|
CHECKBOX "CC_ENABLEHOOK", I_CC_ENABLEHOOK, 12, 12, 122, 10, WS_GROUP | WS_TABSTOP
|
|
|
|
CHECKBOX "CC_ENABLETEMPLATE", I_CC_ENABLETEMPLATE, 12, 24, 122, 10, WS_GROUP | WS_TABSTOP
|
|
|
|
CHECKBOX "CC_ENABLETEMPLATEHANDLE", I_CC_ENABLETEMPLATEHANDLE, 12, 36, 122, 10, WS_GROUP | WS_TABSTOP
|
|
|
|
CHECKBOX "CC_FULLOPEN", I_CC_FULLOPEN, 12, 48, 122, 10, WS_GROUP | WS_TABSTOP
|
|
|
|
CHECKBOX "CC_PREVENTFULLOPEN", I_CC_PREVENTFULLOPEN, 12, 60, 122, 10, WS_GROUP | WS_TABSTOP
|
|
|
|
CHECKBOX "CC_RGBINIT", I_CC_RGBINIT, 12, 72, 122, 10, WS_GROUP | WS_TABSTOP
|
|
|
|
CHECKBOX "CC_SHOWHELP", I_CC_SHOWHELP, 12, 84, 122, 10, WS_GROUP | WS_TABSTOP
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Font_Flags_Dialog DIALOG 9, 20, 207, 313
|
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
|
|
|
|
CAPTION "Font Dialog Flags"
|
|
|
|
FONT 8, "MS Sans Serif"
|
|
|
|
{
|
|
|
|
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
|
|
|
|
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14
|
|
|
|
PUSHBUTTON "Help", CM_R_HELP, 148, 42, 50, 14
|
|
|
|
CHECKBOX "CF_APPLY", I_CF_APPLY, 12, 12, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_ANSIONLY", I_CF_ANSIONLY, 12, 24, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_BOTH", I_CF_BOTH, 12, 36, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_TTONLY", I_CF_TTONLY, 12, 48, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_EFFECTS", I_CF_EFFECTS, 12, 60, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_ENABLEHOOK", I_CF_ENABLEHOOK, 12, 72, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_ENABLETEMPLATE", I_CF_ENABLETEMPLATE, 12, 84, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_ENABLETEMPLATEHANDLE", I_CF_ENABLETEMPLATEHANDLE, 12, 96, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_FIXEDPITCHONLY", I_CF_FIXEDPITCHONLY, 12, 108, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_FORCEFONTEXIST", I_CF_FORCEFONTEXIST, 12, 120, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_INITTOLOGFONTSTRUCT", I_CF_INITTOLOGFONTSTRUCT, 12, 132, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_LIMITSIZE", I_CF_LIMITSIZE, 12, 144, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_NOFACESEL", I_CF_NOFACESEL, 12, 156, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_NOOEMFONTS", I_CF_NOOEMFONTS, 12, 168, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_NOSIMULATIONS", I_CF_NOSIMULATIONS, 12, 180, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_NOSIZESEL", I_CF_NOSIZESEL, 12, 192, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_NOSTYLESEL", I_CF_NOSTYLESEL, 12, 204, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_NOVECTORFONTS", I_CF_NOVECTORFONTS, 12, 216, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_PRINTERFONTS", I_CF_PRINTERFONTS, 12, 228, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_SCALABLEONLY", I_CF_SCALABLEONLY, 12, 240, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_SHOWHELP", I_CF_SHOWHELP, 12, 264, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_SCREENFONTS", I_CF_SCREENFONTS, 12, 252, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_USESTYLE", I_CF_USESTYLE, 12, 276, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "CF_WYSIWYG", I_CF_WYSIWYG, 12, 288, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Find_Flags_Dialog DIALOG 8, 24, 207, 306
|
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
|
|
|
|
CAPTION "Find/Replace Dialog Flags"
|
|
|
|
FONT 8, "MS Sans Serif"
|
|
|
|
{
|
|
|
|
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
|
|
|
|
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14
|
|
|
|
PUSHBUTTON "Help", IDHELP, 148, 42, 50, 14
|
|
|
|
CHECKBOX "FR_DIALOGTERM", I_FR_DIALOGTERM, 24, 12, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_DOWN", I_FR_DOWN, 24, 24, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_ENABLEHOOK", I_FR_ENABLEHOOK, 24, 36, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_ENABLETEMPLATE", I_FR_ENABLETEMPLATE, 24, 48, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_ENABLETEMPLATEHANDLE", I_FR_ENABLETEMPLATEHANDLE, 24, 60, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_FINDNEXT", I_FR_FINDNEXT, 24, 72, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_HIDEMATCHCASE", I_FR_HIDEMATCHCASE, 24, 84, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_HIDEWHOLEWORD", I_FR_HIDEWHOLEWORD, 24, 96, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_HIDEUPDOWN", I_FR_HIDEUPDOWN, 24, 108, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_MATCHCASE", I_FR_MATCHCASE, 24, 120, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_NOMATCHCASE", I_FR_NOMATCHCASE, 24, 132, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_NOUPDOWN", I_FR_NOUPDOWN, 24, 144, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_NOWHOLEWORD", I_FR_NOWHOLEWORD, 24, 156, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_REPLACE", I_FR_REPLACE, 24, 168, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_REPLACEALL", I_FR_REPLACEALL, 24, 180, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_SHOWHELP", I_FR_SHOWHELP, 24, 192, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "FR_WHOLEWORD", I_FR_WHOLEWORD, 24, 204, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 12, 11, 13
|
|
|
|
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 72, 11, 13
|
|
|
|
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 168, 11, 13
|
|
|
|
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 180, 11, 13
|
|
|
|
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 24, 228, 11, 13
|
|
|
|
CONTROL "Marks flags that are set by the system and must be cleared by the user.", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 48, 228, 98, 36
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Print_Flags_Dialog DIALOG 4, 17, 239, 287
|
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "Print / PrintSetup Flags"
|
|
|
|
FONT 8, "MS Sans Serif"
|
|
|
|
{
|
|
|
|
DEFPUSHBUTTON "OK", IDOK, 180, 6, 50, 14
|
|
|
|
PUSHBUTTON "Cancel", IDCANCEL, 180, 24, 50, 14
|
|
|
|
PUSHBUTTON "Help", CM_R_HELP, 180, 42, 50, 14
|
|
|
|
CHECKBOX "PD_ALLPAGES", I_PD_ALLPAGES, 12, 12, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_COLLATE", I_PD_COLLATE, 12, 24, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_DISABLEPRINTTOFILE", I_PD_DISABLEPRINTTOFILE, 12, 36, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_ENABLEPRINTHOOK", I_PD_ENABLEPRINTHOOK, 12, 48, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_ENABLEPRINTTEMPLATE", I_PD_ENABLEPRINTTEMPLATE, 12, 60, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_ENABLEPRINTTEMPLATEHANDLE", I_PD_ENABLEPRINTTEMPLATEHANDLE, 12, 72, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_ENABLESETUPHOOK", I_PD_ENABLESETUPHOOK, 12, 84, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_ENABLESETUPTEMPLATE", I_PD_ENABLESETUPTEMPLATE, 12, 96, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_ENABLESETUPTEMPLATEHANDLE", I_PD_ENABLESETUPTEMPLATEHANDLE, 12, 108, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_HIDEPRINTTOFILE", I_PD_HIDEPRINTTOFILE, 12, 120, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_NOPAGENUMS", I_PD_NOPAGENUMS, 12, 132, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_NOSELECTION", I_PD_NOSELECTION, 12, 144, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_NOWARNING", I_PD_NOWARNING, 12, 156, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_PAGENUMS", I_PD_PAGENUMS, 12, 168, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_PRINTSETUP", I_PD_PRINTSETUP, 12, 180, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_PRINTTOFILE", I_PD_PRINTTOFILE, 12, 192, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_RETURNDC", I_PD_RETURNDC, 12, 204, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_RETURNDEFAULT", I_PD_RETURNDEFAULT, 12, 216, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_RETURNIC", I_PD_RETURNIC, 12, 228, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_SELECTION", I_PD_SELECTION, 12, 240, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_SHOWHELP", I_PD_SHOWHELP, 12, 252, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "PD_USEDEVMODECOPIES", I_PD_USEDEVMODECOPIES, 12, 264, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
AboutDialog DIALOG 6, 15, 194, 119
|
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "About"
|
|
|
|
FONT 8, "MS Sans Serif"
|
|
|
|
{
|
|
|
|
DEFPUSHBUTTON "OK", IDOK, 72, 96, 50, 14
|
- color and font dialogs now actually do something interesting,
and force a redraw when successful. Background color is adjustable.
Text color is also adjustable, but the user has to set the CF_EFFECTS
flag first.
- text is output left-right centered, baseline, at the middle
of the window, and moves with the window. Text font is adjustable.
- Success and failure MessageBox calls for Color, Font, Open,
and Save have been removed or suppressed. They annoyed me after
awhile, and I suspect they annoyed others, too. Use my tool! :-)
- cmdlgtst now has the full pathname in the upper left corner; which may
assist in debugging certain problems -- or it may not. :-)
- usage dialog added
1999-04-10 18:54:37 +02:00
|
|
|
LTEXT "Common Dialog Test Jig Exerciser, version 1.10", -1, 13, 36, 168, 12
|
1999-02-05 18:40:47 +01:00
|
|
|
LTEXT "(c) 1999, Eric Williams. Rights are as granted under the WINE license. Don't hoard code...share it!", -1, 18, 60, 157, 24
|
|
|
|
ICON "AboutIcon", -1, 84, 12, 18, 20
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
AboutIcon ICON
|
|
|
|
{
|
|
|
|
'00 00 01 00 01 00 20 20 10 00 00 00 00 00 E8 02'
|
|
|
|
'00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
|
|
|
|
'00 00 01 00 04 00 00 00 00 00 80 02 00 00 00 00'
|
|
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
|
|
'00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'
|
|
|
|
'00 00 80 00 80 00 80 80 00 00 C0 C0 C0 00 80 80'
|
|
|
|
'80 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
|
|
|
|
'00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 70 00'
|
|
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 78 88'
|
|
|
|
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 88 88 88 88 88 00 00 88 88 88 88 80 78 88'
|
|
|
|
'88 88 88 88 88 88 88 88 88 08 88 88 88 80 78 88'
|
|
|
|
'88 88 00 00 88 88 08 80 00 08 88 88 88 80 78 88'
|
|
|
|
'88 88 08 88 08 88 08 08 88 08 88 88 88 80 78 88'
|
|
|
|
'88 88 08 88 80 88 08 08 88 08 88 88 88 80 78 88'
|
|
|
|
'88 88 08 88 80 88 08 08 88 08 88 88 88 80 78 88'
|
|
|
|
'88 88 08 88 80 88 08 08 88 08 88 88 88 80 78 88'
|
|
|
|
'88 88 08 88 80 88 08 80 00 08 88 88 88 80 78 88'
|
|
|
|
'88 88 08 88 80 88 08 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 08 88 08 88 08 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 00 00 88 88 08 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 78 80'
|
|
|
|
'00 08 88 00 08 80 88 08 80 80 88 08 80 80 78 08'
|
|
|
|
'88 80 80 88 80 80 88 08 80 80 88 08 80 80 78 08'
|
|
|
|
'88 88 80 88 80 80 88 08 80 80 88 08 80 80 78 08'
|
|
|
|
'88 88 80 88 80 80 88 08 80 80 88 08 80 80 78 08'
|
|
|
|
'88 88 80 88 80 80 88 08 80 80 88 08 80 80 78 08'
|
|
|
|
'88 88 88 00 08 80 00 80 08 80 00 80 08 80 78 08'
|
|
|
|
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 78 08'
|
|
|
|
'88 80 88 88 88 88 88 88 88 88 88 88 88 80 78 80'
|
|
|
|
'00 08 88 88 88 88 88 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 78 88'
|
|
|
|
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 77 77'
|
|
|
|
'77 77 77 77 77 77 77 77 77 77 77 77 77 77 00 00'
|
|
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
|
|
}
|
|
|
|
|
- color and font dialogs now actually do something interesting,
and force a redraw when successful. Background color is adjustable.
Text color is also adjustable, but the user has to set the CF_EFFECTS
flag first.
- text is output left-right centered, baseline, at the middle
of the window, and moves with the window. Text font is adjustable.
- Success and failure MessageBox calls for Color, Font, Open,
and Save have been removed or suppressed. They annoyed me after
awhile, and I suspect they annoyed others, too. Use my tool! :-)
- cmdlgtst now has the full pathname in the upper left corner; which may
assist in debugging certain problems -- or it may not. :-)
- usage dialog added
1999-04-10 18:54:37 +02:00
|
|
|
UsageDialog DIALOG 6, 15, 194, 169
|
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "Usage"
|
|
|
|
FONT 8, "MS Sans Serif"
|
|
|
|
{
|
|
|
|
DEFPUSHBUTTON "OK", IDOK, 72, 146, 50, 14
|
|
|
|
LTEXT "Common Dialog Test Jig Exerciser, version 1.10", -1, 13, 36, 168, 12
|
|
|
|
LTEXT "The Commdlg menu allows for testing of the COMMDLG.", -1, 13, 48, 168, 12
|
|
|
|
LTEXT "The Flags menu allows for setting flags of the COMMDLG.", -1, 13, 60, 168, 12
|
|
|
|
LTEXT "Color dialog changes background color.", -1, 13, 72, 168, 12
|
|
|
|
LTEXT "Font dialog changes all fonts.", -1, 13, 72, 168, 12
|
|
|
|
LTEXT "Upper left hand corner contains the current contents of.", -1, 13, 84, 168, 12
|
|
|
|
LTEXT "the last successful OPEN or SAVE.", -1, 13, 92, 168, 12
|
|
|
|
LTEXT "(c) 1999, Eric Williams. Rights are as granted under the WINE license. Don't hoard code...share it!", -1, 18, 110, 157, 24
|
|
|
|
ICON "AboutIcon", -1, 84, 12, 18, 20
|
|
|
|
}
|
|
|
|
|
1999-02-05 18:40:47 +01:00
|
|
|
File_Flags_Dialog DIALOG 6, 15, 207, 227
|
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "Open File/Save File Flags"
|
|
|
|
FONT 8, "MS Sans Serif"
|
|
|
|
{
|
|
|
|
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
|
|
|
|
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14
|
|
|
|
PUSHBUTTON "Help", CM_R_HELP, 148, 42, 50, 14
|
|
|
|
CHECKBOX "OFN_ALLOWMULTISELECT", I_OFN_ALLOWMULTISELECT, 12, 12, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_CREATEPROMPT", I_OFN_CREATEPROMPT, 12, 24, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_ENABLEHOOK", I_OFN_ENABLEHOOK, 12, 36, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_ENABLETEMPLATE", I_OFN_ENABLETEMPLATE, 12, 48, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_ENABLETEMPLATEHANDLE", I_OFN_ENABLETEMPLATEHANDLE, 12, 60, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_EXTENSIONDIFFERENT", I_OFN_EXTENSIONDIFFERENT, 12, 72, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_FILEMUSTEXIST", I_OFN_FILEMUSTEXIST, 12, 84, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_HIDEREADONLY", I_OFN_HIDEREADONLY, 12, 96, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_NOCHANGEDIR", I_OFN_NOCHANGEDIR, 12, 108, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_NOREADONLYRETURN", I_OFN_NOREADONLYRETURN, 12, 120, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_NOTESTFILECREATE", I_OFN_NOTESTFILECREATE, 12, 132, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_NOVALIDATE", I_OFN_NOVALIDATE, 12, 144, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_OVERWRITEPROMPT", I_OFN_OVERWRITEPROMPT, 12, 156, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_PATHMUSTEXIST", I_OFN_PATHMUSTEXIST, 12, 168, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_READONLY", I_OFN_READONLY, 12, 180, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_SHAREAWARE", I_OFN_SHAREAWARE, 12, 192, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
CHECKBOX "OFN_SHOWHELP", I_OFN_SHOWHELP, 12, 204, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
}
|