Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Making Picture Background Transperent


Well ive been making a sort of space, sort of cannon game, and i cant get rid of the black background on my pictures. Would anyone know how i could go about doing this. And if its with the transperent backround with the .gif s, could you plz explain how because i have no idea. thnx




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Transperent Background Images?
Allright, I play a game, and develop one too. Ive been trying to get in on helping make the game I play, So far ive made some graphic's for it. Ive been working on putting a neat program together that give's you the item name, and its stats. When u get to the image, it shows it on a character, but I need to now how i could make the background of the image transperent in Visual Basic's. Basicly when you scroll to let's say, *Dark Plate* It show's the appropriate image on a a Sprite. I need the "White" Background of the armor to be transperent, Any Idea's? Perhap's, i should make the image transperent in photoshop ect. 1st?

Thank's.


Sorry if it's complicated...Thats the way i work. ^^.

Making The Form Transperent
Hi,

I have a form and i want it to make it transperant, so that if i load a picture/Image it has to take the shape of the image.

Can anyone let me know as how to do it.


Thanks in advance.

Making A Background Picture Scroll With Out Flickering
Is there any way to stop a background picture from flickering?

I am tying to make a 2D shoot erm up online, but i can get the background to scroll.

View Here

Thanks for any help

****i See White Around My Picture. Can I Make This Transperent
i am making a game but when myplayer goes on the screen you see a big white square around him. This makes the backround look ****. can i make the white around the player transperent?

Making Image Background As Desktop Background Or Making It Blank
Hello there
I got typical situation here.I need to make an image background blank or making the Backgroung as desktop background. If u can give me some tips that would be appreciable.
thanks
ban

Making UserControl Background Transparent By Grabbing Container Background
Hi,
I want a usercontrol to grab a background of it's container and paint that over itself so that it appears transparent.

Here's the code snippet:

Code:
BitBlt hDC, 0, 0, ScaleWidth, ScaleHeight, GetDC(Parent.hwnd), Extender.Left, Extender.Top, vbSrcCopy

I can't seem to get that to happen. The usercontrol background instead displays what was in that place previously (e.g Desktop or VBIDE). Looks like that is because VB doesn't redraw area under the controls.

I searched the forum and didn't find anything I could or wanted to implement. For example, I don't want to use regions or GetPixel/SetPixel.

In case you wanted to take look at UserControl (although you probably won't find anything new) I am attaching it to this message.

Thanks,
Val

Code To Place A User Selected Picture As The Background Picture
This is an odd request. My company (in its infinite wisdom) has decided to automatically place the company logo as the background picture at network logon.

I'd like to write a little VB program that I could put in the Startup folder that would replace that with my selected picture automatically.

Any ideas on how to access the Windows Background property? Thanks.

Nate

Making RTB Background Transparent?
Is this possible?

Note: I'd have imgaes in the RTB as well as formated text.

Making Image1.Picture = A Picture From A Website
Is there anyway I can make, lets say, Picture1.Picture = http://www.asite.com/thepicture.gif ?

I don't know if I need to use Winsock or not, because there are also other controls out there to retreive things from the internet (or http servers sepcifically)

Any help appreciated.

Thanks in advance,
~S0RD3N

Making A Function Work In The Background
Alot of threads I have read trying to find information deal with getting a window that is out of focus and bringing it into focus and I need help with the reverse of that so to speak.


Here is an overview of what I am doing and all I wish is a point in the right direction.

I'm altering some IRC client code to make a simple racing game chat room using a private IRC channel with the freeware IRC server called BewareIRC.

The IRC client is a MDI main window and all other windows, chat, channel list are child windows.

Since the only channels that will be on this network will be those who have made rooms to match up for racing. I'm hoping to have an auto refresh of the channels for the players but I have run across a problem.


Right now I use the /list command and use a timer to send that automatically every 10 seconds. It works but here is the problem.

When it send the /list command it interrupts other functions. If I minimize it to do something, it pops the application back up when it send the command, if I'm typing in a chat window, if sends ther focus back to the list window.


My question is, what do I look into so I can try to get that function to work in the background and not interfere with other things.

thanks for any help

Making Background Color Transparent :)
THats what im asking. For example, with a TextBox. I want it to show just the text, but the background color should be nonexistant, thus showing the Form's BackGround Picture ^_^

Making A Program Run In Hidden In The Background
Hi,

How do I make a program run hidden in the background?? Can't figure out how to do this. Please help.


Thanks,

Kevin

Making A Picture Fit The Picture Box Instead Of The Box Fitting The Picture.
Hello,

