Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. HTML Dialog Help

HTML Dialog Help

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++htmlvisual-studiohelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    J Guds
    wrote on last edited by
    #1

    I'm using a HTML dialog and I want to be able to hit one button, HTML or regular, and have it call C++ code and open a web site in the dialog box. I can currently make a HTML button either call the website or run the C++ code. I think that I would rather have a regular dialog button, so it doesn't dissappear when the website is pulled up. Any help with the call to open a web site with VC++.net code would be great. I'm running Visual Studio.net Pro. J Guds Masters Student Kansas University

    N 1 Reply Last reply
    0
    • J J Guds

      I'm using a HTML dialog and I want to be able to hit one button, HTML or regular, and have it call C++ code and open a web site in the dialog box. I can currently make a HTML button either call the website or run the C++ code. I think that I would rather have a regular dialog button, so it doesn't dissappear when the website is pulled up. Any help with the call to open a web site with VC++.net code would be great. I'm running Visual Studio.net Pro. J Guds Masters Student Kansas University

      N Offline
      N Offline
      Neville Franks
      wrote on last edited by
      #2

      You can use ShellExecuteEx() with sei.lpFile set to the URL. Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups