I am trying to allow drag and drop files into an application I'm developing for ease of use. When the user drags and drops a file onto the application, the WM_DROPFILES message is to be activated. I can't get this to work unfortunately, I've allowed drag and drop files in the window properties and have used the DragAcceptFiles(ghwndMain,.TRUE.) subroutine upon dialog creation.
From searching around it seems that others have used the ChangeWindowMessageFilterEx function to allow the WM_DROPFILES and WM_COPYDATA messages to be activated, but there doesn't seem to be an definition for this in any of the *.f90 windows api interface files provided with Intel Fortran 2011. Am I doing something wrong or is there another way round this?
I'm using Windows 7, VS 2008, Intel Fortran 2011 XE SP1