This might be an incredible stupid question but in the helpfile I saw
#include <Extras\WM_NOTIFY.au3>
But I don't have that file to include anywhere. And I can't find any hint saying "you have to specify the contents of that file yourself"
So looking at the example from the helpfile for
_GUICtrlListView_Create()
It would seem that
_WM_NOTIFY_Register()
basically does a
GUIRegisterMsg($WM_NOTIFY, "_WM_NOTIFY")
EDIT: that was a copy-pas
This statement only finds WM_Notify.au3 when your script is located in C:\Program Files (x86)\AutoIt3\Examples\Helpfile.
I assume you stored your test script in another directory (as the AutoIt directories are read-only).
So you have to specify the full path in your #include statement.
Check the helpfile for #include to get more detailed information how AutoIt finds include files