Opened 2 years ago
Closed 2 years ago
#3932 closed Feature Request (Completed)
_WinAPI_GetRawInputData Helpfile Example
Reported by: | KaFu | Owned by: | Jpm |
---|---|---|---|
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:1 Changed 2 years ago by Jpm
comment:2 Changed 2 years ago by Jpm
- Type changed from Bug to Feature Request
comment:3 Changed 2 years ago by Jpm
for me is not a bug but a feature request ...
comment:5 Changed 2 years ago by Jpm
- Milestone set to 3.3.17.0
- Owner set to Jpm
- Resolution set to Completed
- Status changed from new to closed
Added by revision [12918] in version: 3.3.17.0
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
this can benefice to other examples
I will work on it
Cheers