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 cell 0,0 (row=0,col=0) selection problem

Flexgrid cell 0,0 (row=0,col=0) selection problem

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

    I am building an application in which i want to show the back ground of selected cell in a different color say red. i have used onLeave and OnEnter events of the grid to achieve that. in the onleave event handler i change the background of old selected cel to white and in the onenter i change the bkcolor of cell to red. so the bkcolor of cell left is changed to white as needed and the cell to which user is moving becomes red. but this cell bkground is not set if the first selection by the user is cell(0,0) it works fine unless the first selection by the user is not cell(0,0) if user select cell(0,0) as first selection then its color is not changed. but if the user selects some other cell then its color is changed and selecting now cell(0,0) also changes its bkcolor.

    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