[戻る]

#include <windows.h>
#include "fax_engine.h"

PREVIEWDLG DIALOGEX DISCARDABLE 0, 0, 10, 10
STYLE WS_POPUP | DS_SETFONT | DS_MODALFRAME | WS_VISIBLE
| DS_SETFOREGROUND | WS_CAPTION | WS_SYSMENU | WS_SIZEBOX
CAPTION "プレビュー"
FONT 12, "MS 明朝"
BEGIN

END


CONFIG1 DIALOGEX DISCARDABLE  0, 0, 371, 123
STYLE WS_POPUP | DS_SETFONT | DS_MODALFRAME | WS_VISIBLE
| DS_SETFOREGROUND | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW
// MENU EDITMENU 単なるテストだが、EDITMENU は、これより下で定義なのだが、これでも OK !
CAPTION "送信と編集の設定"
FONT 10, "MS UI Gothic"
BEGIN
EDITTEXT         IDC_CF1_DIALNUMBER ,122 ,2   ,60  ,13 , ES_AUTOHSCROLL
COMBOBOX         IDC_CF1_SELECTMDM ,1   ,2   ,121 , 260 ,
CBS_DROPDOWNLIST
CONTROL ""    ,IDC_CF1_SELECTFONT ,"BUTTON" ,BS_PUSHBUTTON| BS_CENTER| BS_MULTILINE ,
1   ,17  ,55  ,16
CONTROL "縦スクロールのバーを表示"    ,IDC_CF1_SHOWSBAR ,"BUTTON" ,
BS_AUTOCHECKBOX| BS_MULTILINE ,258 ,3   ,90  ,8
CONTROL ""    ,IDC_CF1_FONTSIZE ,"STATIC" ,SS_CENTER| WS_BORDER ,65  ,18  ,38  ,14
CONTROL ""    ,IDC_CF1_UPDOWNFONT ,"msctls_updown32" ,UDS_HORZ ,105 ,17  ,19  ,15

CONTROL "パルス回線"    ,IDC_CF1_PULSE ,"BUTTON" ,BS_AUTOCHECKBOX| BS_MULTILINE ,
185 ,2   ,51  ,14

CONTROL "用紙幅(mm)"    ,IDC_CF1_NEW_STATIC1 ,"STATIC" ,0L ,2   ,39  ,42  ,11
CONTROL "用紙高さ(mm)"    ,IDC_CF1_NEW_STATIC2 ,"STATIC" ,0L ,47  ,39  ,51  ,11
CONTROL "無効左右各ピクセル(pixels)"    ,IDC_CF1_NEW_STATIC3 ,"STATIC" ,0L ,
99  ,39  ,86  ,11
CONTROL "縮小(%)"    ,IDC_CF1_NEW_STATIC4 ,"STATIC" ,0L ,266 ,39  ,38  ,11
CONTROL ""    ,IDC_CF1_MMWIDTH ,"STATIC" ,WS_BORDER ,2   ,54  ,42  ,12
CONTROL ""    ,IDC_CF1_MMHEIGHT ,"STATIC" ,WS_BORDER ,47  ,54  ,51  ,11
CONTROL ""    ,IDC_CF1_INVALPIXELS ,"STATIC" ,WS_BORDER ,148 ,54  ,37  ,12
CONTROL ""    ,IDC_CF1_ZOOM ,"STATIC" ,WS_BORDER ,266 ,54  ,38  ,12
CONTROL ""    ,IDC_CF1_UPDOWN2 ,"msctls_updown32" ,0L ,307 ,38  ,11  ,29


CONTROL ""    ,IDC_CF1_PAGENUMBER ,"STATIC" ,SS_CENTER| WS_BORDER ,320 ,38  ,26  ,28
CONTROL ""    ,IDC_CF1_UPDOWN3 ,"msctls_updown32" ,0L ,349 ,38  ,11  ,28

