franpol38000

_WinAPI_GetKeyNameText parameter

4 posts in this topic

#1 ·  Posted (edited)

Hello,

I'd like to use the function "_WinAPI_GetKeyNameText" but I've an interrogation about the manner to get a parameter.

On the description of this function, they recommand to use the GUI, like the code hereunder :

<snip>

But if I want use this function without GUI, I suppose I need to get only the parameter ($lParam). How can I obtain the value of "$lParam" ?

Thanks in advance for your help.

Edited by Melba23
Keylogger coder removed

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Without window you can't get a window message (WM).

 

But tell us exactly what you want to do and a solution will be found.

Edited by funkey

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

<snip>

 $lParam seems to be a hex value.

Edited by Melba23
Keylogger coder removed

Share this post


Link to post
Share on other sites

franpol38000,

Please read this announcement to learn what is and what is not permissible when it comes to detecting keys. What you posted was a keylogger pure and simple - do NOT do it again. Thread locked

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.