5.7.3 Setting the Class Icon

To set the class icon, add the following statement to the initialization function in the C-language source file:

wc.hIcon = LoadIcon(hinst, "MyIcon");