wc.hbrBackground=(HBRUSH) GetStockObject (WHITE_BRUSH);
I am having trouble understanding what this does. I know wc.hbrBackground is the window class and (HBRUSH) GetStockObject (WHITE_BRUSH); is getting assigned to the wc.hbrBackground. but what does the (HBRUSH) do? I believe (HBRUSH) is a structure but I haven't seen a structure accessed like that before. Thanks
Ryan