
But since some years ago, some site refuse FIFO.
Then i have never use it ago

But sometime, i use OPERA, when IE is too long, or not works, i prefer it.
But the habitude is difficult to change, furthermore when i am a old crouton like me

Hey FLUID BYTEI have put together an example but I don't feel too well giving it to your hands!
Then i correct my notation and i give you only five hundred thanksKwaï chang caïne wrote:One thousand of thanks, FLUID.
Code: Select all
Structure KBDLLHOOKSTRUCT
vkCode.l
scanCode.l
flags.l
time.l
dwExtraInfo.l
EndStructure
Procedure HookProc(nCode,wParam,lParam)
Select wParam
Case #WM_RBUTTONDOWN
Debug "Clic droit"
Case #WM_KEYDOWN
Case #WM_KEYUP
*kbhk.KBDLLHOOKSTRUCT = lParam
If *kbhk\vkCode ! #VK_LSHIFT And *kbhk\vkCode ! #VK_RSHIFT And *kbhk\vkCode ! #VK_CAPITAL
Debug "Appuie touche " + Chr(EventwParam())
EndIf
EndSelect
ProcedureReturn CallNextHookEx_(0,nCode,wParam,lParam)
EndProcedure
OpenWindow(0,0,0,240,140,"Mouse+Keyboard Block",#WS_CAPTION | #WS_SYSMENU | 1)
StickyWindow(0,1)
hhkLLMouse = SetWindowsHookEx_(#WH_MOUSE_LL,@HookProc(),GetModuleHandle_(0),0)
hhkLLKey = SetWindowsHookEx_(#WH_KEYBOARD_LL,@HookProc(),GetModuleHandle_(0),0)
AddKeyboardShortcut(0,#PB_Shortcut_Escape,101)
Repeat
EventID = WaitWindowEvent()
Until EventID = #PB_Event_CloseWindow Or EventMenu() = 101
UnhookWindowsHookEx_(hhkLLMouse)
UnhookWindowsHookEx_(hhkLLKey)
I know.Kwaï chang caïne wrote:If the windows loose focus, then the capture of mouse works fine, but the key capture don't works correctly
Code: Select all
Debug "Appuie touche " + Chr(EventwParam())
Code: Select all
Debug "Appuie touche " + Chr(*kbhk\vkCode)
Do a CTRL+A (to select all), and then CTRL+click in the code. And don't hesitate to click several times.Kwaï chang caïne wrote:Yes IE not works now, and i have listen to you and actually i write with FF![]()
Then truly, i want ask to you a question.....
In IE for select a code it's easy, ....i double click on him and it is selected.
But with FF, that don't works.
How is the best and quick method for selected it :roll:
Thanks my dear FLUID, il love youI know.
Lemme try to explain ...
In response to the #WM_KEYUP message you use the EventwParam() function. The result you get is actually NOT from the hook procedure but from PB's internal (not global) event loop (#WM_KEYUP). The advantage is that you can differ between UPPER- and lowercase letters. In order to make it work globally you need to change
Thanks for the tips, it's funny FF don't do like IE.Do a CTRL+A (to select all), and then CTRL+click in the code. And don't hesitate to click several times.