CONTROL "上部・左右空白(mm)"    ,IDC_CF1_NEW_STATIC5 ,"STATIC" ,0L ,187 ,39  ,77  ,11
CONTROL ""    ,IDC_CF1_UPBLANK ,"STATIC" ,WS_BORDER ,187 ,54  ,37  ,12
CONTROL ""    ,IDC_CF1_RLBLANK ,"STATIC" ,WS_BORDER ,226 ,54  ,38  ,12

CONTROL "送信"    ,IDC_CF1_SEND ,"BUTTON" ,BS_PUSHBUTTON| BS_MULTILINE ,179 ,78  ,57  ,14
CONTROL "プレビューの更新"    ,IDC_CF1_UPDATE ,"BUTTON" ,BS_PUSHBUTTON| BS_MULTILINE ,
239 ,78  ,63  ,14
CONTROL "中止"    ,IDC_CF1_STOP ,"BUTTON" ,BS_PUSHBUTTON| BS_MULTILINE ,
305 ,78  ,57  ,14
CONTROL "終了"    ,IDC_CF1_ENDAPP ,"BUTTON" ,BS_PUSHBUTTON| BS_MULTILINE ,
305 ,94  ,57  ,14

CONTROL ""    ,IDC_CF1_STATUS1 ,"msctls_statusbar32" ,0L ,0,0,0,0

CONTROL "部分送信"    ,IDC_CF1_CHECK_PARTIALMM ,"BUTTON" ,BS_AUTOCHECKBOX| BS_CENTER ,
3   ,80  ,46  ,13
CONTROL ""    ,IDC_CF1_TESTMM ,"STATIC" ,SS_RIGHT ,50  ,81  ,18  ,13
CONTROL ""    ,IDC_CF1_TRACK_TESTMM ,"msctls_trackbar32" ,0L ,86  ,78  ,88  ,14

CONTROL "mm"    ,IDC_CF1_NEW_STATIC6 ,"STATIC" ,SS_CENTER ,70  ,81  ,13  ,12
CONTROL "画面キャプチャ"    ,IDC_CF1_STARTCAPTURE ,"BUTTON" ,
BS_PUSHBUTTON| BS_MULTILINE ,2   ,97  ,51  ,12

CONTROL "[クリア]"    ,IDC_CF1_CLEARCAPTURE ,"BUTTON" ,BS_PUSHBUTTON| BS_MULTILINE |BS_CENTER,
54  ,97  ,28  ,12

CONTROL "送信付加事項"    ,IDC_CF1_CF2 ,"BUTTON" ,
BS_PUSHBUTTON| BS_MULTILINE ,179 ,94  ,57  ,16

CONTROL "ファインモード"    ,IDC_CF1_FINE_OR_NORMAL ,"BUTTON" ,
BS_AUTOCHECKBOX| BS_MULTILINE ,258 ,13  ,91  ,10

CONTROL "全てのページを送信"    ,IDC_CF1_SENDALL ,"BUTTON" ,
BS_AUTOCHECKBOX| BS_MULTILINE ,258 ,24  ,91  ,10

CONTROL ""    ,IDC_CF1_POPUPFACE  ,"BUTTON" ,
BS_PUSHBUTTON| BS_BITMAP| BS_MULTILINE| BS_FLAT ,56  ,17  ,7   ,16

// CONTROL "読込"    ,IDC_CF1_LOAD ,"BUTTON" ,BS_PUSHBUTTON| BS_MULTILINE ,
//      127 ,16  ,15  ,20
// CONTROL "保存"    ,IDC_CF1_SAVE ,"BUTTON" ,BS_PUSHBUTTON| BS_MULTILINE ,
//      142 ,16  ,15  ,20

// CONTROL "固定"    ,IDC_CF1_FIXFORMAT ,"BUTTON" ,
//      BS_AUTOCHECKBOX| BS_PUSHLIKE| BS_MULTILINE ,158 ,16  ,14  ,20

CONTROL "支払い"    ,IDC_CF1_PAYMENT ,"BUTTON" ,
BS_PUSHBUTTON| BS_MULTILINE ,130 ,20  ,32  ,13
END

