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. FlexGrid again

FlexGrid again

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

    HI I use (Microsoft FlexGrid Control, version 6.0) which is active x control . It’s very useful, but some member functions are unclear . Now I’m interested in how useing two functions and maybe they will be the keys of the rest functions . 1 – void AddItem(LPCTSTR Item, const VARIANT& index) to add new rwo BUT HOW??? 2 - long GetRowData(long index) to get data from specific row BUT HOW??? I put this qustion befor and one told me look for (MsFlxGrd.hlp) I tried to find it but there is no file like this Thank you very much … AHMAD ALWASHALI

    C 2 Replies Last reply
    0
    • A Ahmad

      HI I use (Microsoft FlexGrid Control, version 6.0) which is active x control . It’s very useful, but some member functions are unclear . Now I’m interested in how useing two functions and maybe they will be the keys of the rest functions . 1 – void AddItem(LPCTSTR Item, const VARIANT& index) to add new rwo BUT HOW??? 2 - long GetRowData(long index) to get data from specific row BUT HOW??? I put this qustion befor and one told me look for (MsFlxGrd.hlp) I tried to find it but there is no file like this Thank you very much … AHMAD ALWASHALI

      C Offline
      C Offline
      Carlos Antollini
      wrote on last edited by
      #2

      AddItem insert the text in the FixedRow for example: AddItem("nnnn", 2) insert the text in the second row of the fixed column If you want to insert data in a FlexGrid you need to set teh Row (SetRow), then the column (SetCol) and then SetText for insert the text in that Row and column. If you need to read you can use the function GetText. Good Luck :bob: Carlos Antollini.

      1 Reply Last reply
      0
      • A Ahmad

        HI I use (Microsoft FlexGrid Control, version 6.0) which is active x control . It’s very useful, but some member functions are unclear . Now I’m interested in how useing two functions and maybe they will be the keys of the rest functions . 1 – void AddItem(LPCTSTR Item, const VARIANT& index) to add new rwo BUT HOW??? 2 - long GetRowData(long index) to get data from specific row BUT HOW??? I put this qustion befor and one told me look for (MsFlxGrd.hlp) I tried to find it but there is no file like this Thank you very much … AHMAD ALWASHALI

        C Offline
        C Offline
        Carlos Antollini
        wrote on last edited by
        #3

        AddItem insert the text in the FixedRow for example: AddItem("nnnn", 2) insert the text in the second row of the fixed column If you want to insert data in a FlexGrid you need to set teh Row (SetRow), then the column (SetCol) and then SetText for insert the text in that Row and column. If you need to read you can use the function GetText. Good Luck Carlos Antollini.

        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