Hi,
I got a problem with the BackgroundImageLayout in the pictureBox.
I toogle the BackgroundImageLayout from Zoom to Center to see more closer picture when using high res image using :
(code in C++)
pictureBox1->BackgroundImageLayout:

et(System::Windows::Forms::ImageLayout::Center);
or
pictureBox1->BackgroundImageLayout:

et(System::Windows::Forms::ImageLayout::Zoom);
Now, when i put the image in pictureBox1->Image, the layout control are control with pictureBox1->SizeMode, and everything was working fine (togeling from center to zoom), but since i am placing my image in the background someting strange append.
When the picture is in the background, if the picture size is smaller then the pictureBox, no problem appen.
When the picture is in the background, if the picture size is Bigger then the pictureBox, the layout react to the "Center" option from the "BackgroundImageLayout" exactly as is was set to "None".
So does some one have a solution to make BackgroundImageLayout::center act like PictureBoxSizeMode::CenterImage ?
Ho, and yes, i really need to use the BackgroundImage because i use the BackgroundImage and the Image of the pictureBox at the same time!
Thanks
V.L.
exemple (C++):
private: System::Void button1_Click(System:

bject^ sender, System::EventArgs^ e) {
using namespace System:

rawing;
openFileDialog1->ShowDialog();
Image^ image = Image::FromFile(openFileDialog1->FileName);
pictureBox1->BackgroundImage = image;
//pictureBox1->Image = image;
}
private: System::Void button2_Click(System:

bject^ sender, System::EventArgs^ e) {
pictureBox1->SizeMode:

et(System::Windows::Forms:

ictureBoxSizeMode::CenterImage);
pictureBox1->BackgroundImageLayout:

et(System::Windows::Forms::ImageLayout::Center);
}
private: System::Void button3_Click(System:

bject^ sender, System::EventArgs^ e) {
pictureBox1->SizeMode:

et(System::Windows::Forms:

ictureBoxSizeMode::Zoom);
pictureBox1->BackgroundImageLayout:

et(System::Windows::Forms::ImageLayout::Zoom);
}