I would like to know how to open an image without having a window open, so its like the the image is floating on my desktop with no border. thanks
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What you want to do is to draw an image on the screen without a visible window border around it. Whether a window will be created is a totally different question. And as it turns out, you have to have a window. It just won’t be visible. So:
Create a window, making sure to set the following in
InitializeComponent():Then, override
OnPaintBackgroundfor that window, as follows: