How do we add color to a button?
-
Handle the
WM_CTLCOLORBTN
notification message in the parent window of the button. Steve -
Handle the
WM_CTLCOLORBTN
notification message in the parent window of the button. SteveStephen Hewitt wrote:
Handle the WM_CTLCOLORBTN notification message in the parent window of the button.
This won't work.
Jesus Loves:rose:
--Owner Drawn:rose: --Nothing special --Defeat is temporary but surrender is permanent --Never say quits --Jesus is Lord:rose:
-
Stephen Hewitt wrote:
Handle the WM_CTLCOLORBTN notification message in the parent window of the button.
This won't work.
Jesus Loves:rose:
--Owner Drawn:rose: --Nothing special --Defeat is temporary but surrender is permanent --Never say quits --Jesus is Lord:rose:
I tried it just then and you are correct, it doesn't work. A more careful read of the documentation (as you often find yourself doing when stuff won't work) reveals the following: "only owner-drawn buttons respond to the parent window processing this message". Steve
-
I tried it just then and you are correct, it doesn't work. A more careful read of the documentation (as you often find yourself doing when stuff won't work) reveals the following: "only owner-drawn buttons respond to the parent window processing this message". Steve
Stephen Hewitt wrote:
I tried it just then and you are correct, it doesn't work
Even I kept trying for sometime. What puzzles me is that what purpose does it accomplish?
Jesus Loves:rose:
--Owner Drawn:rose: --Nothing special --Defeat is temporary but surrender is permanent --Never say quits --Jesus is Lord:rose:
-
Stephen Hewitt wrote:
I tried it just then and you are correct, it doesn't work
Even I kept trying for sometime. What puzzles me is that what purpose does it accomplish?
Jesus Loves:rose:
--Owner Drawn:rose: --Nothing special --Defeat is temporary but surrender is permanent --Never say quits --Jesus is Lord:rose:
I found myself wondering the same thing. Steve