It was a problem with my callback method. It was set to return 0;. I changed it as follows, and then it worked: static LRESULT CALLBACK WndProc(HWND hWnd, ... ... <看更多>
Search
Search
It was a problem with my callback method. It was set to return 0;. I changed it as follows, and then it worked: static LRESULT CALLBACK WndProc(HWND hWnd, ... ... <看更多>
Creating a window with CreateWindowEx (A or W) always returns a null version of ?HWND, but apparently still successfully creates a window, ... ... <看更多>