Discussion:
How to create a new folder using SHFileOperation?
(too old to reply)
Chris Yoon
2004-07-05 09:59:28 UTC
Permalink
I'm trying to implement what is almost exactly like the Windows explorer.
Explorer lets users create new folders by allowing them to right-click
on empty space. By seleting "new"->"folder" from the context menu, a new
folder named "New Folder" (or "New Folder(X)") is instantly created, and
its name becomes editable.

I've implemented almost all other operations that the explorer supports, but
I'm stuck on the feature described above. Can anyone help me?

Thank you in advance. = )
Jussi Jumppanen
2004-12-10 01:49:19 UTC
Permalink
Post by Chris Yoon
I've implemented almost all other operations that the explorer
supports, but I'm stuck on the feature described above. Can anyone
help me?
So what are you actually stuck on?

Is it the creation of the new folder (or directory) on the hard
disk, the trapping of the right mouse click, the display of the
popup menu, the display of the editing box to allow the name to
be changed?

Creating a folder is easy. Just use CreateDirectory, mkdir etc etc

Jussi Jumppanen
Author of: Zeus for Windows (New version 3.93 out now)
"The C/C++, Cobol, Java, HTML, Python, PHP, Perl programmer's editor"
Home Page: http://www.zeusedit.com

Loading...