if you look at the pic at the link below you will see that there is white space between some of the pictures
http://img441.imageshack.us/i/screenshot034r.png/][IMG]http://img441.imageshack.us/img441/1574/screenshot034r.pngwell thats my question!
Why! would there be white space? in the designer eact picturebox is 138w x 138h and the thumbnail is beinggenerated from an image of atleast 500x500.
the thumbnail size is suppose to be 138w x 138h.
all the picturebox's use the exact same code to pull the albumartthumbnail from file
which is
public void GetCoverFlowAlbumArt(string filePath, PictureBox pictureBox)
{
bool exists = File.Exists(filePath);
myCallback = ThumbnailCallback;
if (exists)
{
AlbumArt = new Bitmap(filePath);
Image AlbumArtThumbnail = AlbumArt.GetThumbnailImage(138, 138, myCallback, IntPtr.Zero);
pictureBox.Image = null;
pictureBox.Refresh();
pictureBox.Image = AlbumArtThumbnail;
}
if (AlbumArt != null)
{
AlbumArt.Dispose();
AlbumArt = null;
}
bool exist = File.Exists(Path.Combine(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures), "AlbumArt"), "AlbumArt.jpg"));
if (exist)
{
File.Delete(Path.Combine(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures), "AlbumArt"), "AlbumArt.jpg"));
}
}
also i re-set the panels size thats in the picture box area about 100 times the required values keep changing! why?
1 minute i have to use 2 (15, 138) & the rest 14, 138, once upon a time it was perfect like that all picturebox's was 138, 138! well i just had to change them now there well all 13, 138.
is Visual Studio Just a Peice of doogie?
why does the size required by my app keep goin up & down?