Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #8197

Re: Do something pressing a specific key

Subject Re: Do something pressing a specific key
From Camille Kater <katercam@pt.lu>
Date 2015-06-12 17:04 +0200
Message-ID <1434122458_1@vo.lu> (permalink)
References <f187e549-12af-41f1-a13d-e525c02f5bf9@googlegroups.com>
Newsgroups comp.lang.clipper.visual-objects

Show all headers | View raw


On 12/06/2015 16:13, Marcos Sánchez wrote:

Hi Marcos,

Why not use RegisterHotKey
  For example:
RegisterHotKey(SELF:handle(),200,0,VK_F6) // F6

Self:handle could be your shellwindow or any other window,
200 is any number of your choice used in:
UnregisterHotKey(SELF:handle(),200) (closing Window).

Camille

> Hi, at first, sorry for my poor english.
>
> I'm trying to add a "shortcut" to some actions in my app, pressing a key instead of click a button. For example, pressing F6 opens specific window, F7 other, F8 save changes, etc.
>
> I have read this forum but i don't know how to do that.
>
> I appreciate you help me.
>
> Marcos Sánchez
> Rufino - Santa Fe - Argentina
> marcosmisanchez@gmail.com
>


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Do something pressing a specific key Marcos Sánchez <marcosmisanchez@gmail.com> - 2015-06-12 07:13 -0700
  Re: Do something pressing a specific key dlzc <dlzc1@cox.net> - 2015-06-12 07:50 -0700
  Re: Do something pressing a specific key Camille Kater <katercam@pt.lu> - 2015-06-12 17:04 +0200
  Re: Do something pressing a specific key Marcos Sánchez <marcosmisanchez@gmail.com> - 2015-06-12 11:34 -0700
    Re: Do something pressing a specific key Franz Rachbauer <office@rachbauer.org> - 2015-06-13 20:11 +0200
  Re: Do something pressing a specific key "Jamal Assaf" <someone@example.com> - 2015-06-12 14:45 -0400

csiph-web