I was wondering if anyone could tell me how to make a picture fit the picture box instead of the box fitting the picture. So I would want the picture to get smaller like the image preview on windows xp, when you click once on a pic and it shows the details and a small form preview of the pic yet not disformed (i.e NOT STRECHED)

Can someone show me how to do this?

Thank you and have a great day!
Stilekid007

Making An Option Buttons Background Transparent?
Hi,

This has been getting to me ever since I've been programming in Visual Basic. I would like to know how to make an option buttons's background transparent. Some people have told me to make the colour of the option buttons background the same colour as the forms background but the forms background is an image. Is it possible?

Thanks

Making A Control's Background Transparent (PictureBox, CheckBox, Etc)
I am starting a new thread on this subject in hopes that it will attract some other peoples attention.

I have a tab control whose background changes based on what XP style is applied (as all tab controls do ) and I need the controls placed on the tab strip to have a transparent background also. Does anyone have any ideas on this subject?

Background Picture
I'm making a game and I want there to be a picture in the background. The foreground is a simple landscape. As the game goes on, parts of the foreground will be erased, and more of the background will be visible. How can I do this?

The game is like Scorched Earth, if you know that game.

Picture Background
does anyone know how i could make my pictures have transparent backgrounds while the program is running? I mean like i would have them with a say blue background and eveything that is blue would be transparent. I heard that you could do it with bitblt
thnx for any suggestions

Background Picture Box
Good afternoon/night, since yesterday

I have a picture box, and the pictures to appear are gif's, and some backgrounds are transparent. How can the picture box have a transparent background, if the picture have a transparent background too???

Background Picture
I was just wondering how i would make a picture (such as a jpg) be the background of a form...

Picture As Background
How would one go about setting a picture as the desktop background in vb?

Background Picture
Hi All, I've made this verry nice background picture for my application. But now comes the problems, I want a listbox to go behind a cutout in this picture.
I've made the picture in PSP, with the cutout transparent. This means that the cutout is in white. Is it possible to make this work, or do i have to use one of the skinning programs.
Actually its another MP3 player, but it will also play video's in the listbox.
Regards Max

Background Picture
is there a way to make a form's picture property picture stretch along with the form?

Background Picture
Hi all,

Anyone know how to get a background picture on a form?
The form1.picture property doesnt fit the form size.
I.e the pictures too big!

Anyone?

thanks
b

Picture Background
I'm using datareports with vb6.
I want to have a picture as the report background and everytime i try it only appears either behind the labels or textboxes in pieces and not the whole page as a whole picture.
Can someone please help me on this coz the report is need by thursday otherwise no picture background and the software maybe rejected.
Thank you all

RTF With Background Picture
how can I make a background picture for my RichTextBox Control?

A Picture Without Any Border Or Background
Hi
How can I have a picture on a MDIform without any borders or backgrounds?
something like office assistant for example.
Any help or start point please.
thanks

Transparent Picture Background
hey ive made some various images in photoshop that i wanna show in VB and i have made them so the background is transparent but when i put them in VB, in either a picturebox or image the background just turns white. is there a way to get back that transparent background in VB programs? im sure there would have to be

thnx in advance for your help

Center A Picture In The Mdi Background
I am using the following line to load a picture as the background to the main form of an MDI app that I'm running:

Me.Picture = LoadPicture(App.Path & "imagespic.bmp")

The picture loads in the upper left corner of "working space" background whereas I would like it to load in the center.

I've done a search but got lost amongst all the other MDI type questions. Another idea I had was to set the height and width properties to match those of the form but then the picture would distort as the user resized the form.

Any suggestions?


<font color=blue> :: grin-r :: </font color=blue>

Setting BackGround Picture
How do you change the me.Picture property during runtime? Using a string with the full path to the image doesn't work... Many thanks for any help.

Transparent Picture With Background
hi,
i have a program with a background
and then i want to have a picture that is transparent so you can still see the background, cuz now around the picture it is grey instead of transparent

here is a picture to make it more clear

http://ddstudios.xhaven.net/vb.JPG

thx in advance for help

Friendly regards
Davy

MDI Form Background Picture
Hi Folks!

I've got a little problem here:

I want to show a picture in my MDI Form, but without using a picturebox.

Understand?

Plz Help!

Tahnks in advance for your time

Byez
By
BiZ

Form Picture Background
Howdy, I've searched through the forums for a way to take a picture I created in photoshop that has transparent pixels around the borders and display it in VB without having the white pixels where it should be transparent.

