Click here to Skip to main content
15,901,035 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Confused on UISetRadio() Pin
Michael Dunn7-Apr-03 7:48
sitebuilderMichael Dunn7-Apr-03 7:48 
GeneralRe: Confused on UISetRadio() Pin
Tommy2k10-Apr-03 7:03
Tommy2k10-Apr-03 7:03 
GeneralRe: Confused on UISetRadio() Pin
Michael Dunn3-May-03 12:54
sitebuilderMichael Dunn3-May-03 12:54 
Generalfor_each / accumulate Pin
Chris Losinger5-Apr-03 10:03
professionalChris Losinger5-Apr-03 10:03 
GeneralRe: for_each / accumulate Pin
valikac6-Apr-03 6:47
valikac6-Apr-03 6:47 
GeneralRe: for_each / accumulate Pin
Zdeslav Vojkovic7-Apr-03 23:36
Zdeslav Vojkovic7-Apr-03 23:36 
GeneralRe: for_each / accumulate Pin
jbarton10-Apr-03 2:34
jbarton10-Apr-03 2:34 
GeneralCListCtrl as STL container Pin
Chris Losinger4-Apr-03 4:04
professionalChris Losinger4-Apr-03 4:04 
has anyone ever seen a wrapper for a list control or tree control that can act as an STL container?

i'm dealing with a CListCtrl right now, and i noticed that it would be great to be able to do something like:

foreach(m_listCtrl.begin(), m_listCtrl.end(), do_something_with_selected_items);


or, to load items:

m_listCtrl.insert(lvitem);
m_listCtrl.push_back(lvitem);


you could treat a list control as a vector. and you could treat a CTreeCtrl as a tree (duh) of some kind. maybe you could sort the list control with std::sort, etc..

i don't need this functionality, i just thought it would be a really slick bit of code.

-c



Image tools: ThumbNailer, Bobber, TIFFAssembler
GeneralRe: CListCtrl as STL container Pin
Joaquín M López Muñoz4-Apr-03 4:14
Joaquín M López Muñoz4-Apr-03 4:14 
GeneralRe: CListCtrl as STL container Pin
Chris Losinger4-Apr-03 4:25
professionalChris Losinger4-Apr-03 4:25 
GeneralRe: CListCtrl as STL container Pin
Nick Parker4-Apr-03 4:38
protectorNick Parker4-Apr-03 4:38 
GeneralRe: CListCtrl as STL container Pin
Chris Losinger4-Apr-03 4:52
professionalChris Losinger4-Apr-03 4:52 
GeneralRe: CListCtrl as STL container Pin
Neville Franks12-Apr-03 12:13
Neville Franks12-Apr-03 12:13 
GeneralCustom property pages for device manager using WTL Pin
NarayanaRajaniX3-Apr-03 17:31
NarayanaRajaniX3-Apr-03 17:31 
QuestionHow to create Transparent Bitmap? Pin
jkav3-Apr-03 16:43
jkav3-Apr-03 16:43 
AnswerRe: How to create Transparent Bitmap? Pin
Ed Gadziemski7-Apr-03 4:56
professionalEd Gadziemski7-Apr-03 4:56 
Generalusing cin.getline() with string Pin
Luis E. Cuadrado3-Apr-03 2:47
Luis E. Cuadrado3-Apr-03 2:47 
GeneralRe: using cin.getline() with string Pin
valikac3-Apr-03 13:31
valikac3-Apr-03 13:31 
GeneralRe: using cin.getline() with string Pin
Luis E. Cuadrado4-Apr-03 1:55
Luis E. Cuadrado4-Apr-03 1:55 
GeneralRe: using cin.getline() with string Pin
Joaquín M López Muñoz4-Apr-03 2:33
Joaquín M López Muñoz4-Apr-03 2:33 
GeneralRe: using cin.getline() with string Pin
Luis E. Cuadrado4-Apr-03 5:34
Luis E. Cuadrado4-Apr-03 5:34 
GeneralSTL Fix Pin
Derek Lakin30-Mar-03 21:51
Derek Lakin30-Mar-03 21:51 
GeneralRe: STL Fix Pin
jhwurmbach30-Mar-03 22:28
jhwurmbach30-Mar-03 22:28 
GeneralRe: STL Fix Pin
Derek Lakin30-Mar-03 23:52
Derek Lakin30-Mar-03 23:52 
GeneralRe: STL Fix Pin
Derek Lakin31-Mar-03 2:03
Derek Lakin31-Mar-03 2:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.