March 26th, 2014, 06:42 AM
What I want is, to do this in VC++ for a software. And in that software, that transparent thumbnail should be showed underneath the hovering thumbnail. Then all the other thumbnails(contents) which were below that thumbnail should automatically move to downside.
Please anyone know how to do that?
March 26th, 2014, 07:24 AM
1) by writing a lot of code.
2) per pixel Transparency is done either using GDI+ or by using the AlphaBlend() GDI function.
March 26th, 2014, 09:44 PM
By using Visual C++, you can use GDI+ or Direct2D to do this. But Direct2d need Windows 7 UP.
E-XD++ Visualization Kit at code-home.com
March 27th, 2014, 01:19 PM
A quick and easy solution would be using MouseMove() message handler to track hovering area and change respective image using memory dc and BitBlt and finally DrawText on desired location.
Basically this method requires, different state images to be supplied.
◄◄ hypheni ►►
March 27th, 2014, 02:07 PM
Yep, if you view source on the website, you can see that they are doing exactly that, i.e using two different images.
Originally Posted by hypheni
March 28th, 2014, 03:05 AM
I assume it is too hard to do it in an application using C++. So I change the mind to do an alternative thing instead of what i explained to do in the post.
Thanks for the all replies. Those helped to get some idea about this.
March 28th, 2014, 03:45 AM
Yes you need to have some grip on VC++ alnog with C++ to do this. And its quite possible to implement the same in desktop application.
◄◄ hypheni ►►
March 29th, 2014, 02:22 AM
Well, seems you give up too easy. There's nothing hard in doing this using C++. Start with a single thumbnail and understand the principle. Later you can expand your solution.
Originally Posted by jrmkr
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!