15,902,198 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Hanson Cheng (Top 7 by date)
Hanson Cheng
18-Mar-11 1:29am
View
Thank you everybody who worked on this question!
Hanson Cheng
17-Mar-11 1:34am
View
Actually it's not a music player, it is a free software for learning English vocabulary. It shows the words and sample sentences on desktop and play the audio. There is a timer to control how often the word and sentence will be changed, ect. I want to improve the dispaly effection for current version. Most of the current users are still using .net 2.0 on Windows XP.I need a main upgrade if I use WPF, it's also new to me. More than 20000 users have instaleld the software, but not too many people use it every day. I will say about 600 users run it today.
I am not a professional programer, I just do this in my spare time.
You see I have no problem drawing the string on the form or label, but the difficult part is making the form transparent to the desktop and keep the string beautiful. Since the string need be moved around, I don't think capture the back image and draw it under the string is a good idea. It will make it flashing when move it.
I tird to find an article about this but only find one writing in c++.
I really appreciate you spend your time on my question. Thank you!
Hanson Cheng
17-Mar-11 0:49am
View
Deleted
I found very similar example using c++ . You can download and run it, it's very small application, but exactly what I need.http://www.codeproject.com/KB/GDI-plus/DesktopLyrics.aspx
The problem for me now is I am not familiar with C++. If somebody can translater it to c#, that will be perfect solution for me. Thanks a lot in advance!
Hanson Cheng
17-Mar-11 0:38am
View
Thank you for replay. But WPF needs .net 3.0, my current application is running on .net 2.0.
Hanson Cheng
17-Mar-11 0:30am
View
You can download and run it, it's very small application, but exactly what I need. The problem for me now is I am not familiar with C++.
http://www.codeproject.com/KB/GDI-plus/DesktopLyrics.aspx
Hanson Cheng
16-Mar-11 22:56pm
View
I found this article "Desktop Lyrics"excactly doing the same thing. http://www.codeproject.com/KB/GDI-plus/DesktopLyrics.aspx But it is written by c++. I noticed ths steps:
1. Create a compatible bitmap.
2. Draw on the bitmap.
3. Draw bitmap on the device content.
4. Invoke the UpdateLayeredWindows().
Then I found UpdateLayeredWindows maybe the API I need. Then I googled and found this article http://www.vcskicks.com/splash-screen.php. So I start to study both the article.
I believe this is the direction I should go.
Hanson Cheng
16-Mar-11 11:33am
View
Thank you for your explanation. "Use the control, and in its Paint (or OnPaint) draw your 2 layers: background picture first, you semi-transparent layer with text second." Actually I tried this before, the problem I met is to draw the background picture I need capture the image underneath first. I tried using "opacity=0" first then capture the image covered by the container form, but this way made flashing when I move the text around the screen. Is there any other way I can capture the image underneath?
Show More