January 7th, 2013, 12:25 PM
The item may not be visible, you may need to use message ListView_EnsureVisible
December 22nd, 2012, 03:40 AM
That's wrong, I was thinking of a hook process. Maybe you need to trap a line feed as well as the carriage return.
December 22nd, 2012, 03:20 AM
I think the return of 1 not zero will block return
October 16th, 2012, 07:07 AM
I had thought that the window handle (of ->hdr.hwndFrom) as below would have been the "SysListView32" window, but no, presumably it is a copy of the dialog window.
OFNOTIFY *of
WM_NOTIFY
of =...
October 16th, 2012, 04:53 AM
Maybe NM_SETFOCUS could be used to check / wait for SysListView32 (GetClassName(hwnd, classText, 128)), though it's becoming messy.
October 15th, 2012, 12:27 PM
I think you will get CDN_INITDONE from WM_NOTIFY in the FileOpenHookProcedure. As I remember, the relevant window is the first function parameter and you should be safe to post messages at that...
October 2nd, 2012, 04:02 AM
It maybe that using the functions below to identify your "chrome" variable will bring better luck.
BOOL WINAPI GetGUIThreadInfo( _In_ DWORD idThread, _Inout_ LPGUITHREADINFO lpgui);
HWND...
October 2nd, 2012, 04:01 AM
It maybe that using the functions below to identify your "chrome" variable will bring better luck.
BOOL WINAPI GetGUIThreadInfo( _In_ DWORD idThread, _Inout_ LPGUITHREADINFO lpgui);
HWND...