FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
Dobbs M-Dev
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
March 01, 2003

Adapting Win32 Enumeration APIs to STL Iterator Concepts

(Page 4 of 13)
Adapting Win32 Enumeration APIs to STL Iterator Concepts

Listing 10 Extract from REGTREE

void FillLevel(HWND hwndKeys, HTREEITEM hParent, reg_key_a const &key)
{
  reg_key_sequence_a                  keys(key);
  reg_key_sequence_a::const_iterator  begin   =   keys.begin();
  reg_key_sequence_a::const_iterator  end     =   keys.end();

  for(; begin != end; ++begin)
  {
    reg_key_a key   = *begin;
    HTREEITEM hItem = InsertItem(hwndKeys, hParent, key);

    FillLevel(hwndKeys, hItem, key);
  }
}

Previous Page | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 Next Page
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK