Modify

#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 18 months ago by Jpm

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

comment:2 Changed 18 months ago by Jpm

  • Type changed from Bug to Feature Request

comment:3 Changed 18 months ago by Jpm

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

comment:4 Changed 18 months ago by TicketCleanup

  • Version 3.3.16.1 deleted

Automatic ticket cleanup.

comment:5 Changed 18 months 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.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jpm.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.