I recently got in to programming Win32 apps in C++. I am very new to this. I understand the basics, but there are a few things I used to do in VB that I would like to do in C++.

For example:

I want to have a window that I can use FillRgn and FrameRgn on. In VB, I could simply set the AutoRedraw to True. Is there an equivalent window style to use in C++?

Also, does UpdateWindow(hwnd) perform the same function as Me.Refresh?

Any help would be greatly appreciated.