Modify ↓
#3932 closed Feature Request (Completed)
_WinAPI_GetRawInputData Helpfile Example
| Reported by: | KaFu | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | 3.3.17.0 | Component: | Documentation |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
Playing around with above example and wondering why nothing's happening I saw that the bitmap path do not work, when you test outside of installation dir.
Please replace
$g_ahPart[$i] = _WinAPI_LoadImage(0, @ScriptDir & '\Extras\Mice' & $i & '.bmp', $IMAGE_BITMAP, 0, 0, $LR_LOADFROMFILE)
with something like
$g_ahPart[$i] = _WinAPI_LoadImage(0, StringReplace(@AutoItExe, "autoit3.exe", "Examples\Helpfile") & '\Extras\Mice' & $i & '.bmp', $IMAGE_BITMAP, 0, 0, $LR_LOADFROMFILE)
or better path alternatives :).
Best Regards
Attachments (0)
Change History (5)
comment:2 by , on Nov 16, 2022 at 2:55:01 PM
| Type: | Bug → Feature Request |
|---|
comment:5 by , on Nov 16, 2022 at 3:05:48 PM
| Milestone: | → 3.3.17.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Added by revision [12918] in version: 3.3.17.0
Note:
See TracTickets
for help on using tickets.

this can benefice to other examples
I will work on it
Cheers