arbitrary shaped windows
all of us have seen those nice shaped windows that are not plain rectangular but polygon shaped.
i was wondering how to do those... there doesn''t seem to be an api function, so do you need a special library for that?
thanks
ridcully
To do this you need to create a region and then call setregion on the window you want to change the shape of.
Torval
Torval
umm, perhaps i should first have looked into the documentation.
the function i was searching is SetWindowRgn.
doh, there really was an api function...
the function i was searching is SetWindowRgn.
doh, there really was an api function...
Make sure you follow the warnings closely... if the variable defining your region is not a global or class member variable that stays resident, you could wind up with some serious problems.
-fel
-fel
i hate those wonky shaped windows...they just slow down shit...dragging em about takes ages and they look...wrong!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement