Global Setting for On Key

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
jayadevu
Posts: 240
Joined: Tue May 19, 2009 7:10 am

Global Setting for On Key

Post by jayadevu »

Hi,

A Very Happy New Year to all.

In clipper programs, we could make a set key (say Alt+R) to some function in the main program and we could call this function from anywhere in the program by pressing the appropriate keys.

In HMG as I understand, we have to set the keys for each window seperately with the On Key command. Is it possible in HMG to give a Global On Key setting for all the windows instead of seperate definitions for each window ? Pls advice.

Warm regards,

Jayadev
User avatar
gfilatov
Posts: 1116
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Global Setting for On Key

Post by gfilatov »

jayadevu wrote:Hi,

A Very Happy New Year to all.

In clipper programs, we could make a set key (say Alt+R) to some function in the main program and we could call this function from anywhere in the program by pressing the appropriate keys.

In HMG as I understand, we have to set the keys for each window seperately with the On Key command. Is it possible in HMG to give a Global On Key setting for all the windows instead of seperate definitions for each window ? Pls advice.
Hi Jayadev,

It is possible in the HMG Extended Edition with command

SET GLOBAL HOTKEYS ON

but there is a foreign effect from applying of this command that your hotkeys is available in another's applications also :o

Happy New Year :!:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
jayadevu
Posts: 240
Joined: Tue May 19, 2009 7:10 am

Re: Global Setting for On Key

Post by jayadevu »

Dear Mr. Filatov,

Many thanks for your immediate reply.
but there is a foreign effect from applying of this command that your hotkeys is available in another's applications also
You mean other MiniGui Extended applications or all other window applications which are running.

Warm regards,

Jayadev
User avatar
gfilatov
Posts: 1116
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Global Setting for On Key

Post by gfilatov »

jayadevu wrote:...
but there is a foreign effect from applying of this command that your hotkeys is available in another's applications also
You mean other MiniGui Extended applications or all other window applications which are running.
Jayadev,

I means all other running window applications :shock:
It is a global action via your application's global hotkey (may be useful for tray-based utility).
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
Post Reply