Wasim A.
Wasim A.

Reputation: 9890

C++ GUI Windows Default Browser

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++.

Upvotes: 0

Views: 825

Answers (2)

Mario
Mario

Reputation: 36487

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).

Upvotes: 1

Iosif Murariu
Iosif Murariu

Reputation: 2054

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

Upvotes: 0

Related Questions