Open in existing explorer window not new

  • Thread starter Thread starter Mark Foley
  • Start date Start date
M

Mark Foley

Hi,

Is there a way from a C program to open a url in an existing window, if it
exists instead of always opening a new one?

I'm using winexec iexplore.exe -nohome "url"

Thanks
 
Mark Foley said:
Hi,

Is there a way from a C program to open a url in an existing window, if it
exists instead of always opening a new one?

I'm using winexec iexplore.exe -nohome "url"

Thanks

You could use EnumDesktopWindows(..) to check.
 
Back
Top