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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. help reading integer string "Zero-based index of the button string"

help reading integer string "Zero-based index of the button string"

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

    the structure is of type typedef struct _TBBUTTON { int iBitmap; int idCommand; BYTE fsState; BYTE fsStyle; DWORD dwData; int iString; } TBBUTTON, NEAR* PTBBUTTON, FAR* LPTBBUTTON; where int iString is type Zero-based index of the button string. how to read the value of iString, any idea or any help, thanks swarup

    I 1 Reply Last reply
    0
    • S swarup

      the structure is of type typedef struct _TBBUTTON { int iBitmap; int idCommand; BYTE fsState; BYTE fsStyle; DWORD dwData; int iString; } TBBUTTON, NEAR* PTBBUTTON, FAR* LPTBBUTTON; where int iString is type Zero-based index of the button string. how to read the value of iString, any idea or any help, thanks swarup

      I Offline
      I Offline
      includeh10
      wrote on last edited by
      #2

      does this one work? CToolBarCtrl::GetButton(int nIndex,LPTBBUTTON lpButton).

      S 1 Reply Last reply
      0
      • I includeh10

        does this one work? CToolBarCtrl::GetButton(int nIndex,LPTBBUTTON lpButton).

        S Offline
        S Offline
        swarup
        wrote on last edited by
        #3

        nah it wont help my prob is TBBUTTON tb; i want to read the value of tb's iString value can u help me to know how to read the value of TBBUTTON's int iString

        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