Microsoft
Software
Hardware
Network
Question : Handle to the Listview in Open/Save Dialog
I am looking to find the handle for the Listview in the Open/Save Dialog. I am using the API call to SysListView32, but that returns nothing. The code that I currently have looks as follows:
ShDefViewHandle = FindWindowEx(parentHandle,
0, "SHELLDLL_DefView", "")
ListViewHandle = FindWindowEx(ShDefViewHand
le, 0, "SysListView32", "")
In this code ShDefViewHandle should give the handle to the parent of the ListView. The function for the ShDegViewHandle executes properly as it returns a handle, however I am unable to obtain the ListViewHandle as that function showhow returns 0.
Currently I am at a loss as why this function returns 0 instead of the handle that I would expect.
Answer : Handle to the Listview in Open/Save Dialog
Seems you managed to achieve that. Sorry that I didn't help. Good luck! : )
Random Solutions
How to change open directory in msoFileDialogOpen (Excel Vba)
How do you automatically detect proxy settings for a VB.NET applciation using IWebProxy
MS Access 2003 ... Add customized code to form created by Wizard
How can i hide root level of TreeView in Silverlight?
how to create a TreeView and Bind its nodes to a DataTable?
Can't save Access 2003 report with specific printer under Access 2007
Migration from NT4 PDC to 2003 AD... NT4 SP6 AWOL!
Inserting XML data int an nText field in SQL 2005
Impoting xls sheet into Microsoft acces existing table
The data types nvarchar and uniqueidentifier are incompatible in the add operator.