Skip to content

Commit

Permalink
印刷プレビューダイアログのシステムフォント化と配置調整
Browse files Browse the repository at this point in the history
  • Loading branch information
suconbu committed Oct 4, 2020
1 parent 0259d1b commit 9b50633
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions sakura_core/print/CPrintPreview.cpp
Expand Up @@ -2062,6 +2062,8 @@ INT_PTR CALLBACK CPrintPreview::PrintPreviewBar_DlgProc(
CPrintPreview* pCPrintPreview;
switch( uMsg ){
case WM_INITDIALOG:
SetSystemFont( hwndDlg );

// Modified by KEITA for WIN64 2003.9.6
::SetWindowLongPtr( hwndDlg, DWLP_USER, lParam );
// 2007.02.11 Moca WM_INITもDispatchEvent_PPBを呼ぶように
Expand Down
8 changes: 4 additions & 4 deletions sakura_core/sakura_rc.rc
Expand Up @@ -383,17 +383,17 @@ BEGIN
PUSHBUTTON "前(&V)", IDC_BUTTON_PREVPAGE, 60, 1, 30, 14
PUSHBUTTON "次(&N)", IDC_BUTTON_NEXTPAGE, 90, 1, 30, 14
PUSHBUTTON "..&.", IDC_BUTTON_DIRECTPAGE, 120, 1, 9, 14
LTEXT "999/999", IDC_STATIC_PAGENUM, 131, 4, 35, 8
LTEXT "999/999", IDC_STATIC_PAGENUM, 131, 4, 35, 10
PUSHBUTTON "縮小(&O)", IDC_BUTTON_ZOOMDOWN, 60, 16, 30, 14
PUSHBUTTON "拡大(&I)", IDC_BUTTON_ZOOMUP, 90, 16, 30, 14
LTEXT "999/999", IDC_STATIC_ZOOM, 131, 19, 35, 8
LTEXT "999/999", IDC_STATIC_ZOOM, 131, 19, 35, 10
PUSHBUTTON "ヘルプ(&H)", IDC_BUTTON_HELP, 167, 1, 39, 14
CONTROL "滑らか(&A)", IDC_CHECK_ANTIALIAS, "Button", BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP, 207, 3, 43, 10
PUSHBUTTON "戻る(&Q)", IDCANCEL, 167, 16, 39, 14
PUSHBUTTON "プリンタ(&R)", IDC_BUTTON_PRINTERSELECT, 208, 16, 40, 14
ICON IDI_PRINTER, IDC_STATIC, 251, 3, 11, 9, SS_REALSIZEIMAGE
LTEXT "Static", IDC_STATIC_PRNDEV, 263, 4, 137, 8
LTEXT "Static", IDC_STATIC_PAPER, 251, 19, 149, 8
LTEXT "Static", IDC_STATIC_PRNDEV, 263, 4, 137, 10
LTEXT "Static", IDC_STATIC_PAPER, 251, 19, 149, 10
END

IDD_PRINTSETTING DIALOGEX 0, 0, 302, 253
Expand Down

0 comments on commit 9b50633

Please sign in to comment.