0

I am trying to implement NotePad++ plugin, I am stuck in, how to get GUI of Windows Default Browser initialized with a URL in C++.

Wasim A.
  • 9,660
  • 22
  • 90
  • 120
  • Are you actually trying to implement a browser control into Notepad++ (in some window?) or do you just want to open a web page in the default browser? – Mario Jul 21 '13 at 10:05
  • I have created a Dock in NotePad++, in Dock i want to Place Windows default browser object (and initialize it with a URL) – Wasim A. Jul 21 '13 at 10:07

2 Answers2

1

If you're looking to implement any web browser control (i.e. utilize Internet Explorer), then you might want to have a look at this questions and its answers.

If you'd like to embed the user's preferred web browser, you're pretty much out of luck (there are possibly hacky ways to do it (e.g. modifying the browser's window and keeping it overlapping your control), but I wouldn't recommend them).

Community
  • 1
  • 1
Mario
  • 35,726
  • 5
  • 62
  • 78
  • a lot of file missing error, i followed that question's answer. using vs2008 – Wasim A. Jul 21 '13 at 10:41
  • You might want to install the latest Windows SDK, especially when using older Express versions (didn't come with a Windows SDK preinstalled). – Mario Jul 21 '13 at 10:42
0

Try ShellExecute(NULL, L"open", L"www.mywebsite.com",NULL, NULL, SW_SHOWNORMAL);

Iosif Murariu
  • 2,019
  • 1
  • 21
  • 27