Re: WM_CTLCOLORBTN message

"Jim Barry" <[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <DC651D5B4B1B431084D61BBD3DC65157@jbarry>
Radio buttons actually send WM_CTLCOLORSTATIC, not WM_CTLCOLORBTN.

-- 
Jim Barry, Microsoft MVP

--------------------------------------------------
From: "carr 帅" <shuaixh-/[email protected]>
Sent: Tuesday, September 01, 2009 1:00 PM
To: <[email protected]>
Subject: [wtl] WM_CTLCOLORBTN message

> hello, everyone.
> I create a dialog project, then i put a radio button on it.
> after that, i put a BMP picture on the dialog's background.
> the radio button's background is grey, i want to remove its background.
>
> in order to set the radio button's background transparent, i handle the
> WM_CTLCOLORBTN message in dialog. eg. MSG_WM_CTLCOLORBTN
>
> but, it seems,  i can't receive the message.
>
> so, how to set the control's background transparent ??
> thanks. 



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.