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

C#

 
QuestionHow can I embed my application to .NET environment? Pin
Anonymous13-Mar-05 20:09
Anonymous13-Mar-05 20:09 
Generalbypassing the button evet Pin
maheshfour13-Mar-05 20:09
maheshfour13-Mar-05 20:09 
GeneralDelete multi row in datagrid Pin
joy_priyank13-Mar-05 19:18
joy_priyank13-Mar-05 19:18 
GeneralRe: Delete multi row in datagrid Pin
J4amieC13-Mar-05 22:29
J4amieC13-Mar-05 22:29 
GeneralRe: Delete multi row in datagrid Pin
joy_priyank13-Mar-05 23:36
joy_priyank13-Mar-05 23:36 
Generalcurve fitting Pin
bwagz13-Mar-05 13:05
bwagz13-Mar-05 13:05 
GeneralRe: curve fitting Pin
Sean Cundiff13-Mar-05 14:02
Sean Cundiff13-Mar-05 14:02 
GeneralA RichTextBox-related question Pin
Ratty_oTO13-Mar-05 12:49
Ratty_oTO13-Mar-05 12:49 
Hi, I'm working on a syntax-coloring textbox that inherits the RTB control and I have an annoying problem. Since I'm using Select method / SelectionColor property to highlight syntax, I must always store the current cursor position in a variable and then restore it by calling the Select method like this: this.Select(CursorPosition, 0). However, a problem occurs when contents of the textbox spread over more than one page. Namely, the call I use always causes the control to redraw in such manner that the line where CursorPosition is located becomes the first line of the visible area of the textbox, effectively shifting the visible area of the textbox a number of rows down. For example:

Pic 1
Pic 2

It is very disorienting, but I have no idea how to stop it from occuring. Is there some API call or something that can position the cursor within the control without causing this stupid change of focus? If anyone can offer me a way around the problem I will be most grateful.
GeneralDataGrid Pin
Bahadir Cambel13-Mar-05 10:52
Bahadir Cambel13-Mar-05 10:52 
GeneralRe: DataGrid Pin
Kodanda Pani13-Mar-05 18:03
Kodanda Pani13-Mar-05 18:03 
GeneralRe: DataGrid Pin
Bahadir Cambel13-Mar-05 19:54
Bahadir Cambel13-Mar-05 19:54 
GeneralRe: DataGrid Pin
Bahadir Cambel13-Mar-05 20:58
Bahadir Cambel13-Mar-05 20:58 
GeneralRe: DataGrid Pin
Kodanda Pani13-Mar-05 23:12
Kodanda Pani13-Mar-05 23:12 
GeneralCalendars Pin
Beringer13-Mar-05 10:37
Beringer13-Mar-05 10:37 
Questionhow to customize a print doc in c# Pin
dipesh patel13-Mar-05 9:58
dipesh patel13-Mar-05 9:58 
QuestionExcel automation again :) Appending images? Pin
zaubara13-Mar-05 9:49
zaubara13-Mar-05 9:49 
AnswerRe: Excel automation again :) Appending images? Pin
Anonymous14-Mar-05 0:14
Anonymous14-Mar-05 0:14 
Generalshowing additional windows in a html page Pin
Pikebu13-Mar-05 8:17
Pikebu13-Mar-05 8:17 
GeneralRe: showing additional windows in a html page Pin
Anonymous14-Mar-05 5:57
Anonymous14-Mar-05 5:57 
GeneralA simple question about ListView Pin
RockRock13-Mar-05 2:08
RockRock13-Mar-05 2:08 
GeneralRe: A simple question about ListView Pin
Colin Angus Mackay13-Mar-05 3:36
Colin Angus Mackay13-Mar-05 3:36 
GeneralGet the x and y position of an html element Pin
Pikebu13-Mar-05 1:43
Pikebu13-Mar-05 1:43 
GeneralRe: Get the x and y position of an html element Pin
Anonymous14-Mar-05 6:03
Anonymous14-Mar-05 6:03 
GeneralGet info from Counter strike server Pin
wallabou13-Mar-05 1:26
wallabou13-Mar-05 1:26 
GeneralEject and Close CD Pin
kendao13-Mar-05 1:18
kendao13-Mar-05 1:18 

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.