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. Editing treeview in win32 dialog closes dialog

Editing treeview in win32 dialog closes dialog

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

    Hi Here is my problem: I have a Win32 application (no MFC) and want to allow the user to edit some options in a treeview inside a dialog. But when the user edits an option in the treeview, the dialog closes as soon as a key is pressed. The treeview has EDITLABELS on, it is possible to begin editing (TVN_BEGINLABELEDIT Notify is sent to the dialog) but as soon as an editing key (letters, numbers but not arrows)is pressed the dialog closes (TVN_ENDLABELEDIT is sent). And the application doesn't close. The solution is probably simple but I cannot see where the problem comes from. Any help would be great. Thank you in advance Ben.

    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