Hack Forums
[.NET] Customizable Hotkey for Crosshair - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Customizable Hotkey for Crosshair (/showthread.php?tid=4786171)



Customizable Hotkey for Crosshair - RandomUser123 - Apr 19, 2015

Program: https://hackforums.net/showthread.php?tid=4786099

Hi, i made this crosshair tool and i need help to allow the user to customize its hotkey.

What i need is a windows form control which detects the keys you press and shows them (ctrl / alt / shift + a-z / 0-9 / special keys) then to return this combination to allow me to use it in RegisterHotKey:

Code
Call RegisterHotKey(Me.Handle, 1, NULL, CustomHotkey)

Who will help me in this will be put in credits. It's not much, but.. :)


* - Only3 - Apr 19, 2015

use radiobutton for ctrl, alt, shift and (or) combobox \ textbox for the letter then select case