Page 9 of 15

Re: HMG 3.1.4 (Test)

Posted: Sat Jun 22, 2013 5:20 am
by Rathinagiri
Thank you Claudio.

I think now we can have a greater control over the functions/ user events.

Re: HMG 3.1.4 (Test)

Posted: Sat Jun 22, 2013 10:12 am
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 5254 times
CLC_Menu.zip
Source (.prg) file of CLC Menu demo prg
(2.21 KiB) Downloaded 266 times
Happy HMG'ing :D

Re: HMG 3.1.4 (Test)

Posted: Sat Jun 22, 2013 10:52 am
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

Re: HMG 3.1.4 (Test)

Posted: Sat Jun 22, 2013 11:44 am
by Rathinagiri
Really it is awesome feature. Thank you Esgici for a nice example.

HMG 3.1.4 (Test)

Posted: Sat Jun 22, 2013 12:25 pm
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 !

Re: HMG 3.1.4 (Test)

Posted: Sat Jun 22, 2013 1:14 pm
by srvet_claudio
Rathinagiri wrote:Thank you Claudio.

I think now we can have a greater control over the functions/ user events.
Yes!!!

Re: HMG 3.1.4 (Test)

Posted: Sat Jun 22, 2013 1:19 pm
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!!!

Re: HMG 3.1.4 (Test)

Posted: Sat Jun 22, 2013 1:25 pm
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.

HMG 3.1.4 (Test)

Posted: Sat Jun 22, 2013 1:32 pm
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 5218 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.

Re: HMG 3.1.4 (Test)

Posted: Mon Jun 24, 2013 11:48 am
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?