+ 4
I need information in C++
Can anyone tell me how to create windows without frames in C++, i mean, i just wanna create a shape... like the ones u get for pc in www.get-xmas.com
4 Réponses
+ 3
Hey guy.. I found the answer to my question long ago.. but today i was passing by here and I just wanna finish what I started, so I will post some links with the answer to this question:
1) check this explanation... you will learn what its needed to create a shaped window:
http://www.codeguru.com/cpp/w-d/dislog/non-rectangulardialogs/article.php/c5037/Creating-Shaped-Windows-Using-Regions-with-Win32.htm
2) then check this one, it's an improved version. much more complex but nicer:
http://www.codeguru.com/cpp/w-d/dislog/non-rectangulardialogs/article.php/c5021/Rendering-a-Region-Dialog-From-a-BMPJPEG.htm
*******************
Well, you can find the source files of both projects in there, as well as the executable file so you can run it in your pc.
thats all. cya around.
+ 3
you answerd your own question i think you can get a badge for that😂
im glad you found the answer eventually
i think questions can be misinterpreted somtimes and answerd incorrectly and for a beginner it be very misleading.
+ 1
C++ is not usually used to creat such shapes. for example the one on www.get-xmas.com is probably created using JavaScript
+ 1
I refuse to believe i cant do it in C++, there must be a way...
for example i found out it can be made in Java:
https://stackoverflow.com/questions/21581671/how-to-make-jframe-background-and-jpanel-transparent-with-only-image-showing/21581867#21581867
I really would like to do it in c++.