mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-11 21:03:05 +08:00
+ add: print option "Screen Colors" prints with the same colors used on screen including line numbers
This commit is contained in:
parent
ce39cd3f95
commit
c567ab7e10
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -297,12 +297,14 @@ extern "C" bool EditPrint(HWND hwnd,LPCWSTR pszDocTitle,LPCWSTR pszPageFormat)
|
||||
}
|
||||
|
||||
// Set print color mode
|
||||
int printColorModes[5] = {
|
||||
int printColorModes[6] = {
|
||||
SC_PRINT_NORMAL,
|
||||
SC_PRINT_INVERTLIGHT,
|
||||
SC_PRINT_BLACKONWHITE,
|
||||
SC_PRINT_COLOURONWHITE,
|
||||
SC_PRINT_COLOURONWHITEDEFAULTBG };
|
||||
SC_PRINT_COLOURONWHITEDEFAULTBG,
|
||||
SC_PRINT_SCREENCOLOURS };
|
||||
|
||||
SendMessage(hwnd,SCI_SETPRINTCOLOURMODE,printColorModes[iPrintColor],0);
|
||||
|
||||
// Set print zoom...
|
||||
|
||||
Loading…
Reference in New Issue
Block a user