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. toolbar programming question

toolbar programming question

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

    hi, if i have an application, using windows explorer style(consist of left pane and right pane), i want to create a button in the toolbar that delete a selected/highlighted item in either left pane or right pane(can't delete both at the same time).. can this be done? or should i just use 2 buttons instead(one button for deleting items in leftpane and another one for deleting items in right pane).. thx in advance!

    R 1 Reply Last reply
    0
    • T trustno1

      hi, if i have an application, using windows explorer style(consist of left pane and right pane), i want to create a button in the toolbar that delete a selected/highlighted item in either left pane or right pane(can't delete both at the same time).. can this be done? or should i just use 2 buttons instead(one button for deleting items in leftpane and another one for deleting items in right pane).. thx in advance!

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      You only need one button (think about the copy/cut/paste button in windows explorer, they may be used in both left and right panes). I do not know much about MDI (since I've developped only few such app till now), but with GetActiveView, you should be able to grab the view whith the item currently selected when hitting your remove button. ~RaGE();

      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