Click here to Skip to main content
15,923,168 members
Home / Discussions / C#
   

C#

 
GeneralCapturing Input Events Pin
Anonymous24-Jun-03 5:21
Anonymous24-Jun-03 5:21 
GeneralRe: Capturing Input Events Pin
John Fisher25-Jun-03 7:34
John Fisher25-Jun-03 7:34 
Generalassync call returns on wrong thread Pin
OmegaSupreme24-Jun-03 5:20
OmegaSupreme24-Jun-03 5:20 
GeneralRe: assync call returns on wrong thread Pin
David Stone24-Jun-03 7:44
sitebuilderDavid Stone24-Jun-03 7:44 
GeneralRe: assync call returns on wrong thread Pin
OmegaSupreme24-Jun-03 18:21
OmegaSupreme24-Jun-03 18:21 
QuestionThread not releasing resources? Pin
GISnet24-Jun-03 4:44
GISnet24-Jun-03 4:44 
GeneralRich Text Box Cursor Location Pin
MojoTheMonkey24-Jun-03 4:00
MojoTheMonkey24-Jun-03 4:00 
GeneralRe: Rich Text Box Cursor Location Pin
dynamic24-Jun-03 6:52
dynamic24-Jun-03 6:52 
you could do this : Smile | :)
VB:
<font color="blue">Private</font> void richTextBox1_MouseMove(<font color="blue">Object</font> sender,System.Windows.Forms.MouseEventArgs e)
        {
            <font color="blue">Try</font>
            {
                <font color="blue">Char</font> c=new <font color="blue">Char</font>();
                System.Drawing.Point p=new System.Drawing.Point();
                p.X=e.X;<font color="#006400">//current x of cursor In rtf box</font>
                p.Y=e.Y;<font color="#006400">//current y.</font>
                c=richTextBox1.GetCharFromPosition(p);
                this.Text=(Convert.ToString(c));<font color="#006400">//retrieve the character at the current cursor position.</font>
            }
            <font color="blue">Catch</font>
            {
                System.Exception f=new System.Exception();<font color="#006400">//just incase you Try When there</font><font color="darkgreen">'s no text in the richtextbox</font>
                MessageBox.Show(f.Message.ToString());
            }
        }



hope that helps a little.



<font color="blue">Private void</font> ExpectingTwins(<font color="blue">string</font> twins)
    {    
    <font color="blue">switch</font>(twins)
    {
    <font color="blue">Case</font> ("twins on the way"):
        MessageBox.Show("for mr and mrs dynamic","twins on the way");
    <font color="blue">break</font>;
    }
    }




GeneralRe: Rich Text Box Cursor Location Pin
leppie24-Jun-03 7:02
leppie24-Jun-03 7:02 
GeneralRe: Rich Text Box Cursor Location Pin
J. Dunlap24-Jun-03 7:38
J. Dunlap24-Jun-03 7:38 
GeneralRe: Rich Text Box Cursor Location Pin
MojoTheMonkey24-Jun-03 21:59
MojoTheMonkey24-Jun-03 21:59 
GeneralC# DLL and MFC app Pin
vikramlinux24-Jun-03 0:33
vikramlinux24-Jun-03 0:33 
GeneralRe: C# DLL and MFC app Pin
Daniel Turini24-Jun-03 4:54
Daniel Turini24-Jun-03 4:54 
GeneralI need help (convert VB6 ocx to C# WCL) Pin
yarns23-Jun-03 21:02
yarns23-Jun-03 21:02 
GeneralRe: I need help (convert VB6 ocx to C# WCL) Pin
Kant24-Jun-03 15:44
Kant24-Jun-03 15:44 
QuestionWhat are they difference between some controls ? Pin
JeffSayHi23-Jun-03 16:07
JeffSayHi23-Jun-03 16:07 
QuestionHow can I do a toolbar like VS.Net ? Pin
JeffSayHi23-Jun-03 15:56
JeffSayHi23-Jun-03 15:56 
GeneralDistributing c# app with ActiveX control Pin
mikechambers23-Jun-03 15:45
mikechambers23-Jun-03 15:45 
GeneralRe: Distributing c# app with ActiveX control Pin
Anonymous24-Jun-03 5:24
Anonymous24-Jun-03 5:24 
GeneralRe: Distributing c# app with ActiveX control Pin
CBoland24-Jun-03 6:56
CBoland24-Jun-03 6:56 
GeneralRe: Distributing c# app with ActiveX control Pin
mikechambers24-Jun-03 10:13
mikechambers24-Jun-03 10:13 
Generaldynamic table Pin
bora3ee23-Jun-03 11:43
bora3ee23-Jun-03 11:43 
GeneralRe: dynamic table Pin
Dimitris Iliopoulos23-Jun-03 11:54
Dimitris Iliopoulos23-Jun-03 11:54 
Generalhidden process Pin
bora3ee23-Jun-03 11:33
bora3ee23-Jun-03 11:33 
GeneralRe: hidden process Pin
Dimitris Iliopoulos23-Jun-03 11:49
Dimitris Iliopoulos23-Jun-03 11:49 

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.