Click here to Skip to main content
16,005,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: STL from MS oder SGI? Pin
Christian Graus24-Feb-02 15:54
protectorChristian Graus24-Feb-02 15:54 
GeneralRe: STL from MS oder SGI? Pin
Travis D. Mathison24-Feb-02 16:06
Travis D. Mathison24-Feb-02 16:06 
QuestionCFileDialog and printing different views? Pin
Craig Miller24-Feb-02 13:06
Craig Miller24-Feb-02 13:06 
AnswerRe: CFileDialog and printing different views? Pin
Roger Allen25-Feb-02 3:16
Roger Allen25-Feb-02 3:16 
GeneralRe: CFileDialog and printing different views? Pin
Craig Miller25-Feb-02 12:03
Craig Miller25-Feb-02 12:03 
GeneralOpenGL with MDI application Pin
Rajveer24-Feb-02 10:58
Rajveer24-Feb-02 10:58 
GeneralRe: OpenGL with MDI application Pin
Derek Waters24-Feb-02 11:46
Derek Waters24-Feb-02 11:46 
QuestionSubclassing...?? Pin
alex.barylski24-Feb-02 9:35
alex.barylski24-Feb-02 9:35 
When subclassing controls is it posible to use a classes member function as the message handler procedure...?

class MyClass : public CWnd
{
  MyHandler() { /* code */ }
  OnCreate()
  { 
    WNDCLASS wc;
    wc.lpfnWndProc = MyHandler;

    HWND hwnd = CreateWindow(blah);
  }
}


The above method didn't work for me, I haven't yet tried actually subclassing using SetWindowLong() but I can't see this working either.

Anybody have any idea's...?

Cheers! Smile | :)



"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
AnswerRe: Subclassing...?? Pin
Steen Krogsgaard24-Feb-02 10:14
Steen Krogsgaard24-Feb-02 10:14 
GeneralRe: Subclassing...?? Pin
alex.barylski24-Feb-02 14:49
alex.barylski24-Feb-02 14:49 
GeneralRe: Subclassing...?? Pin
Jeremy Falcon24-Feb-02 15:26
professionalJeremy Falcon24-Feb-02 15:26 
AnswerRe: Subclassing...?? Pin
Paul M Watt24-Feb-02 15:33
mentorPaul M Watt24-Feb-02 15:33 
GeneralCreating 256-color icons Pin
Kei24-Feb-02 9:36
Kei24-Feb-02 9:36 
GeneralRe: Creating 256-color icons Pin
Paul M Watt24-Feb-02 15:20
mentorPaul M Watt24-Feb-02 15:20 
GeneralPrinting hex using std::ofstream Pin
nay24-Feb-02 9:36
nay24-Feb-02 9:36 
GeneralRe: Printing hex using std::ofstream Pin
Paul M Watt24-Feb-02 15:40
mentorPaul M Watt24-Feb-02 15:40 
GeneralCTreeCtrl and SetCheck Pin
Matt Gullett24-Feb-02 9:15
Matt Gullett24-Feb-02 9:15 
GeneralRe: CTreeCtrl and SetCheck Pin
Derek Waters24-Feb-02 11:48
Derek Waters24-Feb-02 11:48 
GeneralRe: CTreeCtrl and SetCheck Pin
Matt Gullett24-Feb-02 13:05
Matt Gullett24-Feb-02 13:05 
GeneralRe: CTreeCtrl and SetCheck Pin
Ken Goguen26-Feb-02 9:01
Ken Goguen26-Feb-02 9:01 
GeneralRe: CTreeCtrl and SetCheck Pin
Carlos Antollini26-Feb-02 9:25
Carlos Antollini26-Feb-02 9:25 
QuestionAnsiString searching? Pin
Steven Richardson24-Feb-02 9:05
Steven Richardson24-Feb-02 9:05 
AnswerRe: AnsiString searching? Pin
Orbital^25-Feb-02 3:29
Orbital^25-Feb-02 3:29 
GeneralToken and parsing Pin
HomeNuke24-Feb-02 8:47
HomeNuke24-Feb-02 8:47 
GeneralRe: Token and parsing Pin
Orbital^25-Feb-02 3:27
Orbital^25-Feb-02 3:27 

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.