Another enhancement to HFCL WordScribe and WordWriter
Moderator: Rathinagiri
- serge_girard
- Posts: 3158
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Another enhancement to HFCL WordScribe and WordWriter
Thanks Kevin !
Serge
Serge
There's nothing you can do that can't be done...
Re: Another enhancement to HFCL WordScribe and WordWriter
Yet another tweak. I've just corrected some bugs in INCLUDE\i_keybd.ch and added a new demo to demonstrate HMG_GETLAST* keyboard functions.
- Zip for my current proposal http://kevincarmody.com/hmg/HmgChangeProposal.zip
- List of changes for this proposal http://kevincarmody.com/hmg/Changes.txt
- Revised hot key commands http://kevincarmody.com/hmg/INCLUDE/i_keybd.ch
- Compiled keyboard functions demo http://kevincarmody.com/hmg/SAMPLES/Eve ... 3/demo.exe
Re: Another enhancement to HFCL WordScribe and WordWriter
One more change. This change puts system dialogs like GetFont() and the SELECT PRINTER DIALOG commands in a user specified position.
For everything but the print dialogs, a SET DIALOGBOX command is enough. For the print dialogs, I have added SELECT PRINTER DIALOG EX commands to hfcl\Include\hfcl_RichEditBoxEx.ch and supporting functions to hfcl\Source\RichEditBoxEx_C.c and hfcl\Source\RichEditBoxEx_H.prg. These new commands respect the settings of SET DIALOGBOX.
I have added these commands to WordScribe and WordWriter so you can see how they work.
For everything but the print dialogs, a SET DIALOGBOX command is enough. For the print dialogs, I have added SELECT PRINTER DIALOG EX commands to hfcl\Include\hfcl_RichEditBoxEx.ch and supporting functions to hfcl\Source\RichEditBoxEx_C.c and hfcl\Source\RichEditBoxEx_H.prg. These new commands respect the settings of SET DIALOGBOX.
I have added these commands to WordScribe and WordWriter so you can see how they work.
- Zip for my current proposal http://kevincarmody.com/hmg/HmgChangeProposal.zip
- List of changes for this proposal http://kevincarmody.com/hmg/Changes.txt
- Compiled WordScribe executable http://kevincarmody.com/hmg/SAMPLES/HFC ... Scribe.exe
- Compiled WordWriter executable http://kevincarmody.com/hmg/SAMPLES/HFC ... Writer.exe
- serge_girard
- Posts: 3158
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Another enhancement to HFCL WordScribe and WordWriter
Thanks Kevin !
Serge
Serge
There's nothing you can do that can't be done...
Re: Another enhancement to HFCL WordScribe and WordWriter
Page setup some error:
- Attachments
-
- err.PNG (10.59 KiB) Viewed 6074 times
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
Re: Another enhancement to HFCL WordScribe and WordWriter
Thanks for reporting! This is now fixed. (It was in WordScribe.)bpd2000 wrote:Page setup some error:
I have also added extended properties for converting between screen coordinates and window or control coordinates, and I have used them in WordWriter. These properties are GETSCREENPOS, GETWINDOWPOS, and GETCONTROLPOS. See hfcl\Include\hfcl_RichEditBoxEx.ch.
Kevin
Re: Another enhancement to HFCL WordScribe and WordWriter
It's been over 6 months, but I've just posted another change to WordScribe and WordWriter.
These programs write into the registry to set file associations, and I just found out that I had been doing them the wrong way. I had been writing into HKCR (HKEY_CLASSES_ROOT), when I should have been writing into HKLM (HKEY_LOCAL_MACHINE) or HKCU (HKEY_CURRENT_USER). HKCR is a holdover from single user versions of Windows and has been deprecated for several years. WordScribe and WordWriter now write into HKLM.
I've also added options for writing shortcut (.lnk) files to the Windows desktop and start menu. These use the functions MakeFDirShortCut() in the HFCL library and C_GETSPECIALFOLDER() in the main HMG library.
These programs write into the registry to set file associations, and I just found out that I had been doing them the wrong way. I had been writing into HKCR (HKEY_CLASSES_ROOT), when I should have been writing into HKLM (HKEY_LOCAL_MACHINE) or HKCU (HKEY_CURRENT_USER). HKCR is a holdover from single user versions of Windows and has been deprecated for several years. WordScribe and WordWriter now write into HKLM.
I've also added options for writing shortcut (.lnk) files to the Windows desktop and start menu. These use the functions MakeFDirShortCut() in the HFCL library and C_GETSPECIALFOLDER() in the main HMG library.
- Zip for my current proposal http://kevincarmody.com/hmg/HmgChangeProposal.zip
- List of changes for this proposal http://kevincarmody.com/hmg/Changes.txt
- Compiled WordScribe executable http://kevincarmody.com/hmg/SAMPLES/HFC ... Scribe.exe
- Compiled WordWriter executable http://kevincarmody.com/hmg/SAMPLES/HFC ... Writer.exe
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Re: Another enhancement to HFCL WordScribe and WordWriter
WOW Kevin !! It's very good job.
Thank very much for sharing.
Thank very much for sharing.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- serge_girard
- Posts: 3158
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Another enhancement to HFCL WordScribe and WordWriter
Thanks Kevin!
Serge
Serge
There's nothing you can do that can't be done...