Re: WM_CTLCOLORBTN message

"Jim Barry" <[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <635ED97627D045958D4B5F92943E0D4D@jbarry>
"carr 帅" wrote:
> oh, yes.  but i still fail to set the radio button's background 
> transparent;
> my codes:
[...]
> the above codes works well with a STATIC control.but leave the radio 
> buttons a black background ,not transparent.

Are you doing your dialog background painting in WM_PAINT? If so, try doing 
it in WM_ERASEBKGND instead.

-- 
Jim Barry, Microsoft MVP 



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

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.