Help needed on Undocumented Shell "IDM_SHVIEW_NEWFOLDER". Any experts out here.
-
Hello Everybody, I am developing a Module in which I suppose to use Web Browser control which acts as Windows Explorer. I am tried most of the functionality with SendMessage API with different parameters like IDM_SHVIEW_LARGEICON, IDM_SHVIEW_SELECTALL etc. :-D But now I want to create a New Folder in the exact way Windows Explorer allows user. For consideration, let's say we will click a button & New Folder functionality should work. All the mention parameters are working with SendMessage API except IDM_SHVIEW_NEWFOLDER. :confused: 'Declaration Private Const IDM_SHVIEW_NEWFOLDER = &H7261 'In command button SendMessage(hwndSHView, WM_COMMAND, IDM_SHVIEW_NEWFOLDER, 0) ' hwndSH = handle of the SysTreeView32 ' WM_COMMAND = message ' IDM_SHVIEW_NEWFOLDER = lParam for action to be performed ' 0 = wParam I cross check the window's handle value. Still not getting the result. :confused: :confused: :confused: Also assigned handle the default value (which I got from SPY++). Please please please help me out from this problem. :(( Regards, Vilas