Hi everyone
I am tinkering with a C++ exe file using Visual Studio 2010. I added some images to make it look better.
The exe file's MSFlexGrid originally came with the MSFlexGrid background wider than the grid. I resized the background to be the same size as the MSFlexGrid.
The problem is there is an image next to a MSFlexGrid and when one click a cell on the MSFlexGrid to enter some data the MSFlexGrid
pops out a piece of the MSFlexGrid background (equal to the size of the original background before i resized the background) over the image even though I resized the background to be the same size as the MSFlexGrid but it is not saving the change when I save the exe file after editing the exe file.
When i use the program and scroll down and then up again the piece of the MSFlexGrid background that popped out to the right of the MSFlexGrid over the image next to the MSFlexGrid disappeared and everything looks like it should.
It seems like a refresh problem but I do not know how to make the window refresh itself continuously.
Everytime one clicks on a cell the background (equal to the original size of the background) of the MSFlexGrid pops out to the right over the image next to the MSFlexGrid.
I would be very grateful for any suggestions how to fix this problem


(images attached to show the problem
image 1 is how it looks when opening the program
image 2 is how it looks when clicking a cell on the grid)
I am tinkering with a C++ exe file using Visual Studio 2010. I added some images to make it look better.
The exe file's MSFlexGrid originally came with the MSFlexGrid background wider than the grid. I resized the background to be the same size as the MSFlexGrid.
The problem is there is an image next to a MSFlexGrid and when one click a cell on the MSFlexGrid to enter some data the MSFlexGrid
pops out a piece of the MSFlexGrid background (equal to the size of the original background before i resized the background) over the image even though I resized the background to be the same size as the MSFlexGrid but it is not saving the change when I save the exe file after editing the exe file.
When i use the program and scroll down and then up again the piece of the MSFlexGrid background that popped out to the right of the MSFlexGrid over the image next to the MSFlexGrid disappeared and everything looks like it should.
It seems like a refresh problem but I do not know how to make the window refresh itself continuously.
Everytime one clicks on a cell the background (equal to the original size of the background) of the MSFlexGrid pops out to the right over the image next to the MSFlexGrid.
I would be very grateful for any suggestions how to fix this problem



(images attached to show the problem
image 1 is how it looks when opening the program
image 2 is how it looks when clicking a cell on the grid)