Set the class icon by adding the following statement to the initialization function in the C-language source file:
wc.hIcon = LoadIcon (hInstance, “MyIcon”);