Here is an example of the reason why i am always using the latest API and the current OS
The compress API is not available on Seven
https://docs.microsoft.com/en-us/windows/desktop/cmpapi/-compression-portalthis is what i wanted to use with my new help system to decrease the size of the
.rtf files, and produce a lossless
.ztf file that is almost half the size of the original when using embedded images.
Here is the link to the C++ compression/decompression examples to test in W10 console mode.
https://docs.microsoft.com/en-us/windows/desktop/cmpapi/using-the-compression-api-in-buffer-modeand it is very fast…
Added12-31-2018
I did several minor changes in OR, that means you will have to sync with me, once you get back from holidays.
I have completed the W10 help support, i am very pleased of the result, and the new skinned scrollbar API works like a charm with it. The rtf compression is not added yet, but it is top on my list, once i have completed the writing of the basic documentation.
01-01-2018
I have fixed an array bug in ResetCamera.
I have written the missing MENU_FILE_REOPEN option.
I have completed the basic help documentation.
I have worked on a new model
01-02-2019
And the whole combination of the new
.ztf help files is only
808 Kb with all the embedded images!
Thanks to the W10
COMPRESS_ALGORITHM_XPRESS_HUFF that is amazing both in size and speed.
I have written two console utilities to compress/decompress the help files for the purpose of text edition (
zCompress.exe and
zDecompress.exe)
The attachment shows the new OR help skinned window on my
W10 system (with mouse wheel support), using the new ScrollbarEx API control.
To compress a RTF file with
zCompress, use this syntax from a prompt command line:
zCompress text.rtf (create automatically text.ztf into the same folder)
To decompress a ZTF file with
zDeCompress, use this syntax from a prompt command line:
zDeCompress text.ztf (create automatically text.rtf into the same folder)
01-03-2019
Sync patch attached to this post…