How to create images on desktop
Blitz3D Forums/Blitz3D Programming/How to create images on desktop
| ||
Please, someone tell me how the heck to put images on the desktop. |
| ||
http://www.blitzbasic.com/codearcs/codearcs.php?code=1185 Maybe this could be useful |
| ||
You can only do it on blitz plus using DesktopBuffer(). I think... :D |
| ||
If you just want an image on the desktop do it through windows. Right click on the desktop, select properties. then background and browse for the image you want. Maybe I dont understand your question. lol. |
| ||
Kip so far is the only one who has answered the question. The other two have just told how to change the wallpaper. That is no where near what sniper_boy147 is asking. Or maybe sniper_boy147 isn't being specific. |
| ||
Kip so far is the only one who has answered the question. Except he was wrong. The other two have just told how to change the wallpaper. Degac's answer is what I would have posted. That is no where near what sniper_boy147 is asking. Or maybe sniper_boy147 isn't being specific. Let me get this straight - you've marched in here and had a go at everybody for not giving the right answer, yet in the same breath you admit you don't even know what the question is?Your answer to this thread is even more useless than Kip's. Just like mine is. |
| ||
Mine's more useless. Horsepaper. |
| ||
I think he want to draw directly to the desktop. THis isn't posible, but there's a trick to do as if you could do that: First capture the desktop as an image. THere are two methods in the code archive, one is a little slower, but more compatible. If you once got the desktop image, gather the desktop resolution useing system metrics (actually you need to get the size before you capture the image :), but anyhow...). THen switch to fullscreen in this resolution and continously draw the desktop image to the screen, plus your images onto. You may also use Showwindow hwnd,0 to hide the blitz window before you capture the desktop. IT's a good exercice to learn about simple win api useribs calls. Note with this trick the desktop is no longer active! It's only fake! |
| ||
Thanks anyway for your posts, I think i'll go with Kips idea that you can only do it on blitz plus. |
| ||
Thanks anyway for your posts, I think i'll go with Kips idea that you can only do it on blitz plus. Ha. =) |
| ||
You can load images and draw them onto the desktop with api calls. You need to supply an .bmp image name and use the userlib decls at the bottom of the code: |