|
-
Apr 30th, 2005, 02:17 AM
#1
Thread Starter
Fanatic Member
fast round windows in Win32
Hello -
recently I have been trying to use round windows for an application.
These must be moved, but do not have to be resized.
Unfortunately, I have tried a few ways and they all seem to be VERY slow at rendering the window whenever I move it.
Both CRgn (MFC) and HRGN (using CreateEllipticRegion() and SetWindowRgn()) are way to slow for my use. If I just have a 200x200 box, keeping it rectangle, it's fine.
So, is there a faster way to have transparent space?
Or even is there a way which I can control which pixels get drawn and which do not? The windows are only 200x200, so just looping and calculating where to start and end the loop will make it < 40000 calculations, which is fast enough easily.
Thanks for your help.
sql_lall 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|