Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pierreb

    SetItem in multiselection and onwerdraw

    I created a ownerdraw, Report style, CExListCtrl. This class is derived from CListCtrl (MFC). I have overwritten OnKeyDown (and more) to catch key strokes and mouse button clicks. I'm using OnKeyDown to catch all navigating keyhits (arrow keys, pageup, pagedown, ...). The ExListCtrl displays...
  2. pierreb

    LVIS_FOCUSED and LVIS_SELECTED

    hello, If You Use GetItemState (nItem, nState, nStateMask) the return value is the state of the item / subitem. If you set the state LVIS_SELECTED | LVIS_FOCUSED you should get the value 3 (LVIS_SELECTED = 2 and LVIS_FOCUSED = 1). Use lvItem.State & LVIS_FOCUSED or lvItem.State & LVIS_SELECTED...

Part and Inventory Search

Back
Top