CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2008
    Location
    India
    Posts
    780

    [RESOLVED] Hyperlink for send mail with use of static control?

    Hi all,

    i want to assign a hyperperlink for send mail with use of static control.

    i want when i move mouse on the static control hand cursor displayed.

    when i clicked over it than mail window open and here mail address in To field and some subject in subject field,and some body text display in body of mail.

    please tell me how can i do this.

    thanks in advance.
    IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: Hyperlink for send mail with use of static control?

    Have a look at this Q & A C++ in MSJ
    Victor Nijegorodov

  3. #3
    Join Date
    Feb 2005
    Posts
    2,160

    Re: Hyperlink for send mail with use of static control?

    If your using VS2003 or later, there is a hyperlink control already. See my post here:

    http://www.codeguru.com/forum/showpo...69&postcount=4

  4. #4
    Join Date
    Dec 2008
    Posts
    114

    Re: Hyperlink for send mail with use of static control?

    Quote Originally Posted by hoxsiew View Post
    If your using VS2003 or later, there is a hyperlink control already.
    It' not related to VS version
    Hyperlink control is a win32 control, since Win2K, with different class names.

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: Hyperlink for send mail with use of static control?

    Quote Originally Posted by carl666 View Post
    It' not related to VS version
    Hyperlink control is a win32 control, since Win2K, with different class names.
    Good!
    So how could I implement this "Hyperlink control" in my software using VC++ 6.0?
    Victor Nijegorodov

  6. #6
    Join Date
    Feb 2005
    Posts
    2,160

    Re: Hyperlink for send mail with use of static control?

    Quote Originally Posted by carl666 View Post
    It' not related to VS version
    Hyperlink control is a win32 control, since Win2K, with different class names.
    I realize that, but implementing it in versions prior to VS2003 is completely manual.

    Quote Originally Posted by VictorN View Post
    Good!
    So how could I implement this "Hyperlink control" in my software using VC++ 6.0?
    I don't know for sure, but I would guess that you'd add a custom control as in my link, set the wndclass to "SysLink", then manually add event handlers, etc.

  7. #7
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: Hyperlink for send mail with use of static control?

    Quote Originally Posted by hoxsiew View Post
    ... I don't know for sure, but I would guess that you'd add a custom control as in my link, set the wndclass to "SysLink", then manually add event handlers, etc.
    Thank you, hoxsiew!
    So it seems to be not easier than just use Paul DiLascia's control!
    Victor Nijegorodov

  8. #8
    Join Date
    Feb 2005
    Posts
    2,160

    Re: Hyperlink for send mail with use of static control?

    I'll grant you that when using VC6. So you're that guy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured