Resizing the window clears that spots and sometimes makes them to appear
again.
And to make it clear:
I do not have any other controls (visible or hidden) around those buttons.
Your comments appreciated,
Jack
Here, appears something blue on the right side of button 0.
It appeared after restoring window to the normal size from a minimized
state.
Jack
"Jack" <replyto@it> wrote in message
news:O1Abjg8K...@TK2MSFTNGP05.phx.gbl...
Have you taken note of what is on the screen before you restore
those forms? It would appear to me that the forms are not being
rendered properly, that some parts are not being cleared of the
old data (previous application image).
While not a fix, I wonder if changing the form's ClipControls property
might have an effect....
LFS
"Larry Serflaten" <serf...@usinternet.com> wrote in message
news:O1LIxz8K...@TK2MSFTNGP05.phx.gbl...
Is it an ATI graphical controller in Your PC.
I have had the same issue but only on an ACER with ATI controller.
Chris
"Chris D" <xh...@xdtexhnologies.info> wrote in message
news:48f0fafc$0$2863$ba62...@news.skynet.be...
"Larry Serflaten" <serf...@usinternet.com> wrote in message
news:O1LIxz8K...@TK2MSFTNGP05.phx.gbl...
>
"Jack" <replyto@it> wrote in message
news:O1Abjg8K...@TK2MSFTNGP05.phx.gbl...
Perhaps you need to back up a step or two.
Just how and where are you resizing these buttons?
Is your code dependent on a particular ordering of events?
Is your code dependent on specific events and assumes no duplication or
missing events?
Can you create a minimal project/form that exhibits this behavior outside
your current program?
-ralph
> Is your code dependent on a particular ordering of events?
I do not get it, but I guess the right answer is no.
> Is your code dependent on specific events and assumes no duplication or
> missing events?
I do not get it either.
When the program starts it is in the idle state. It does nothing, waiting
for the user action.
Just simple minimizing and restoring window creates those spots. Also,
sometimes they appear on the program startup too.
Jack
> Buttons are resized in Form_Resize event.
> They are square, proportionally spaced with the size
> depending on the width of the frame they are placed in.
What happens if you take them out of the Frame, or if you perhaps (at least
temporarily) use a different container, such as a PictureBox?
Mike
"Mike Williams" <Mi...@WhiskyAndCoke.com> wrote in message
news:%23EjL5kP...@TK2MSFTNGP02.phx.gbl...
--
BoikitsBets
------------------------------------------------------------------------
BoikitsBets's Profile: http://microsoft-news.for-um.de/member.php?userid=377
View this thread: http://microsoft-news.for-um.de/showthread.php?t=47565
Powered by: http://poker-and-gambling-news.for-um.de/ | http://microsoft-news.for-um.de | http://ibm-news.for-um.de | http://www.for-um.de | http://www.uzenet.org