Uh... I actually didn't. I still haven't gotten it to download. I feel stupid. I hadn't checked back on this thread.
Strongm, if you read this, I'm all ears about the GDI AlphaBlend function.
I suggest you learn Direct Draw. I have actually made 6 games in Visual Basic by moving images, then I eventually switched to using image lists an the draw function, and later to the PaintPicture function, and now I am using DirectDraw. It is very fast and worth learning. I have all the ways of...
True, ESquared, I will look.
TheTuna, I like the site. I already learned how to change fonts in DD. :) I checked out alphablending in DD, and it told me about a vbDABL. It's a dll, and I'm going to try using it.
Strongm, because I would use GDI's alphablend, but vbDABl is sopposed to be very...
Just as a side note, the reason why DirectDraw was copying stuff off of the desktop is because DirectDraw refers to the screen, not your form, so a coordinate from your form will probably be off of you form. This can be solved with the ClientToScreen API. As for how confusing DirectDraw is, most...
Sorry for the repeated posts. The post had left the first page, and I wasn't sure if you knew I hadn't completely solved it yet.
I created a surface to use as the color, and made it black. I am guessing that there is a property in the DDBLTFX object that I need to change to make fade between...
Thanks for all of the links, but I believe they relate to AlphBlend on an picture box. Remember that I am trying to do it in DX with the BltFx function. Are they similar? I just need to add a tint (probably black) to an image.
No problem vb5prgrmr.
Strongm, I have heard about BltFx, but the book I have does not explain it. Could you tell me what i would need to do an alpha blend?
Thanks.
The best (and easiest) way to permanently store strings is in the reggistry. You save a setting (or string, in your case) with this:
SaveSetting AppName as String, Section as String, Key as String, Setting as String
EX: SaveSetting "New Program", "Strings"...
I don't have any code yet, but these commands may help if you don't already know them
Len(String) 'length of a string
Mid$(String, Start, Length) 'Returns a certain part of a string
StrComp(String1, String2) 'Compares 2 strings
With no experience on what you are doing, this is more like a guess, but you could try using the command DoEvents. This makes VB finish everything it is supposed to do before it moves on to the next line. Good luck.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.