Hi, I have a program that's really simple, it just creates a window and fills the screen with the color red. It does this by having a global HBITMAP that is defined in a function that uses CreateBitmap() in my WinMain() function and it is also called when handling the WM_SIZE message. Now, I've made workarounds for this that are simple and only really involve removing the call to CreateBitmap(). Now, I'm not entirely familiar with structs and am VERY new to windows programming, and I'm not sure if I have to free up the space formerly used by the HBITMAP before creating a new one. I would have thought that some sort of garbage collection would take care of this for me? Any thoughts are appreciated.