Another enhancement to HFCL WordScribe and WordWriter

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 3165
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

Post by serge_girard »

Thanks Kevin !

Serge
There's nothing you can do that can't be done...
User avatar
Steed
Posts: 427
Joined: Sat Dec 12, 2009 3:40 pm

Re: Another enhancement to HFCL WordScribe and WordWriter

Post by Steed »

Thanks
User avatar
kcarmody
Posts: 152
Joined: Tue Oct 07, 2014 11:13 am
Contact:

Re: Another enhancement to HFCL WordScribe and WordWriter

Post by kcarmody »

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.
Kevin
User avatar
kcarmody
Posts: 152
Joined: Tue Oct 07, 2014 11:13 am
Contact:

Re: Another enhancement to HFCL WordScribe and WordWriter

Post by kcarmody »

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.
Kevin
User avatar
serge_girard
Posts: 3165
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

Post by serge_girard »

Thanks Kevin !

Serge
There's nothing you can do that can't be done...
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Another enhancement to HFCL WordScribe and WordWriter

Post by bpd2000 »

Page setup some error:
Attachments
err.PNG
err.PNG (10.59 KiB) Viewed 6128 times
BPD
Convert Dream into Reality through HMG
User avatar
kcarmody
Posts: 152
Joined: Tue Oct 07, 2014 11:13 am
Contact:

Re: Another enhancement to HFCL WordScribe and WordWriter

Post by kcarmody »

bpd2000 wrote:Page setup some error:
Thanks for reporting! This is now fixed. (It was in WordScribe.)

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
User avatar
kcarmody
Posts: 152
Joined: Tue Oct 07, 2014 11:13 am
Contact:

Re: Another enhancement to HFCL WordScribe and WordWriter

Post by kcarmody »

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.
Kevin
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: Another enhancement to HFCL WordScribe and WordWriter

Post by Pablo César »

WOW Kevin !! It's very good job.

Thank very much for sharing.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
serge_girard
Posts: 3165
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

Post by serge_girard »

Thanks Kevin!

Serge
There's nothing you can do that can't be done...
Post Reply