Here:
That is what the classname is, and here:Code:wc.lpszClassName = "mycalss";
the classnames are different. i changed them, and it workedCode:winhwnd = CreateWindow("myclass", "the title", WS_OVERLAPPEDWINDOW, 0,0,34,34,NULL,NULL,hInstance,NULL);![]()




Reply With Quote