EDITMENU MENU DISCARDABLE 
BEGIN
POPUP "表示されない項目"
BEGIN
MENUITEM "元に戻す(&U) Ctrl+Z"    , IDM_UNDO //,GRAYED,CHECKED // OK!
MENUITEM "やり直し(&R) Ctrl+R"  , IDM_REDO

MENUITEM "切り取り(&T) Ctrl+X"    , IDM_CUT
MENUITEM "コピー(&C)   Ctrl+C"    , IDM_COPY
MENUITEM "貼り付け(&P) Ctrl+V"    , IDM_PASTE
MENUITEM "削除(&L) DEL"           , IDM_CLEAR
MENUITEM  SEPARATOR

MENUITEM "すべて選択(&A)   Ctrl+A"        , IDM_SELECTALL
MENUITEM SEPARATOR

MENUITEM "下線" , IDM_ULINE
MENUITEM "太字" , IDM_BOLD
MENUITEM "斜体" , IDM_ITALIC
MENUITEM "取り消し線" , IDM_STRIKE
MENUITEM "Sup" , IDM_SUP
MENUITEM "Sub" , IDM_SUB

MENUITEM "フォント指定" , IDM_FONT_PARTIAL

END
END




EDITACCEL ACCELERATORS DISCARDABLE 
BEGIN
"Z", IDM_UNDO     ,VIRTKEY , CONTROL , NOINVERT
"X", IDM_CUT      ,VIRTKEY , CONTROL , NOINVERT
"C", IDM_COPY     ,VIRTKEY , CONTROL , NOINVERT
"V", IDM_PASTE    ,VIRTKEY , CONTROL , NOINVERT
"A", IDM_SELECTALL,VIRTKEY , CONTROL , NOINVERT
END



CONFIG2 DIALOGEX DISCARDABLE  0, 0, 175, 123
STYLE WS_POPUP | DS_SETFONT | DS_MODALFRAME | WS_VISIBLE
| DS_SETFOREGROUND | WS_CAPTION | WS_SYSMENU

CAPTION "送信付加事項"
FONT 10, "MS UI Gothic" , 500 , 1 //, SHIFTJIS_CHARSET 0x80
BEGIN
CONTROL "発信者名"    ,IDC_CFA_STATIC1 ,"STATIC" ,0L ,6   ,30  ,43  ,12
EDITTEXT         IDC_CFA_EDIT1 ,54  ,28  ,58  ,12, ES_AUTOHSCROLL
CONTROL "発信者番号"    ,IDC_CFA_STATIC2 ,"STATIC" ,0L ,6   ,46  ,43  ,13
EDITTEXT         IDC_CFA_EDIT2 ,54  ,44  ,58  ,12, ES_AUTOHSCROLL
CONTROL "※数字及び+-#*"    ,IDC_CFA_STATIC3 ,"STATIC" ,0L ,114 ,43  ,43  ,16
CONTROL "追加メモ"    ,IDC_CFA_STATIC4 ,"STATIC" ,0L ,6   ,62  ,43  ,12
EDITTEXT         IDC_CFA_EDIT3 ,6   ,76  ,150 ,26,ES_MULTILINE

CONTROL "OK"    ,IDOK ,"BUTTON" ,BS_DEFPUSHBUTTON| BS_MULTILINE ,43  ,106 ,32  ,15
CONTROL "CANCEL"    ,IDCANCEL ,"BUTTON" ,BS_PUSHBUTTON| BS_MULTILINE ,
79  ,106 ,33  ,15

CONTROL "送信の際、上部に小さな文字で印刷される付加事項です。"    ,IDC_CFA_STATIC5 ,
"STATIC" ,0L ,6   ,5   ,161 ,20

CONTROL "国"    ,IDC_CFA_INTERNATIONAL ,"BUTTON" ,
BS_AUTOCHECKBOX| BS_PUSHLIKE| BS_MULTILINE ,158 ,44  ,13  ,15
END


