Subject: Re: Do something pressing a specific key From: Camille Kater Date: Fri, 12 Jun 2015 17:04:19 +0200 Message-ID: <1434122458_1@vo.lu> References: 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: 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 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