IDM_SHVIEW_NEWFOLDER Usage in Web Browser control
-
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. 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. '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. Also assigned handle the default value (which I got from SPY++). :confused: Please help me out from this problem. Regards, Vilas
-
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. 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. '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. Also assigned handle the default value (which I got from SPY++). :confused: Please help me out from this problem. Regards, Vilas
http://beta.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20250026.html[^] I dunno, but maybe this will help you.
Jason Henderson
"You must be the change you wish to see in the world." - Gandhi -
http://beta.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20250026.html[^] I dunno, but maybe this will help you.
Jason Henderson
"You must be the change you wish to see in the world." - Gandhi