Search:
Type: Posts; User: tmighty
Search:
Search took 0.03 seconds.
-
-
Hello!
Looking through somebody else's code, I saw that he uses a version with an update history where the latest change originates 3 Mar 07.
I have only been able to find a version where the...
-
-
Yieha!! :-)
I found this:
http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=68149&lngWId=1
Fits perfectly and uses LaVolpe's great codebase.
-
Thank you.
Could you - for getting me started -
translate this to LineTo??
Me.Line (m_lSizeX, m_lSizeY)-Step(-VBA.Sin(m_HourHand) * (m_lSizeX * 0.5), -VBA.Cos(m_HourHand) *...
-
Hello!
I would like to replace a form's Line method with the LineTo method.
I am therefore trying to understand how "Line" actually works.
I have read through this:...
-
Hello!
I am using Olaf Schmidt's great WebkitBrowser since some years, but now I need an update because my user can't access Facebook.
It seems that the WebkitBrowser doesn't accept cookies. ...
-
Thank you.
Your code contains so much custom code, and I don't want to rely on that. I will use some GDI+ functions, perhaps from LaVolpe's WordArt.
-
Hello!
I would like to draw an analog clock onto a c32bppdib.
There is a really good example here:
http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=61901&lngWId=1
However, I...
-
-
This is amazing, thank you!
Yes, grandma looks much better now! :-)
-
Btw, you are an amazing programmer. Your code is so nice, I totally adore it, and I am really thankful.
You and Steve McMahon from vbAccelerator.com are my heroes since many years already.
A very...
-
Thank you, with your code, it renders a bit like I expected it, but it is still not correct.
Here is a screenshot of how it looks after the first rotation:
134957
-
Thank you.
I have played around with the arguments very much already, but it wouldn't help. Else I would not have asked.
I have not been able to get the right results although I think I did...
-
Hello!
There are all kinds of methods in the c32bppdib class, but I am a bit stuck on Rotating, so I am using a temporary DIB.
However, something is strange. There are some transparent areas in...
-
Hi LaVolpe,
thank you for your comment.
It is sufficient to me that I got it working. :-)
-
Hello!
I am trying to render a rectangle onto a c32bppdib using clsWordArt.
The following does not work for me, at least nothing is rendered.
Does anybod see if I made any obvious errors?
...
-
Dear LaVolpe,
I just wanted to tell you again that I really love your work. You have simplified my life so much.
Your class really is a piece of art.
Thank you!
-
Ahhhh, my hero. Thank you so much!!
The class is just perfect, I love it from the bottom of my heart.
Thank you again.
Edit: Shouldn't it be
dib1.Render tmpDC, rectLeft, rectTop,...
-
Edit: How stupid could I be... I can just use .Render().
I think I have resolved the problem.
-
Hello!
I am using LaVolpe's amazing 32bpp DIB class (since almost a decade soon :-).
I would like to clone one c32bppdib, but only a part of the dib should actually be filled with image data...
-
Thank you. That looks a bit more elaborated than my approach, but their discussion is ended yet, and the last posting was about a bug, I think, so I will stay away from it. For "my" approach I know...
-
You mean like this...
Public Function GetExitCode(ByVal CmdLine As String, Optional ByVal WindowStyle As VbAppWinStyle = vbNormalFocus, _
Optional ByVal zWait As Boolean = False, Optional...
-
Thank you, knowning that I can not call GetExitCodeProcess for an already running process helps me.
-
Hello!
I would like to do a crash reporter for my app as Firefox has one.
I will use GetExitCode to monitor the exit code of my app.
But I do not want to start my real app using another app. ...
-
Thank you so much, you have really helped me.
I cannot believe that I made such a mistake...
-
Sorry, I forgot to attach the screenshot last time.
-
Here is a screenshot.
As you can see, the image is somehow incorrectly stretched onto the c32bppdib, but it is perfeclty stretched onto frmDevTest.
-
Haha @ resolved. I think the problem is only just unfolding in front of my eyes :-)
-
ps: Maybe good to know:
This line
Call cSource.Render(m_hDC, uDestX, uDestY, uDestWidth, uDestHeight, uSourceX, uSourceY, uSourceWidth, uSourceHeight, 100, True, True, ,...
-
uSourceDC is the result of a GetDC (not GetWindowDC).
I am not sure what you mean regarding the size of the source and the size of the destination. I do want to stretch it, but the stretching of...
-
Here is the output:
destx: 0
desty: 0
destwidth: 201
destheight: 109
sourcex: 0
sourcey: 0
sourcewidth: 100
sourceheight: 100
-
No, that is not the problem (at least not here in my case).
Things get weird after I run these lines:
'now we are going to walk thru the pixels and set the alpha & forecolor as...
-
Why are you saying that? I am not changing the srcX, srcY, srcWidth or srcHeight at all. I only change the destinations properties.
Edit: Sorry, I understood now... I will check if that is the...
-
Is it possible that the format of the image somehow confuses the c32bppdib?
It would surprise me because the image comes right from the DC of the form, and I thought that VB6 forms' imagines/dcs...
-
Public Function AlphaBlend2(ByVal uDestX As Long, ByVal uDestY As Long, ByVal uDestWidth As Long, ByVal uDestHeight As Long, ByVal uSourceDC As Long, ByVal uSourceX As Long, ByVal uSourceY As Long,...
-
I have another problem, I guess it is about the same issue:
I have a transparent c32bppdib class, I draw something onto it using GDI+.
Now I need to additionally AlphaBlend something on the same...
-
Everything is fine, thank you very much.
Thank you for the info on our class as well.
Your knowlege is more than amazing.
-
I have found a dirty way to fix it:
Public Function ConvertstdPicTo32bpp(stdPic As StdPicture, ByVal handle As Long, cHost As c32bppDIB, ByVal bitCount As Integer) As Boolean
(...)
ElseIf...
-
The image was completely black, compared to black themed on white, yes.
My problem is now that I cannot use CreateDibSection anyhow because I have noticed that I need pcMemDCs transparency.
So...
|
Click Here to Expand Forum to Full Width
|