Re: CHyperLink text color

Slide <[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>
Thanks to both of you. I had the order mixed up, I needed to set the
color after calling SubclassWindow.

Thanks!

slide

On Mon, Aug 24, 2009 at 12:11 PM, Konstantin Mironovich<[email protected]> wrote:
>
>
> BEGIN_DDX_MAP(CMyDlg)
> DDX_CONTROL(IDC_STATIC_URL, url)
> END_DDX_MAP()
>
> // ...
>
> CHyperLink url;
>
> url.m_clrLink = RGB(0,0,0);
> url.m_clrVisited = RGB(128,128,128);
>
> -km
>
> ----- Original Message -----
> From: Slide
> To: [email protected]
> Sent: Monday, August 24, 2009 9:02 AM
> Subject: [wtl] CHyperLink text color
>
> Is it possible to change the font and text color of a CHyperlink
> subclassed CStatic? I've tried using SetTextColor, etc, but I don't
> think I am doing it correctly. An example would be very helpful!
>
> Thanks!
>
> slide
>
> --
> slide-o-blog
> http://slide-o-blog.blogspot.com/
>
> [Non-text portions of this message have been removed]
>
> 



-- 
slide-o-blog
http://slide-o-blog.blogspot.com/


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

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.