|
-
Apr 11th, 2001, 10:26 AM
#1
Thread Starter
Fanatic Member
Hi, Guys!
I am using BitBlt.
I load into a picturebox a picture.
when I load it, I don't see the first line of pixels
( (X,1) ) and I see a double line of the last line
of pixels.
What is wrong?!?!
How do I handle this problem???
Thank you,
Arie.
-
Apr 11th, 2001, 11:15 AM
#2
Retired VBF Adm1nistrator
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Apr 11th, 2001, 12:53 PM
#3
PowerPoster
-
Apr 13th, 2001, 09:43 AM
#4
Thread Starter
Fanatic Member
But I AM Bliting from 0, 0
I mean, that when I load the ICO into the picturebox,
in 'design-time' I don't see the first line of the ICO
and I see double of the last line.
It's without doing nothing with BitBlt.
It's a bug in the picturebox.
maybe I should draw the ICO from the second line and leave a blank line in the first place.
for example I have and ICO file of 16x16.
Maybe I should draw the same icon in a 16x17 and leave the first line blank and draw on (Ix2 to Ix17)?
I don't know what to do!
Help...
Thank you,
Arie.
-
Apr 13th, 2001, 09:57 AM
#5
See if setting the PictureBox's BorderStyle to "None" helps.
-
Apr 13th, 2001, 03:12 PM
#6
Thread Starter
Fanatic Member
It is setted to NONE.
I don't know what to do...
Have one of you ever had this problem???
Please Help...
Thank you,
Arie.
-
Apr 14th, 2001, 02:50 AM
#7
Thread Starter
Fanatic Member
-
Apr 17th, 2001, 02:10 AM
#8
Retired VBF Adm1nistrator
Can you post your code ?
It might give us a better idea.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Apr 17th, 2001, 02:07 PM
#9
Thread Starter
Fanatic Member
It's not about the code!!!
The problem is in the PICTUREBOX!
When I load a picture (ICO, in this case) I DON'T SEE
THE FIRST LINE OF PIXELS AND I SEE DOUBLE LINE
OF THE LAST PIXELS LINE!
Please Help!
Why does it happen?
Thank you,
Arie.
-
Apr 17th, 2001, 06:31 PM
#10
transcendental analytic
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 21st, 2001, 05:16 AM
#11
Thread Starter
Fanatic Member
But it happens in any icon that I draw.
I am drawing my icons with Microangelo 5.0.
I don't what to do...
Help...
Please.
Thank you,
Arie.
-
Apr 21st, 2001, 08:53 AM
#12
Retired VBF Adm1nistrator
Originally posted by plenderj
Can you post your code ?
It might give us a better idea.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|