News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

ShellExecute Folder

Started by ragdog, September 19, 2010, 07:46:04 AM

Previous topic - Next topic

ragdog

Hi

I open a Folder with ShellExecute
and select a specific folder and selecting a file in it.


Here is my result

   invoke lstrcpy,addr hExplorePath,CTEXT ("/select, ")
   invoke lstrcat,addr hExplorePath,CTEXT ("c:\mytools\test.exe")
   invoke ShellExecute,hMain,CTEXT ("open"),CTEXT ("explorer.exe"),addr hExplorePath,NULL,SW_SHOWNORMAL


Now have i this problem thats show the opening folder with selected file in background
i nedd this in foreground

SOLVED
BringWindowToTop

Greets,