Launch web page from my application

前端 未结 6 798
误落风尘
误落风尘 2021-02-14 09:43

Ok, this probably has a really simple answer, but I\'ve never tried to do it before: How do you launch a web page from within an app? You know, \"click here to go to our FAQ\",

6条回答
  •  旧时难觅i
    2021-02-14 10:42

    You can use ShellExecute function. Sample code:

    ShellExecute( NULL, "open", "http://stackoverflow.com", "", ".", SW_SHOWDEFAULT );
    

提交回复
热议问题