Click here to Skip to main content
15,891,633 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionSet in Visual Studio 2005! Pin
SanjaySMK11-Dec-08 23:22
SanjaySMK11-Dec-08 23:22 
AnswerRe: Set in Visual Studio 2005! Pin
Stuart Dootson12-Dec-08 8:32
professionalStuart Dootson12-Dec-08 8:32 
QuestionWhy COM Pin
Varghese Paul M10-Dec-08 22:49
Varghese Paul M10-Dec-08 22:49 
AnswerRe: Why COM Pin
Stuart Dootson11-Dec-08 2:20
professionalStuart Dootson11-Dec-08 2:20 
QuestionRe: Why COM Pin
led mike11-Dec-08 5:03
led mike11-Dec-08 5:03 
QuestionPowerpoint Addin Using ATL (How do I deal with Events?) Pin
kalukaley10-Dec-08 8:14
kalukaley10-Dec-08 8:14 
QuestionHow to search elements in vector Pin
krishnakumartm10-Dec-08 0:12
krishnakumartm10-Dec-08 0:12 
AnswerRe: How to search elements in vector Pin
Michael Dunn10-Dec-08 9:22
sitebuilderMichael Dunn10-Dec-08 9:22 
Use a functor for that:
struct find_pid
{
  find_pid ( int pid ) : m_pid_to_find(pid) { }
  bool operator() ( const mystruct& s ) const { return m_pid_to_find == s.pid; }
protected:
  int m_pid_to_find;
};

vector<mystruct>::iterator i = std::find_if ( vectStruct.begin(), vectStruct.end(), find_pid(2) );


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! CP SearchBar v3.0 | C++ Forum FAQ

"That's what's great about doing user interface work. No matter what you do, people will say that what you did was idiotic." -- Raymond Chen

GeneralRe: How to search elements in vector Pin
krishnakumartm11-Dec-08 4:09
krishnakumartm11-Dec-08 4:09 
QuestionBHO question: context menu item with "dynamic" title Pin
Dmitry Khudorozhkov9-Dec-08 14:55
Dmitry Khudorozhkov9-Dec-08 14:55 
QuestionRe: BHO question: context menu item with "dynamic" title Pin
led mike10-Dec-08 4:51
led mike10-Dec-08 4:51 
QuestionControl being created with a valid DC but no window until a refresh is made Pin
TClarke9-Dec-08 0:06
TClarke9-Dec-08 0:06 
AnswerFixed it Pin
TClarke9-Dec-08 1:21
TClarke9-Dec-08 1:21 
Questionwin32 version of rand() ? Pin
Member 56966976-Dec-08 4:29
Member 56966976-Dec-08 4:29 
AnswerRe: win32 version of rand() ? Pin
Michael Dunn7-Dec-08 20:34
sitebuilderMichael Dunn7-Dec-08 20:34 
QuestionHow to use the Aggregate COM object in client application Pin
KASR14-Dec-08 23:28
KASR14-Dec-08 23:28 
QuestionHow to create composite control Pin
KASR12-Dec-08 18:57
KASR12-Dec-08 18:57 
AnswerRe: How to create composite control Pin
Stuart Dootson2-Dec-08 22:12
professionalStuart Dootson2-Dec-08 22:12 
GeneralRe: How to create composite control Pin
KASR13-Dec-08 0:30
KASR13-Dec-08 0:30 
QuestionGetting to Parent frame window from view Pin
rajas30-Nov-08 19:31
rajas30-Nov-08 19:31 
AnswerRe: Getting to Parent frame window from view Pin
Michael Dunn5-Dec-08 15:38
sitebuilderMichael Dunn5-Dec-08 15:38 
GeneralRe: Getting to Parent frame window from view Pin
rajas7-Dec-08 6:40
rajas7-Dec-08 6:40 
GeneralRe: Getting to Parent frame window from view Pin
Michael Dunn7-Dec-08 20:34
sitebuilderMichael Dunn7-Dec-08 20:34 
QuestionChanges in ATL Headers to make it DEP compatible on Win Vista Pin
dolly25-Nov-08 1:38
dolly25-Nov-08 1:38 
AnswerRe: Changes in ATL Headers to make it DEP compatible on Win Vista Pin
Jörgen Sigvardsson5-Dec-08 23:30
Jörgen Sigvardsson5-Dec-08 23:30 

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.