CONFIG3 DIALOGEX DISCARDABLE 0, 0, 258, 137
STYLE WS_POPUP | DS_SETFONT | DS_MODALFRAME | WS_VISIBLE
| DS_SETFOREGROUND | WS_CAPTION | WS_SYSMENU
CAPTION "送信の仕方の設定"
FONT 10, "MS UI Gothic"
BEGIN
CONTROL "連続送信"    ,IDC_CFB_GROUP1 ,"BUTTON" ,BS_GROUPBOX| BS_MULTILINE ,
10  ,10  ,174 ,55
CONTROL "表示中の1ページのみ送信する"    ,IDC_CFB_CURPAGE ,"BUTTON" ,
BS_AUTORADIOBUTTON| BS_MULTILINE ,19  ,23  ,125 ,10
CONTROL "ファイン"    ,IDC_CFB_FINE ,"BUTTON" ,BS_AUTORADIOBUTTON| BS_MULTILINE ,
198 ,23  ,51  ,13
CONTROL "1ページ目から全てのページを送信する"    ,IDC_CFB_ALLPAGE ,"BUTTON" ,
BS_AUTORADIOBUTTON| BS_MULTILINE ,19  ,36  ,157 ,9
CONTROL "ノーマル"    ,IDC_CFB_NORMAL ,"BUTTON" ,BS_AUTORADIOBUTTON| BS_MULTILINE ,
198 ,36  ,51  ,14
CONTROL "表示中のページ以降を全て送信する"    ,IDC_CFB_PAGESAFTER ,"BUTTON" ,
BS_AUTORADIOBUTTON| BS_MULTILINE ,19  ,48  ,157 ,9
CONTROL "縦方向1/2 に圧縮、1枚に2ページを入れて送信"    ,IDC_CFB_COMPRESS2 ,"BUTTON" ,
BS_AUTOCHECKBOX| BS_MULTILINE ,20  ,71  ,188 ,10
CONTROL "用紙を4等分割し、1枚に4ページを入れて送信"    ,IDC_CFB_COMPRESS4 ,"BUTTON" ,
BS_AUTOCHECKBOX| BS_MULTILINE ,20  ,85  ,188 ,10
CONTROL "プレビュー"    ,IDC_CFB_PREVIEW ,"BUTTON" ,BS_PUSHBUTTON| BS_MULTILINE ,
155 ,115 ,48  ,16
CONTROL "OK"    ,IDOK ,"BUTTON" ,BS_PUSHBUTTON| BS_MULTILINE ,
68  ,115 ,30  ,16
CONTROL "CANCEL"    ,IDCANCEL ,"BUTTON" ,BS_DEFPUSHBUTTON| BS_MULTILINE ,
104 ,115 ,38  ,16

END

FONTTOOLBARBITMAP BITMAP DISCARDABLE "fontbar.bmp"

PAYMENTDIALOG DIALOGEX DISCARDABLE  0, 0, 167, 119
STYLE WS_POPUP | DS_SETFONT | DS_MODALFRAME | WS_VISIBLE
| DS_SETFOREGROUND | WS_CAPTION | WS_SYSMENU
CAPTION "お支払い"
FONT 10, "MS Pゴシック"
BEGIN
CONTROL "この度はEzFax_Jの御利用ありがとうございます。支払いの手続きを完了して、ライセンスキーを入力するとこの画面は出なくなります。"    ,
IDC_PAYMENT_STATIC1 ,"STATIC" ,0L ,12  ,10  ,142 ,30
CONTROL "ライセンスキー"    ,IDC_PAYMENT_STATIC2 ,"STATIC" ,0L ,
11  ,47  ,53  ,11
EDITTEXT         IDC_PAYMENT_EDIT1 ,66  ,47  ,82  ,10
CONTROL "OK"    ,IDOK ,"BUTTON" ,
BS_PUSHBUTTON| BS_MULTILINE ,62  ,93  ,34  ,16

END