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. DlgBar using dlgtemplate

DlgBar using dlgtemplate

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

    Can I build a CDialogBAR from an in memory resource, a dlgtemplate? I prefer memorybased Dialogs then .rc-based one for several reasons and I wanna do so with DialogBars, too. Is it possible? What do you think about dlgtemplATE-Dialogs at all, any pros or contras? mfg HintiFlo

    F 1 Reply Last reply
    0
    • H HintiFlo

      Can I build a CDialogBAR from an in memory resource, a dlgtemplate? I prefer memorybased Dialogs then .rc-based one for several reasons and I wanna do so with DialogBars, too. Is it possible? What do you think about dlgtemplATE-Dialogs at all, any pros or contras? mfg HintiFlo

      F Offline
      F Offline
      Fredrik Skog
      wrote on last edited by
      #2

      If you leave the .rc .bmp empty you could always add whatever you want from the code. You would still be stuck with the resource though, but that is the way CDialogBar works. You can also use a CToolBar to add arbitrary controls in. But this also requires a resource. CToolBar provides more control with GetToolBarCtrl(), so if you want to do more advanced stuff, that is probably the way to go. Cheers,
      /Fredrik

      Sonork ID: 100.11430:PhatBoy

      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