Results 1 to 2 of 2

Thread: List View on Common Dialog

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    I believe so.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Well, it seems to be working okay:
    VB Code:
    1. 'get the handle to the List View control
    2.             hwndShellDll = FindWindowEx(GetParent(hwnd), 0&, "SHELLDLL_DefView" & vbNullChar, vbNullString)
    3.             If hwndShellDll <> 0 Then
    4.                 hwndListView = FindWindowEx(hwndShellDll, 0&, "SysListView32" & vbNullChar, vbNullString)
    5.                 lngCount = SendMessage(hwndListView, LVM_GETITEMCOUNT, ByVal 0&, ByVal 0&)
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width