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. Creating multiple buttons with one resource

Creating multiple buttons with one resource

Scheduled Pinned Locked Moved C / C++ / MFC
data-structurestoolshelpquestionlearning
1 Posts 1 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
    jimNLX
    wrote on last edited by
    #1

    I'm trying to create multiple buttons on a dialog page dynamically and have been able to get the buttons to appear, but i can't get the tools tips to work. Before I did this I was using static buttons and they worked fine. Now everything works except the tool tip. Could this be because I'm just using one resource button on that dialog page? m_Icon[ndx].Create(_T(""), WS_CHILD | WS_VISIBLE | WS_TABSTOP , CRect(0, 0, 0, 0), this,IDC_BTN );//IDC_BTN is the only resource on dialog created in the dialog editor Any idea to the limit of the number of objects that can be put on a page? Looks like I may have a max of 600 plus all the stuff to make the page into a x/y graph. Thanks for any help

    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