15,912,507 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 Walt Hamilton (Top 7 by date)
Walt Hamilton
8-Jul-15 23:08pm
View
Thanks so much. It will be a day or two before I can get back to this project to test it, but it looks good.
For anybody that is following this thread, a pictureBox with a transparent background and a transparent picture is transparent to the background of the form when moved across it. The problem is that when it is moved across some other control, the transparent part of the picture reverts to the background color of the form, ignoring anything else it passes over.
Thanks again, I'll try it and let you know.
Walt Hamilton
6-Jul-15 22:08pm
View
Ralf,
Thanks for answering my question. I'm not married to any certain format for the picture. Gif, Png, Jpeg all allow for transparencies. The problem is not with the picture; it is that whether I put it in a pictureBox, a Button, or a Label doesn't seem to matter. Even with the background of the container set to transparent, .Net defines transparent as statically adopting the color of where it opens, and never changes. I wonder if it is possible to have a dynamic transparency (one that always shows what is behind it, even while it is moving across the screen in front of other objects.)
Again, thanks for at least answering my question.
Walt Hamilton
5-Jul-15 18:58pm
View
What I meant was that because I didn't know that the correct term is "WindowsForms instead of "Windows Forms", the system wouldn't let me tag my post, and now I am looked down on.
Thank you for the suggestion to try VB.net. It sounds like someone over there may know if there is a way to drag my cow (irregular shaped object) around the screen without dragging a rectangle of color with her? I can drag her, I just don't want her to cover up everything she crosses, and still be in front when she is dropped.
I don't care if Visual Basic is the worst language to use for .NET. It is the one I know best, and if the .NET framework will run it,I don't want to learn another one.
Walt Hamilton
5-Jul-15 18:52pm
View
Seriously. I am NOT a software engineer, which may explain why I don't want to have to learn a new language. Forgive me for thinking that the VB in VB.NET stands for Visual Beginners All-purpose Symbolic Instruction Code (BASIC). I am a poor ignorant teacher that wants to create a Windows Form for my students. What I really want to know is: Is there a way to drag my cow (irregular shaped object) around the screen without dragging a rectangle of color with her? I can drag her, I just don't want her to cover up everything she crosses, and still be in front when she is dropped.
Walt Hamilton
4-Jul-15 19:05pm
View
Thanks. Some of these forums are so difficult to navigate until you learn the magic keywords (like using WindowsForms, instead of Windows Forms.)
To answer your question, I'd use CowMilker.Net, if it would do what I need done. :) Actually, I want to code it in Basic, rather than have to learn another language. Any help would be appreciated.
Walt Hamilton
4-Jul-15 14:54pm
View
It is a windows forms application, but this system won't let me tag it that way.
Walt Hamilton
4-Jul-15 13:24pm
View
Sergey,
Sorry, I'm new here, and don't know the secret handshakes yet. I'm just trying to do a simple thing in Visual basic, using VS 2015 and .Net.
I've tried all kinds of suggested ways to make backgrounds transparent, but they are all static (that is, they set the background to the form background), but I need a dynamically transparent background. I've tried them on labels, picture boxes, buttons. I've tried codes that go in the constructor to make transparent backgrounds, I've tried codes to change the parent, to override the drawing and re-drawing, and it seems like of dozens of trivial and non-trivial suggestions.
All I want is to drag the cow and not have a whole rectangle of background following her. I agree with you, it seems like it should be trivial, but if this question has been asked on any forum I can find, I can't even come up with the right keywords to find it.
Any help would be appreciated.
Show More