comdlg32: We need to be able to type the decimal separator into the margin edit controls so ES_NUMBER is no use. Subclass them and filter WM_CHAR instead.
This commit is contained in:
parent
fd9d79ab5d
commit
2a0f86afc5
|
@ -314,13 +314,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "Ïåéçà&æ", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Ðàìêè", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Ëÿâà:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Äÿñíà:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Ãîðíà:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "Ä&îëíà:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Îòìåíè", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "&Ïðèíòåð...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -316,13 +316,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "N&a šíøku", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Okraje", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "L&evý:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "P&ravý:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "H&orní:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Dolní:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Zrušit", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "Tiská&rna...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -314,13 +314,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Landskab", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Kanter", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Venstre:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Højre:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "T&op:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Bund:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Annuller", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "P&rinter...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -133,13 +133,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Querformat", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Ränder", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Links:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Rechts:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Oben:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Unten:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Abbrechen", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "&Drucker...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -313,13 +313,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Landscape", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Borders", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "Á&ñéóôåñÜ:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&ÄåîéÜ:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "ÐÜ&íù:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&ÊÜôù:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "¢êõñï", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "Åê&ôõðùôÞò...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -313,13 +313,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Landscape", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Borders", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "L&eft:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Right:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "T&op:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Bottom:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Cancel", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "P&rinter...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -311,13 +311,13 @@ AUTORADIOBUTTON "&Vertikala", rad1, 16, 170, 52, 12, BS_AUTORADIOBUTTON
|
|||
AUTORADIOBUTTON "&Horizontala", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Marøenoj", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Dekstra:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Maldekstra:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Supre:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "Su&be:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "Bone", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Rezigni", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "&Printilo..", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -314,13 +314,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Apaisado", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Márgenes", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "I&zquierdo:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Derecho:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Superior:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "In&ferior:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "Aceptar", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "&Impresora...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -313,13 +313,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "V&aaka", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Reunat", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Vasen:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Oikea:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Vasen:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Pohja:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Peruuta", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "T&ulostin...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -317,13 +317,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "P&aysage", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Marges", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Droite :", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Gauche :", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Haut :", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Bas :", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Annuler", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "&Imprimante...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -314,13 +314,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Verticale", rad2, 13, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Bordi", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Sinistro:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Destro:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Superiore:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Inferiore:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Annulla", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "S&tampante...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -316,13 +316,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "横(&L)", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "余白", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "左(&E):", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "右(&R):", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "上(&O):", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "下(&B):", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "キャンセル", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "プリンタ(&R)...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -315,13 +315,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "가로(&L)", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "가장자리", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "왼쪽(&E):", stc15, 82, 173, 28, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "오른쪽(&R):", stc16, 151, 172, 34, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "위(&O):", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "아래(&B):", stc18, 154, 191, 31, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "확인", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "취소", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "프린터(&R)...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -336,13 +336,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Liggend", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Borders", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "L&inks:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Rechts:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "B&oven:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Onder:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Annuleren", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "P&rinter...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -313,13 +313,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Liggende", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Rammer", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "V&enstre:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "Høy&re:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "T&opp:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Bunn:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "Sk&river...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -315,13 +315,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "P&ozioma", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Marginesy", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Lewy:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Prawy:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Górny:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Dolny:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Anuluj", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "Dr&ukarka...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -622,13 +622,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Paisagem", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Bordas", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Esquerda:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Direita:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Superior:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Inferior:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "Im&pressora...", psh3, 184, 220, 50, 14
|
||||
|
@ -654,13 +654,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Paisagem", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Bordas", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Esquerda:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Direita:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Superior:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Inferior:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "Im&pressora...", psh3, 184, 220, 50, 14
|
||||
|
|
|
@ -316,13 +316,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Peisaj", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Margini", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "S&tânga:", stc15, 84, 172, 27, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Dreapta:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Sus:", stc17, 84, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Jos:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Renunță", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "&Imprimantă...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -312,13 +312,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "Àëü&áîìíàÿ", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Ïîëÿ", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Ñëåâà:", stc15, 88, 172, 31, 8
|
||||
EDITTEXT edt4, 121, 170, 29, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 121, 170, 29, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "Ñ&âåðõó:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 29, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 29, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "Ñïð&àâà:", stc17, 88, 192, 31, 8
|
||||
EDITTEXT edt5, 121, 190, 29, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 121, 190, 29, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "Ñíè&çó:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 29, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 29, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "ÎÊ", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Îòìåíà", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "&Ïðèíòåð...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -315,13 +315,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "L&ežeče", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Robovi", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Levo:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Desno:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Zgoraj:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Spodaj:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "V redu", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Prekliči", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "&Tiskalnik ...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -306,13 +306,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Liggande", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Marginaler", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "&Vänster:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Höger:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Överkant:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Nederkant:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "Ok", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "&Skrivare...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -313,13 +313,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "á¹Ç¹Í¹", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "¢Íº¡ÃдÒÉ", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "«éÒÂ:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "¢ÇÒ:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "º¹:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "ÅèÒ§:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "µ¡Å§", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "¡àÅÔ¡", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "à¤Ã×èͧ¾ÔÁ¾ì...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -314,13 +314,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "&Yatay", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "Kenarlýklar", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "S&ol:", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Sað:", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Üst:", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "&Alt:", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "Tamam", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "Ýptal", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "Ya&zýcý...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -320,13 +320,13 @@ BEGIN
|
|||
AUTORADIOBUTTON "横向(&L)", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
|
||||
GROUPBOX "边距", grp4, 80, 156, 152, 56, BS_GROUPBOX
|
||||
LTEXT "左(&e):", stc15, 88, 172, 21, 8
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "右(&R):", stc16, 159, 172, 27, 8
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "上(&o):", stc17, 88, 192, 21, 8
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
LTEXT "下(&B):", stc18, 159, 192, 23, 8
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
|
||||
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
|
||||
DEFPUSHBUTTON "确定", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
|
||||
PUSHBUTTON "取消", IDCANCEL, 126, 220, 50, 14
|
||||
PUSHBUTTON "打印机(&P)...", psh3, 184, 220, 48, 14
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include "winspool.h"
|
||||
#include "winerror.h"
|
||||
|
||||
#include "wine/unicode.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
#include "commdlg.h"
|
||||
|
@ -73,6 +74,7 @@ static const struct pd_flags psd_flags[] = {
|
|||
|
||||
/* address of wndproc for subclassed Static control */
|
||||
static WNDPROC lpfnStaticWndProc;
|
||||
static WNDPROC edit_wndproc;
|
||||
/* the text of the fake document to render for the Page Setup dialog */
|
||||
static WCHAR wszFakeDocumentText[1024];
|
||||
static const WCHAR pd32_collateW[] = { 'P', 'D', '3', '2', '_', 'C', 'O', 'L', 'L', 'A', 'T', 'E', 0 };
|
||||
|
@ -3302,6 +3304,39 @@ PRINTDLG_PagePaintProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
#undef CALLPAINTHOOK
|
||||
}
|
||||
|
||||
/*******************************************************
|
||||
* The margin edit controls are subclassed to filter
|
||||
* anything other than numbers and the decimal separator.
|
||||
*/
|
||||
static LRESULT CALLBACK pagesetup_margin_editproc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
||||
{
|
||||
WCHAR decimal = '.';
|
||||
|
||||
/* FIXME use LOCALE_SDECIMAL when the edit parsing code can cope */
|
||||
|
||||
switch(msg)
|
||||
case WM_CHAR:
|
||||
{
|
||||
WCHAR wc = (WCHAR)wparam;
|
||||
if(!isdigitW(wc) && wc != decimal && wc != VK_BACK) return 0;
|
||||
}
|
||||
return CallWindowProcW(edit_wndproc, hwnd, msg, wparam, lparam);
|
||||
}
|
||||
|
||||
static void subclass_margin_edits(HWND hDlg)
|
||||
{
|
||||
int id;
|
||||
WNDPROC old_proc;
|
||||
|
||||
for(id = edt4; id <= edt7; id++)
|
||||
{
|
||||
old_proc = (WNDPROC)SetWindowLongPtrW(GetDlgItem(hDlg, id),
|
||||
GWLP_WNDPROC,
|
||||
(ULONG_PTR)pagesetup_margin_editproc);
|
||||
InterlockedCompareExchangePointer((void**)&edit_wndproc, old_proc, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* PRINTDLG_PageDlgProcA
|
||||
* Message handler for PageSetupDlgA
|
||||
|
@ -3375,6 +3410,7 @@ PRINTDLG_PageDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
pda->dlga->rtMargin.bottom = size;
|
||||
}
|
||||
update_margin_edits(hDlg, pda);
|
||||
subclass_margin_edits(hDlg);
|
||||
set_margin_groupbox_title(hDlg, pda);
|
||||
|
||||
/* if paper disabled */
|
||||
|
|
Loading…
Reference in New Issue