| Author |
Message |
Topic: Help Advanced! Hook WM_COMMAND with JGRs Hook.dll? |
JGR
Replies: 6
Views: 821
|
Forum: Ask for Help Posted: Thu Aug 30, 2007 8:03 pm Subject: Help Advanced! Hook WM_COMMAND with JGRs Hook.dll? |
| I have just come back from holiday, and school starts tomorrow, so the chances of this happening soon are so close to zero that it is effectively abandoned until I can find a spare few days, in the up ... |
Topic: Machine code functions: Bit Wizardry |
JGR
Replies: 191
Views: 15805
|
Forum: Scripts & Functions Posted: Tue Jul 24, 2007 2:00 pm Subject: Machine code functions: Bit Wizardry |
You may wish to investigate the GNU bignum library which does arbitrary precision/magnitude arithmetic for integers, floats and fractions...
It is available in dll form, so ought to be usable.
ftp:/ ... |
Topic: Help Advanced! Hook WM_COMMAND with JGRs Hook.dll? |
JGR
Replies: 6
Views: 821
|
Forum: Ask for Help Posted: Sat Jul 21, 2007 1:06 pm Subject: Help Advanced! Hook WM_COMMAND with JGRs Hook.dll? |
After some research, it emerges that the only method from the above which could be done using the current dlls, and which would enable you to record WM_COMMAND ids and hwnds is the getmessage hook.
Y ... |
Topic: Help Advanced! Hook WM_COMMAND with JGRs Hook.dll? |
JGR
Replies: 6
Views: 821
|
Forum: Ask for Help Posted: Fri Jul 20, 2007 11:44 pm Subject: Help Advanced! Hook WM_COMMAND with JGRs Hook.dll? |
Slaya:
There are several ways which you could go about this.
SetWinEventHook could be used, but this would probably be tricky to determine the WM_COMMAND parameter, and might have mixed reliabil ... |
Topic: v1.0.46 released: SubStr() and more expression operators |
JGR
Replies: 112
Views: 11019
|
Forum: Announcements Posted: Tue Jun 12, 2007 3:29 pm Subject: v1.0.46 released: SubStr() and more expression operators |
I would advise that the safe, conservative behaviour (slow) be the default, the existing syntax also implies this.
Consider the following:
hook:=RegisterCallback("somefunction","F ... |
Topic: DllCall and ComCtl32.dll |
JGR
Replies: 2
Views: 219
|
Forum: Ask for Help Posted: Mon Jun 11, 2007 8:37 pm Subject: DllCall and ComCtl32.dll |
There is no function called ListView_SetSelectionMark in comctl32.dll
Look at http://msdn2.microsoft.com/en-us/library/ms671362.aspx
MS commctrl.h says:
#define ListView_SetSelectionMark(hwnd, ... |
Topic: v1.0.46 released: SubStr() and more expression operators |
JGR
Replies: 112
Views: 11019
|
Forum: Announcements Posted: Mon Jun 11, 2007 6:08 pm Subject: v1.0.46 released: SubStr() and more expression operators |
callback.dll,wineventhook.dll & wineventhookq.dll are all superfluous with built in callbacks.
However cbthook.dll still necessary for CBT hooks, as they require dll injection...
JGR |
Topic: WheelRight and WheelLeft events, WHEN? |
JGR
Replies: 3
Views: 261
|
Forum: Ask for Help Posted: Thu May 31, 2007 7:11 am Subject: WheelRight and WheelLeft events, WHEN? |
Look in your key history, it may be registered as XButton1/2 or as a numeric code.
(You would need the mouse hook installed to test this).
JGR |
Topic: v1.0.46 released: SubStr() and more expression operators |
JGR
Replies: 112
Views: 11019
|
Forum: Announcements Posted: Wed May 30, 2007 6:15 pm Subject: v1.0.46 released: SubStr() and more expression operators |
PhiLho wrote:
I think the last parameter must be the return type, in some special DLLs it can be something other than 0/1 or true/false.
In almost any callback function the return value will be some ... |
Topic: FileRead returns only "ÿþ[". |
JGR
Replies: 2
Views: 199
|
Forum: Ask for Help Posted: Sun May 27, 2007 3:53 pm Subject: FileRead returns only "ÿþ[". |
ÿþ is the standard Unicode Byte Order Mark.
That means that your file is in Unicode...
You can either call Win32 api functions to read and transcode it to ASCII or use notepad to open the log and sa ... |
Topic: [module] Dock 1.0 (testing 2.0 b3) |
JGR
Replies: 283
Views: 16448
|
Forum: Scripts & Functions Posted: Sun May 27, 2007 10:39 am Subject: [module] Dock 1.0 (testing 2.0 b3) |
| It seems to be sent during minimise, maximise and restore operations, but so is EVENT_OBJECT_LOCATIONCHANGE is suppose, have you tested it without monitoring that message? The name suggests that it wo ... |
Topic: [Func] RelativePath & AbsolutePath |
JGR
Replies: 31
Views: 1985
|
Forum: Scripts & Functions Posted: Sat May 26, 2007 10:03 am Subject: [Func] RelativePath & AbsolutePath |
Yes. There are also UrlCombine, UrlCanonicalize, and for making relative path names PathRelativePathTo.
There are 76 functions which do various things with path and URL strings...
JGR |
Topic: Parsing console parameters |
JGR
Replies: 6
Views: 359
|
Forum: Ask for Help Posted: Sat May 26, 2007 9:28 am Subject: Parsing console parameters |
To get standard windows argument delimitation you can use the API call CommandLineToArgvW (this is one of the only functions which only has a unicode version unfortunately), in shell32.dll.
You shoul ... |
Topic: [Func] RelativePath & AbsolutePath |
JGR
Replies: 31
Views: 1985
|
Forum: Scripts & Functions Posted: Sat May 26, 2007 9:14 am Subject: [Func] RelativePath & AbsolutePath |
If performance is important, you may wish to investigate: shlwapi.dll
See [url=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/shlwapi/path/path.asp] ... |
Topic: UrlDownloadToFile Progress |
JGR
Replies: 22
Views: 2416
|
Forum: Scripts & Functions Posted: Thu May 24, 2007 1:33 pm Subject: UrlDownloadToFile Progress |
Put a pause command just before the DllCall, and post the contents of your variables.
Also check that you actually have the callback.dll and urlmon.dll
JGR |
| |