+ 5

Unable to paint Child Windows Properly...

I have a code for creating a simple Calculator, using Win32API : https://code.sololearn.com/cwL1Kr251R5U/#cpp On running the code, however, only the Label Box ( the window with ID = ID_LBL ) gets painted. In my WM_CREATE message, I have used CreateWindow(), and the Numbers and Operator buttons are child classes for the main App window. Then, why am I not able to see the other puttons being printed on the screen? I tried replacing CreateWindow() with CreateWindowEx(), but I get the same output problem. Another thing, is there a way to increase the font size of the text contained in these child windows?

26th Sep 2017, 10:44 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
2 odpowiedzi
+ 5
@kurwius That worked. Thank You. Silly me, I couldn't see such an error.
26th Sep 2017, 11:52 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar