-
February 21st, 2015, 12:21 PM
#1
Explore current path
I quite often use an ide written in assembler: RadAsm3(https://fbedit.svn.sourceforge.net/s...ase/RadASM.zip)
It has a menu item to explore current path.
I have used other ide's that have a similar feature but:
The one in RadAsm3 will activate a current Explorer window if the current path is the same as the one requested.
All others open a new Explorer window.
I would like to implement the RadAsm3 approach using Visual Studio 2013 Community c++ as my host compiler for testing.
I tried to get the title of current windows but it appears ShellExecute "explore" does not produce a conventional window???
Any suggestions?
James
-
February 24th, 2015, 07:42 AM
#2
Re: Explore current path
I discovered how this is done but could not locate any documentation explaining it.
Pass your current window handle plus all NULL's for the other parameters with a SW_NORMAL for the last.
Code:
ShellExecute(hWnd, NULL, "","", NULL, SW_NORMAL);
James
Last edited by jcfuller; February 24th, 2015 at 08:35 AM.
Reason: NULL to ""
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|