Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
AnswerRe: MDI parent child interaction Pin
mikone11-Oct-06 4:04
mikone11-Oct-06 4:04 
GeneralRe: MDI parent child interaction Pin
tim_gunning11-Oct-06 7:35
tim_gunning11-Oct-06 7:35 
GeneralRe: MDI parent child interaction Pin
mikone11-Oct-06 7:42
mikone11-Oct-06 7:42 
GeneralRe: MDI parent child interaction Pin
tim_gunning11-Oct-06 7:46
tim_gunning11-Oct-06 7:46 
QuestionNoob question regarding creating notepad Pin
Irfan Faruki11-Oct-06 1:56
Irfan Faruki11-Oct-06 1:56 
AnswerRe: Noob question regarding creating notepad Pin
Andrei Ungureanu11-Oct-06 3:02
Andrei Ungureanu11-Oct-06 3:02 
GeneralRe: Noob question regarding creating notepad Pin
Irfan Faruki11-Oct-06 4:47
Irfan Faruki11-Oct-06 4:47 
QuestionHow do I "embed" text into an image? Like what msn emoticon does Pin
dy1311-Oct-06 0:54
dy1311-Oct-06 0:54 
You know how each MSN messenger emoticon actually represents some text? Ok, to clarify, I made a simple form with 2 richtext boxes and 1 button which does the following:

<br />
private void btn_Ok_Click(object sender, EventArgs e)<br />
{<br />
   DataFormats.Format MyFormat = DataFormats.GetFormat(DataFormats.Bitmap);<br />
   DataFormats.Format MyFormat2 = DataFormats.GetFormat(DataFormats.Text);<br />
   richTextBox1.Paste(MyFormat);<br />
   richTextBox2.Paste(MyFormat2);<br />
}


First, I copy an image from say a word document. When I click on my button, the image appears in richTextBox1 but nothing appears in richTextBox2. However, if I copy a MSN Messenger emoticon, the emoticon picture appears in richTextBox1 and the corresponding text appears in richTextBox2.

Now my question is: So HOW do I embed that text into an image (like an emoticon) in the first place? Because obviously the emoticon has something more than a regular image.
AnswerRe: How do I "embed" text into an image? Like what msn emoticon does Pin
eggsovereasy11-Oct-06 4:02
eggsovereasy11-Oct-06 4:02 
GeneralRe: How do I "embed" text into an image? Like what msn emoticon does Pin
dy1311-Oct-06 17:36
dy1311-Oct-06 17:36 
Questionpropertygrid validation of a field Pin
praveenqwe11-Oct-06 0:43
praveenqwe11-Oct-06 0:43 
AnswerRe: propertygrid validation of a field Pin
visualhint11-Oct-06 6:04
visualhint11-Oct-06 6:04 
Questionserial port Pin
dhanaid10-Oct-06 23:52
dhanaid10-Oct-06 23:52 
QuestionPopulate Table from excel sheet ? Pin
Gammaza10-Oct-06 23:15
Gammaza10-Oct-06 23:15 
AnswerRe: Populate Table from excel sheet ? Pin
mikone11-Oct-06 3:41
mikone11-Oct-06 3:41 
GeneralRe: Populate Table from excel sheet ? Pin
Gammaza11-Oct-06 20:43
Gammaza11-Oct-06 20:43 
Questionget clicked link Pin
m_mor10-Oct-06 23:00
m_mor10-Oct-06 23:00 
AnswerRe: get clicked link Pin
Niiiissssshhhhhuuuuu11-Oct-06 1:45
Niiiissssshhhhhuuuuu11-Oct-06 1:45 
QuestionChanging the default WindowClassName of a .NET Form? Pin
Yuval Naveh10-Oct-06 22:12
Yuval Naveh10-Oct-06 22:12 
AnswerRe: Changing the default WindowClassName of a .NET Form? Pin
Chris Buckett10-Oct-06 23:23
Chris Buckett10-Oct-06 23:23 
GeneralRe: Changing the default WindowClassName of a .NET Form? Pin
Yuval Naveh10-Oct-06 23:32
Yuval Naveh10-Oct-06 23:32 
QuestionRemoting and dynamic port allocation Pin
SkyTom10-Oct-06 22:04
SkyTom10-Oct-06 22:04 
QuestionDeployment Question Pin
wasife10-Oct-06 21:34
wasife10-Oct-06 21:34 
QuestionSize of COM objects Pin
drabiger10-Oct-06 21:33
drabiger10-Oct-06 21:33 
QuestionAdding custom property pages to Outlook 2003 using C# <-- Question Pin
SquallNaruto10-Oct-06 21:15
SquallNaruto10-Oct-06 21:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.