Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Network
»
Opening A web brower
Print
Pages: [
1
]
Author
Topic: Opening A web brower (Read 3002 times)
0 Members and 1 Guest are viewing this topic.
sammy2022
Newbie
Posts: 1
Opening A web brower
«
on:
October 14, 2022, 04:18:23 pm »
I will like to open up the web browser to a particular address when the user clicks a button, how can I achieve this with sfml?
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11033
Re: Opening A web brower
«
Reply #1 on:
October 14, 2022, 04:30:04 pm »
SFML doesn't offer such a functionality.
You'll probably have to call some OS specific function, see here for example:
https://stackoverflow.com/questions/17347950/how-do-i-open-a-url-from-c
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
Network
»
Opening A web brower