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
K

Ken Goguen

@Ken Goguen
About
Posts
14
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CSliderCtl and Arrow Keys?
    K Ken Goguen

    Seems to work well. Thanks, -kg Ken Goguen

    C / C++ / MFC

  • CSliderCtl and Arrow Keys?
    K Ken Goguen

    Is there an easy way to have the CSliderCtl behave the same way when you use the arrow keys as it does when you click/drag it with the mouse? It moves the slider up and down, but how do I trap the message, the CSliderCtl only sends NM_OUTOFMEMORY, NM_RELEASEDCAPTURE, and NM_CUSTOMDRAW. I want the arrow keys to perform the same tasks I do when I handle the M_RELEASEDCAPTURE message. Ken Goguen

    C / C++ / MFC

  • CTreeCtrl and SetCheck
    K Ken Goguen

    I had the same problem Do a search on "Check boxes in CTreeCtrl" and take a look at the second reply from Tomasz Sowinski. This corrected my problem. -kg Ken Goguen

    C / C++ / MFC

  • Editing CListCtrl item
    K Ken Goguen

    Sometimes we over look the simple things. Thanks. -kg Ken Goguen

    C / C++ / MFC

  • Editing CListCtrl item
    K Ken Goguen

    I have a simple CListCtrl that allows the user to edit the item (0). To do this the user needs to click on the item once or twice to get into "Edit" mode. Is there a way to allow the user other ways to get into edit mode? Like pressing the right arrow key (VK_RIGHT) or something? -kg Ken Goguen

    C / C++ / MFC

  • Disable/Enable OK on propertysheet
    K Ken Goguen

    Thanks. -kg Ken Goguen

    C / C++ / MFC

  • Disable/Enable OK on propertysheet
    K Ken Goguen

    Can anyone tell me how to enable/disable the ok button on a property sheet? I want to have the button disabled until the user enter all the required information, then enable it. -ken Ken Goguen

    C / C++ / MFC

  • Vertical PropertySheet Tab Labels
    K Ken Goguen

    I've successfully modifyied my PropertySheet to use vertical tabs rather the top/horizontal default tabs. The only problem is the tab labels are displayed horizontal instead of vertical. How can I make them vertical? -ken Ken Goguen Principle Design Engineer EMC Corporation

    C / C++ / MFC

  • Strange CTreeCtrl behavior
    K Ken Goguen

    I simplified as follows and it seems to have done the trick. Thanks. HTREEITEM hTreeItem = pMyTree->InsertItem(_T(buffer),0,0,NULL, TVI_LAST); :-D -kg Ken Goguen Principle Design Engineer EMC Corporation

    C / C++ / MFC

  • Strange CTreeCtrl behavior
    K Ken Goguen

    There is additional code that adds the other nodes, but using message windows I've been able to determine that the expand problem occurs on the first insert. Only using the overload as it was part of an old example I began with. Do you think this could be part of the problem? -kg Ken Goguen Principle Design Engineer EMC Corporation

    C / C++ / MFC

  • Strange CTreeCtrl behavior
    K Ken Goguen

    Good practice, but didn't resolve the problem. -kg Ken Goguen Principle Design Engineer EMC Corporation

    C / C++ / MFC

  • Strange CTreeCtrl behavior
    K Ken Goguen

    I have a strange one. I have my own CTreeCtrl for doing multi-select. When build/run a debug version it works just fine. When I build/run a release version, my tree nodes get populated, but I do not see any + on the parent nodes and cannot expand them to see the children. But I can do all that in the debug version without a problem. Any Ideas? :eek: -kg // *** TreeView CMulSelTreeCtrl* pMyTree = (CMulSelTreeCtrl*) GetDlgItem(IDC_TREE1); ASSERT(pMyTree != NULL); pMyTree ->DeleteAllItems(); pMyTree ->ModifyStyle(NULL, TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT | TVS_SHOWSELALWAYS); // Associate the image list with the tree control. pMyTree ->SetImageList(pilMyTree, TVSIL_NORMAL); TVINSERTSTRUCT tvInsert; tvInsert.hParent = NULL; tvInsert.hInsertAfter = NULL; tvInsert.item.mask = TVIF_TEXT | TVIF_CHILDREN; // *** TreeView tvInsert.item.pszText = _T(buffer); HTREEITEM hTreeItem = pMyTree ->InsertItem(&tvInsert); Ken Goguen Principle Design Engineer EMC Corporation

    C / C++ / MFC

  • CTreeCtrl multiselect?
    K Ken Goguen

    Found it. Thanks Tomasz. Ken Goguen Principle Design Engineer EMC Corporation

    C / C++ / MFC

  • CTreeCtrl multiselect?
    K Ken Goguen

    Can anyone tell me how to implement multi-selection with the CTreeCtrl? I'm a bit green with MFC and doesn't appear obvious to me. :confused: Principle Design Engineer EMC Corporation

    C / C++ / MFC
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups