MoveWindow
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi Friends In my program i create a window which show irregular shape draw in OnPaint. While moving using MoveWindow, background is also moving with irregular shape. How to overcome this problem. Please help me!. Thanks in advance
-RisKhan-
RisKhan wrote:
i create a window which show irregular shape draw in OnPaint
If you paint irregular shapes in OnPaint, its not meaning that you are making the window shape irregular. The window will be rectangle. To make your window irregular in shape you have create a region of the shape you wanted and use
SetWindowRgn(..)
This will slove your problem.. Hope this'll help you..
Do your Duty and Don't expect the Result