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. MFC ToolBox

MFC ToolBox

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialc++question
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.
  • C Offline
    C Offline
    charu123
    wrote on last edited by
    #1

    HI , I was just trying to create a tool box application but suddenly realised that i have no ideahow to go about doing it. If somebody could guide me how i can go about implementing it I would be very happy to learn and try it out. I also wanted to know... supposing i have a dialogue based application where when i click on a particular choice it should exute some exe. something like if i click on an option from a list it should execute some application. how can i do tht in MFC I know how to write the onselect part. wht should i write inside tht func n how is wht i wanted to know. Thanks.:) U get wht u Give

    B 1 Reply Last reply
    0
    • C charu123

      HI , I was just trying to create a tool box application but suddenly realised that i have no ideahow to go about doing it. If somebody could guide me how i can go about implementing it I would be very happy to learn and try it out. I also wanted to know... supposing i have a dialogue based application where when i click on a particular choice it should exute some exe. something like if i click on an option from a list it should execute some application. how can i do tht in MFC I know how to write the onselect part. wht should i write inside tht func n how is wht i wanted to know. Thanks.:) U get wht u Give

      B Offline
      B Offline
      BadJerry
      wrote on last edited by
      #2

      If you want to start an executable (or open a file) use this HINSTANCE nResult = ::ShellExecute(NULL,_T("open"),strPath,strParameters,NULL, SW_SHOW ); where strPath is your document or the path of your executable and strPath are the parameters you may want to send to your executable.

      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