HMG 3.1.4

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.1.4 (Test)

Post by Rathinagiri »

Thank you Claudio.

I think now we can have a greater control over the functions/ user events.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.1.4 (Test)

Post by esgici »

A new feature added to HMG in the 3.1.4 version: Control level context menu.

This is a demo prg for this good and important emhancement;
with big thanks and best regards to Dr. Soto.

This demo builded upon famus HMG demo : Main.Demo.
Screen shoot of CLC_Menu demo prg
Screen shoot of CLC_Menu demo prg
CLC_Menu.jpg (74.72 KiB) Viewed 4642 times
CLC_Menu.zip
Source (.prg) file of CLC Menu demo prg
(2.21 KiB) Downloaded 244 times
Happy HMG'ing :D
Last edited by esgici on Wed Aug 07, 2013 11:39 pm, edited 1 time in total.
Viva INTERNATIONAL HMG :D
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG 3.1.4 (Test)

Post by bpd2000 »

esgici wrote:A new feature added to HMG in the 3.1.4 version: Control level context menu.

This is a demo prg for this good and important emhancement;
with big thanks and best regards to Dr. Soto.

This demo builded upon fomus HMG demo : Main.Demo.

Happy HMG'ing :D
Thank you, Esgici
BPD
Convert Dream into Reality through HMG
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.1.4 (Test)

Post by Rathinagiri »

Really it is awesome feature. Thank you Esgici for a nice example.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG 3.1.4 (Test)

Post by Pablo César »

srvet_claudio wrote:This is the power of event handling, HMG now can read the keyboard and intercept virtually all windows messages before they reach the application.
Nice, very nice man !!! Very interesting and usufull !

It would be very good to having in SAMPLES as Events\Monitor\Demo1.prg and ..\Demo2.prg for next releases..

Thank you Dr. Soto !
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.1.4 (Test)

Post by srvet_claudio »

Rathinagiri wrote:Thank you Claudio.

I think now we can have a greater control over the functions/ user events.
Yes!!!
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.1.4 (Test)

Post by srvet_claudio »

esgici wrote:A new feature added to HMG in the 3.1.4 version: Control level context menu.

This is a demo prg for this good and important emhancement;
with big thanks and best regards to Dr. Soto.

This demo builded upon fomus HMG demo : Main.Demo.

Happy HMG'ing :D
Nice, very nice!!!
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.1.4 (Test)

Post by srvet_claudio »

bpd2000 wrote:
srvet_claudio wrote:Hi Boys.
This is the power of event handling, HMG now can read the keyboard and intercept virtually all windows messages before they reach the application. :D
Try the example with the EXE file, tomorrow I prepare a patch with the upgrades.
Thank you, Sir
Please include code to create log file also
Yes I will include a log file, this is only a trial version, it is far from becoming useful as a debug.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG 3.1.4 (Test)

Post by Pablo César »

Pablo César wrote:I Based on the example of Carlos, I'm not getting even find the right handle of the control components of EditBox and RichEditBox.

Definitions of EM_SETCUEBANNER message by MSDN says:
Sets the textual cue, or tip, that is displayed by the edit control to prompt the user for information.
So these EDIT controls (EditBox and RichEditBox) should be possible to setcuebanner, but I can not find the way.
Unfortunately, has not way out for EditBox and RichEditBox, there are EDIT controls in MULTILINE mode.

I found from some internal resources (many other languages) that EM_SETCUEBANNER is only supported for single line edit box. This is not supported for edit boxes with style ES_MULTILINE.
Screen96.PNG
Screen96.PNG (15.88 KiB) Viewed 4606 times
At least now I know not to waste any more time trying to get it working.

Unless our genious :roll: could make up a trick modifying the INITEDITBOX c_editbox.c in order to simulate the same effect. Something like as creating a small window over the top of it that contains the placeholder text. Then when the user sets the keyboard focus to it hide the window and if the focus is removed and nothing is in the box then show it.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.1.4 (Test)

Post by Rathinagiri »

In my system IDE (unicode) empties the resource file and hbc files if I open any old ANSI project.

Does anybody come across the problem?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply