CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: edpat

Search: Search took 0.04 seconds.

  1. Replies
    5
    Views
    8,637

    Re: How to click an item in listview(Win32/C++)

    The item may not be visible, you may need to use message ListView_EnsureVisible
  2. Re: Prevent VK_RETURN from being processed in subclassed edit control.

    That's wrong, I was thinking of a hook process. Maybe you need to trap a line feed as well as the carriage return.
  3. Re: Prevent VK_RETURN from being processed in subclassed edit control.

    I think the return of 1 not zero will block return
  4. Re: [RESOLVED] Highlite entry in GetOpenFileName() list, programmatically.

    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 =...
  5. Re: Highlite entry in GetOpenFileName() list, programmatically.

    Maybe NM_SETFOCUS could be used to check / wait for SysListView32 (GetClassName(hwnd, classText, 128)), though it's becoming messy.
  6. Re: Highlite entry in GetOpenFileName() list, programmatically.

    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...
  7. Replies
    4
    Views
    5,912

    Re: MouseClick to Web Browser via messages

    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...
  8. Replies
    4
    Views
    5,912

    Re: MouseClick to Web Browser via messages

    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...
Results 1 to 8 of 8





Click Here to Expand Forum to Full Width

Featured