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 Fri, 12 Jun 2015 17:04:19 +0200
Message-ID <1434122458_1@vo.lu> (permalink)
References <f187e549-12af-41f1-a13d-e525c02f5bf9@googlegroups.com>
Lines 45
NNTP-Posting-Host 83.99.97.11
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!feeder1.xsusenet.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.vo.lu!not-for-mail
Newsgroups comp.lang.clipper.visual-objects
X-Trace vo.lu 1434122458 83.99.97.11 (12 Jun 2015 17:20:58 0200)
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version 1.0
In-Reply-To <f187e549-12af-41f1-a13d-e525c02f5bf9@googlegroups.com>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 8bit
X-Antivirus avast! (VPS 150612-0, 12/06/2015), Outbound message
X-Antivirus-Status Clean
Xref csiph.com comp.lang.clipper.visual-objects:8197

Show key headers only | 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