Thread: classmember WndProc isn't called ...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    67
    OK folks, I got it working !

    Now I'm very delighted and can go on ...

    Hmmm ..., what the error was ? You won't believe it, but I'll tell you what went wrong ...

    The static classmember static LRESULT CALLBACK stWndProc(HWND, UINT, WPARAM, LPARAM) was never called, because of the window style of the create window.
    WS_CHILD | WS_POPUP is an invalid combination, that's all of the secret.

    So, excluding the WS_POPUP style from the window will make it a lot easier ...
    (Sometimes I can't see the wood for the trees ... )

    Thanks to all for help ! ! !


    Greetz
    Greenhorn

    EDIT:
    @Boardteam
    I'm notable to edit my first post, so please, it would be nice if you can set the prefix [SOLVED] to the thread title.
    Last edited by Greenhorn__; 07-19-2008 at 11:55 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Destructor being called on SGI hash_map key
    By cunnus88 in forum C++ Programming
    Replies: 4
    Last Post: 02-11-2009, 12:05 AM
  2. Replies: 4
    Last Post: 09-21-2008, 02:27 PM
  3. when is the constructor of a global object called??
    By mynickmynick in forum C++ Programming
    Replies: 6
    Last Post: 08-28-2008, 04:57 AM
  4. WNDPROC type
    By Garfield in forum Windows Programming
    Replies: 5
    Last Post: 01-17-2002, 10:32 PM
  5. Putting WndProc into a class?
    By Eber Kain in forum Windows Programming
    Replies: 3
    Last Post: 12-13-2001, 06:46 PM