Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. get text selection [modified]

get text selection [modified]

Scheduled Pinned Locked Moved C#
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Askalo
    wrote on last edited by
    #1

    Hi, what I would like to do is to show in a message box text selected in email body. Is there a method to obtain what I select in outlook mail body? Thanks

    modified on Sunday, January 13, 2008 11:11:48 AM

    P T 2 Replies Last reply
    0
    • A Askalo

      Hi, what I would like to do is to show in a message box text selected in email body. Is there a method to obtain what I select in outlook mail body? Thanks

      modified on Sunday, January 13, 2008 11:11:48 AM

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      Not sure off the top of my head at the moment, but you may want to look around at the Windows API for anything that grabs the currently selected text.

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer

      1 Reply Last reply
      0
      • A Askalo

        Hi, what I would like to do is to show in a message box text selected in email body. Is there a method to obtain what I select in outlook mail body? Thanks

        modified on Sunday, January 13, 2008 11:11:48 AM

        T Offline
        T Offline
        tcsoccerman
        wrote on last edited by
        #3

        well....if the email body is in a textbox ( i don't use outlook) you could probably use something like MessageBox.Show(emailbodytxtbox.SelectedText); also look into this area(may need to add a reference) System.Net.Mail.SmtpClient

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups