#494 ooDialog - ListView begin / end label editing events could be improved.

ooDialog.4.2.1
closed
ooDialog (102)
complete
1
2013-01-12
2012-11-03
No

The Windows events LVN_BEGINLABLEEDIT and LVN_ENDLABELEDIT give the programmer a lot of flexibility to control the label editing. However, with the old string orientated native APIs there was no way to take advantage of the flexibility.

The begin edit event allows the programmer to veto the editing before it even starts. In addition it allows the programmer to get the edit control that will be used for the editing and customize it like any normal edit control. Both of these features should be added.

The end edit event allows the programmer to veto the change to the label, even if the user does not cancel the editing. The current implementation changes the label without regard as to whether the change is reasonable. Vetoing the change should be allowed here.

Discussion

  • Mark Miesfeld

    Mark Miesfeld - 2012-11-03
    • status: open --> accepted
     
  • Mark Miesfeld

    Mark Miesfeld - 2012-11-03
    • pending_work_items: code+doc+test --> doc
     
  • Mark Miesfeld

    Mark Miesfeld - 2012-11-03

    Committed revision 8555. [r8555] implementation.

     

    Related

    Commit: [r8555]

  • Mark Miesfeld

    Mark Miesfeld - 2012-11-04

    Committed revision 8558. [r8558] Documentation.

     

    Related

    Commit: [r8558]

  • Mark Miesfeld

    Mark Miesfeld - 2012-11-04
    • status: accepted --> pending
    • pending_work_items: doc --> complete
    • milestone: ooDialog.4.2.0 --> ooDialog.4.2.1
     
  • Mark Miesfeld

    Mark Miesfeld - 2013-01-12
    • status: pending --> closed
     
  • Mark Miesfeld

    Mark Miesfeld - 2013-01-12

    This enhancement is available in the ooDialog 4.2.1 release.

     


Anonymous

Cancel  Add attachments