G
Giorgos
Hello all ! I have a question I hope you could help me with.
I need to update the image of my custom picturebox while the form is I
the background. If the image is changed while the form is in the
background, the imagebox appears just empty. (The same thing happens
with the built in pictureboxes). On the other hand, the textbox updates
just fine.
A method that works is to use this.focus() just before updating the
images but it is not 'proper' and it causes some problems. I wonder
if there was a better way? For example should I use a backgroundworker
or is there a better way ?
The reason I need this, is that I have my main form hidden and some
controls are set as child to another window. I need to update them
without setting focus to my window and then giving the focus back to
the previous window.
Thanks !
I need to update the image of my custom picturebox while the form is I
the background. If the image is changed while the form is in the
background, the imagebox appears just empty. (The same thing happens
with the built in pictureboxes). On the other hand, the textbox updates
just fine.
A method that works is to use this.focus() just before updating the
images but it is not 'proper' and it causes some problems. I wonder
if there was a better way? For example should I use a backgroundworker
or is there a better way ?
The reason I need this, is that I have my main form hidden and some
controls are set as child to another window. I need to update them
without setting focus to my window and then giving the focus back to
the previous window.
Thanks !