How to make a window Flash
-
With help from this and other forums, ihave be able to make a countdown timer.:cool: Now what i would like to do is make the programs window Flash when the counter has reached ZERO. can anybody steer me in the right direction. THANKS
-
With help from this and other forums, ihave be able to make a countdown timer.:cool: Now what i would like to do is make the programs window Flash when the counter has reached ZERO. can anybody steer me in the right direction. THANKS
Flash in what way ?
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Flash in what way ?
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
I don't really care, "in what way" as long as it stands out.
-
I don't really care, "in what way" as long as it stands out.
Well, to change the title bar, you may be able to set a color property, but I suspect you'd have to owner draw. To flash things on the form, is far easier. Just set a timer to fire and alternate some colors. Kill it after a particular number of iterations.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Well, to change the title bar, you may be able to set a color property, but I suspect you'd have to owner draw. To flash things on the form, is far easier. Just set a timer to fire and alternate some colors. Kill it after a particular number of iterations.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
I wouls love to alternate some colours, as of yet have not figure out how to do it. what i have in my timer_tick is...
me.background = color.yellow
Is there a way to randomly select a .color
-
I wouls love to alternate some colours, as of yet have not figure out how to do it. what i have in my timer_tick is...
me.background = color.yellow
Is there a way to randomly select a .color
You can build an array and select from there, or select the red/green/blue components at random
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
I wouls love to alternate some colours, as of yet have not figure out how to do it. what i have in my timer_tick is...
me.background = color.yellow
Is there a way to randomly select a .color
Yes, use a random class and three integers.
Dim Ran as new random dim R as integer = ran.next(0,255) dim G as integer = ran.next(0,255) dim B as integer = ran.next(0,255) me.backgroundcolor = color.fromargb(r,g,b)
Your getting three random numbers, rgb values, and making a color out of it.Please check out my articles: The ANZAC's articles