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:1 by J-Paul Mesnage, on Nov 16, 2022 at 11:41:22 AM

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

comment:2 by J-Paul Mesnage, on Nov 16, 2022 at 2:55:01 PM

Type: BugFeature Request

comment:3 by J-Paul Mesnage, on Nov 16, 2022 at 2:55:37 PM

for me is not a bug but a feature request ...

comment:4 by TicketCleanup, on Nov 16, 2022 at 3:00:01 PM

Version: 3.3.16.1

Automatic ticket cleanup.

comment:5 by J-Paul Mesnage, on Nov 16, 2022 at 3:05:48 PM

Milestone: 3.3.17.0
Owner: set to J-Paul Mesnage
Resolution: Completed
Status: newclosed

Added by revision [12918] in version: 3.3.17.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.