Click here to Skip to main content
15,916,019 members
Home / Discussions / C#
   

C#

 
QuestionAssign Color to text in Rich Textbox Pin
Sajjad Leo16-Mar-09 1:58
Sajjad Leo16-Mar-09 1:58 
AnswerRe: Assign Color to text in Rich Textbox Pin
Blue_Boy16-Mar-09 2:08
Blue_Boy16-Mar-09 2:08 
AnswerRe: Assign Color to text in Rich Textbox Pin
AB777116-Mar-09 2:10
AB777116-Mar-09 2:10 
Questionhow to Merge two datatables in a dataset Pin
Nitin K16-Mar-09 1:40
Nitin K16-Mar-09 1:40 
AnswerRe: how to Merge two datatables in a dataset Pin
Russell Jones16-Mar-09 1:42
Russell Jones16-Mar-09 1:42 
GeneralRe: how to Merge two datatables in a dataset Pin
Nitin K16-Mar-09 1:51
Nitin K16-Mar-09 1:51 
GeneralRe: how to Merge two datatables in a dataset Pin
Russell Jones16-Mar-09 1:56
Russell Jones16-Mar-09 1:56 
QuestionAny idea why this error appears (SEH Exception) Pin
Matjaz-xyz16-Mar-09 1:31
Matjaz-xyz16-Mar-09 1:31 
AnswerRe: Any idea why this error appears (SEH Exception) Pin
Michael Bookatz16-Mar-09 1:38
Michael Bookatz16-Mar-09 1:38 
AnswerRe: Any idea why this error appears (SEH Exception) Pin
Giorgi Dalakishvili16-Mar-09 2:29
mentorGiorgi Dalakishvili16-Mar-09 2:29 
GeneralRe: Any idea why this error appears (SEH Exception) Pin
Matjaz-xyz17-Mar-09 3:35
Matjaz-xyz17-Mar-09 3:35 
QuestionApplication.Idle Event Pin
saksp16-Mar-09 0:02
saksp16-Mar-09 0:02 
AnswerRe: Application.Idle Event Pin
DaveyM6916-Mar-09 0:20
professionalDaveyM6916-Mar-09 0:20 
AnswerRe: Application.Idle Event Pin
#realJSOP16-Mar-09 2:34
professional#realJSOP16-Mar-09 2:34 
QuestionTransparent through the label Pin
CodingLover15-Mar-09 23:00
CodingLover15-Mar-09 23:00 
AnswerRe: Transparent through the label Pin
Christian Graus15-Mar-09 23:22
protectorChristian Graus15-Mar-09 23:22 
AnswerRe: Transparent through the label Pin
Wael Dalloul15-Mar-09 23:23
Wael Dalloul15-Mar-09 23:23 
AnswerRe: Transparent through the label Pin
Michael Bookatz15-Mar-09 23:41
Michael Bookatz15-Mar-09 23:41 
Questionhandle shorcut Ctrl+V event on AxWebBrowser Pin
sonukadole15-Mar-09 22:53
sonukadole15-Mar-09 22:53 
I am using AxWebBrowser control on windows form. I want to handle the shortcut paste(ctrl + V) event so that i can excute my own customised function to perform this operation.

I tried this as following:
private void editorWebBrowser_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
 {
       if (e.KeyData == (Keys)Shortcut.CtrlV)
       {  
              MyTextPasteFunction();
       }
        base.OnPreviewKeyDown(e);
  }


But it is not stopping executing it's default paste event. So Ctrl + V is pasting the contents twice.
What should i do to stop the default paste event execution?

Thanks in Advance.
AnswerRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
Pete O'Hanlon15-Mar-09 23:11
mvePete O'Hanlon15-Mar-09 23:11 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
sonukadole15-Mar-09 23:15
sonukadole15-Mar-09 23:15 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
Pete O'Hanlon15-Mar-09 23:26
mvePete O'Hanlon15-Mar-09 23:26 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
sonukadole16-Mar-09 0:09
sonukadole16-Mar-09 0:09 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
Pete O'Hanlon16-Mar-09 2:47
mvePete O'Hanlon16-Mar-09 2:47 
QuestionPreserving row pointer across an database update via a datatable Pin
jrgrobinson15-Mar-09 22:29
jrgrobinson15-Mar-09 22:29 

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.