Is there any way of doing this? Any help is appreciated. Thanks.

-- Val

MSHFlexGrid Background Picture
Hello.
Is there any way to put picture to background of MSHFlexGrid (not the cell picture)???

Greetings from Croatia
Davor

How To Set A Picture BackGround In Direct3D ?
Hi

I want to put a picture in the background that rotates with the scene , I don't want to use object.

I need that to make some enviromental effect (Sky and Clouds, or Mountains, Or Stars, etc..) so please tell me how to do that

Thanks a lot !

Background Picture For Flexgrid
Can anyone tell me the easiest/best way to do this, even if it means subclassing. I found the following post but can not figure out how to change the function to draw INSIDE the grid and not the FIXED rows/cols:

http://www.xtremevbtalk.com/showthread.php?t=10444

Any help would be great,

Thank you.

Changing Background Picture
I'm trying to make a program in which I need the background image to change several times, depending on entered values. Is there any way that I can store the images within the form and create a sub that changes them depending on these values?

MSFlexGrid Background Picture
Hi

Is it possible to add a background picture to the MSFlexGrid object?

Thanks!

Mshflexgrid Background Picture
How do you get an image to display in the background of a flexgrid control?

Forms Background Picture
Hello All,

When you create a form you can, from the 'Properties Window' , insert a background picture. This picture stays with the form and will appear when the program is even run on a different computer.

Is it possible to be able to switch between pictures without having to resort to 'LoadPicture', which requires a full location of the new picture.

Alternatively, can the original pictre be changed from 'Color' to 'Monochrome'. This, I believe, can be done in an MSFlexGrid.

Thank You
Tarablue

Resizing Background Picture
Hi people, thanks for your help earlier (much appreciated)..

However I'm stuck again.....

I have a form with a background picture, but want to make the form resizeable, in turn I'll have to move some of the items in the form. I think I can manage that, if I get my finger out, but....

My main question is... how can I make the background image stretch or shrink to fit the form?

Background Picture To Listbox
Hi,

I want to apply background picture to a standard List Box.

The picture is already loaded in to a picture box.

Should i use BitBlt like functions????

Can't Undo Background Picture?
I inserted a picture in the background of my dialog, how would I undo it?

Background Picture*Resolved*
Ok this has been making me really mad. I had loaded a picture for mr forms background but now I dont want it instead I want it to be a color from vb but theres no way to get rid of the picture and the color wont overwrite! So how can it be unloaded or colored over by a vb color? Well please try to help me out here as im stuck with this stupid thing lol =/ thanks guys I appreciate the help

Lost Of Background In Picture Box
I have drawn a graph in a picture box and now have crosshairs attached to the mouse (Using PLINE... on Mousemove). As I move it across and draw the crosshairs, I save the cordinates and redraw using ,backcolor etc. Howewer I am gradulally loosing what was underneath. It seems to be disappearing pixel by pixel.

I do have the autoRedraw = true

The attached project runs like this. When you pass the mouse into the icturebox, two diagonal lines are printed. Then by clicking on the commondbutton, the crosshairs are activated. As you move them around, the oixels in the diagonals are lost.

There's something simple I've forgotten, isn't there?
Can anyone help?
Thanks in advance

Background Picture In Richtextbox
is there any way i can just put a background picture in richtextbox.it shouldnt be embed as OLE or insert or paste.i just want to put it as background on whole richtext box.Selstart etc. should nt get effect from it. Its soem thing like yahoo chat environment.as background image is behind and text is typed in boxes. any way ???

MDI Form Background Picture
Dear all,


I'm trying to implement a background picture on an MDI Parent form with the "Stretching" and "Centre" property just like what we have in Windows Desktop.

The only property i can find is the Picture property but it doesn't have the requirements that i need (namely Stretch and Centre or Tile) . Any idea?

Thank you in advance

Graphite

Background Picture Resize
If I use the Picture property of the form, I can specify it to put a bitmap on the form as the background.

Is there any way that I can resize the picture to adjust to the form size?

Thanks

Transperant Picture Box Background
is there a way to make the background of a picture box transperant, because I can't use an image box for this, and why I want it is because this particular picture box is used to save an icon, but the bg of the icon if it the icon does have a transperant bg is not tranperant when saved, instead is made the bg colour of the picture box, is there a way to make the bg of the picture box transperant?

Forms Background Picture.
does anyone have a code that will resize the forms background picture to the size of the form automatically no matter what size the form is?

Copyright © 2005-08 www.BigResource.com, All rights reserved