Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Registry problems. Pin
Roger Wright (new)31-Dec-01 14:25
Roger Wright (new)31-Dec-01 14:25 
QuestionSTL and member functions ??? Pin
Christian Graus30-Dec-01 15:17
protectorChristian Graus30-Dec-01 15:17 
AnswerRe: STL and member functions ??? Pin
Todd Smith30-Dec-01 20:39
Todd Smith30-Dec-01 20:39 
GeneralRe: STL and member functions ??? Pin
Christian Graus31-Dec-01 1:20
protectorChristian Graus31-Dec-01 1:20 
GeneralThis is what I'm trying to achieve... Pin
Christian Graus31-Dec-01 1:24
protectorChristian Graus31-Dec-01 1:24 
GeneralRe: This is what I'm trying to achieve... Pin
Tim Smith31-Dec-01 2:25
Tim Smith31-Dec-01 2:25 
GeneralRe: This is what I'm trying to achieve... Pin
Christian Graus31-Dec-01 10:24
protectorChristian Graus31-Dec-01 10:24 
AnswerRe: STL and member functions ??? Pin
Alexander Berthold31-Dec-01 2:01
Alexander Berthold31-Dec-01 2:01 
Create a from std::unary_function derived helper class then it should work. For map for_each functors, it should look like this, remember the first pair argument must be const (i think). I assume your maps' pairs' first argument is an int.

class hidewindow_functor : public std::unary_function< std::pair<int const,CWnd*>, void>
{
public:
void operator() (std::pair<int const,CWnd*>& target) const
{
target.second->ShowWindow(SW_HIDE);
}
};

Cheers,
Alexander Berthold
GeneralRe: STL and member functions ??? Pin
Christian Graus31-Dec-01 10:35
protectorChristian Graus31-Dec-01 10:35 
QuestionCListCtrl - header notification ??? Pin
Christian Graus30-Dec-01 15:13
protectorChristian Graus30-Dec-01 15:13 
AnswerRe: CListCtrl - header notification ??? Pin
Michael Dunn30-Dec-01 19:20
sitebuilderMichael Dunn30-Dec-01 19:20 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus31-Dec-01 1:05
protectorChristian Graus31-Dec-01 1:05 
GeneralRe: CListCtrl - header notification ??? Pin
Michael Dunn31-Dec-01 7:33
sitebuilderMichael Dunn31-Dec-01 7:33 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus1-Jan-02 0:59
protectorChristian Graus1-Jan-02 0:59 
GeneralRe: CListCtrl - header notification ??? Pin
Jonas Larsson1-Jan-02 23:20
Jonas Larsson1-Jan-02 23:20 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus2-Jan-02 0:14
protectorChristian Graus2-Jan-02 0:14 
GeneralRe: CListCtrl - header notification ??? Pin
Jonas Larsson2-Jan-02 0:36
Jonas Larsson2-Jan-02 0:36 
GeneralRe: CListCtrl - header notification ??? Pin
Jonas Larsson4-Jan-02 4:26
Jonas Larsson4-Jan-02 4:26 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus4-Jan-02 10:36
protectorChristian Graus4-Jan-02 10:36 
AnswerRe: CListCtrl - header notification ??? Pin
Fazlul Kabir4-Jan-02 5:23
Fazlul Kabir4-Jan-02 5:23 
GeneralRe: CListCtrl - header notification ??? Pin
Fazlul Kabir4-Jan-02 5:34
Fazlul Kabir4-Jan-02 5:34 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus4-Jan-02 10:34
protectorChristian Graus4-Jan-02 10:34 
GeneralRe: CListCtrl - header notification ??? Pin
Fazlul Kabir4-Jan-02 10:48
Fazlul Kabir4-Jan-02 10:48 
GeneralRe: CListCtrl - header notification ??? Pin
Christian Graus4-Jan-02 11:12
protectorChristian Graus4-Jan-02 11:12 
GeneralRe: CListCtrl - header notification ??? Pin
Fazlul Kabir4-Jan-02 12:45
Fazlul Kabir4-Jan-02 12:45 

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.