Click here to Skip to main content
15,891,431 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is this the right PInvoke? Pin
eggie521-Dec-05 13:45
eggie521-Dec-05 13:45 
QuestionHandling Nullable Types in .NET 1.1? Pin
RobertF5720-Dec-05 15:17
RobertF5720-Dec-05 15:17 
AnswerRe: Handling Nullable Types in .NET 1.1? Pin
Michael Ceranski20-Dec-05 15:34
Michael Ceranski20-Dec-05 15:34 
GeneralRe: Handling Nullable Types in .NET 1.1? Pin
RobertF5721-Dec-05 6:59
RobertF5721-Dec-05 6:59 
GeneralRe: Handling Nullable Types in .NET 1.1? Pin
RobertF5721-Dec-05 11:55
RobertF5721-Dec-05 11:55 
GeneralRe: Handling Nullable Types in .NET 1.1? Pin
Michael Ceranski21-Dec-05 14:37
Michael Ceranski21-Dec-05 14:37 
GeneralRe: Handling Nullable Types in .NET 1.1? Pin
RobertF5728-Dec-05 8:36
RobertF5728-Dec-05 8:36 
QuestionImplementing Delete Pin
monrobot1320-Dec-05 14:35
monrobot1320-Dec-05 14:35 
I'm having a bit of a tick trying to implement a delete menu item (such as on an edit menu) To this point I've implemented it by using SendMessage to send a WM_CLEAR message to the active control on my form, but this doesn't act as per a normal delete menu item. If there is a selection in the control it gets deleted, but if there is no selection then nothing happens, when it should in fact remove the character directly behind the caret. Any information on how I could achive this functionality would be appreciated.

I wouldn't mind checking the textbox to see if any text is selected and if not then simply selecting one character from the current caret position forward, but I don't know how to find out the caret's position in the textbox, if anyone knows how to do this I couldn't implement the rest without a problem.

Thanks.

- Aaron
AnswerRe: Implementing Delete Pin
Curtis Schlak.20-Dec-05 15:54
Curtis Schlak.20-Dec-05 15:54 
GeneralRe: Implementing Delete Pin
monrobot1320-Dec-05 19:19
monrobot1320-Dec-05 19:19 
GeneralRe: Implementing Delete Pin
Curtis Schlak.21-Dec-05 4:36
Curtis Schlak.21-Dec-05 4:36 
QuestionPreventing "Show Desktop" Pin
jstrulens20-Dec-05 11:45
jstrulens20-Dec-05 11:45 
AnswerRe: Preventing "Show Desktop" Pin
Curtis Schlak.20-Dec-05 15:43
Curtis Schlak.20-Dec-05 15:43 
Questionlist of all computers Pin
sebastianos20-Dec-05 11:42
sebastianos20-Dec-05 11:42 
AnswerRe: list of all computers Pin
Tonster10120-Dec-05 15:16
Tonster10120-Dec-05 15:16 
GeneralRe: list of all computers Pin
Colin Angus Mackay20-Dec-05 22:53
Colin Angus Mackay20-Dec-05 22:53 
GeneralRe: list of all computers Pin
Tonster10120-Dec-05 22:59
Tonster10120-Dec-05 22:59 
GeneralRe: list of all computers Pin
Colin Angus Mackay20-Dec-05 23:05
Colin Angus Mackay20-Dec-05 23:05 
Questionin what remote computer? Pin
sebastianos20-Dec-05 11:38
sebastianos20-Dec-05 11:38 
QuestionMoving through forms - problem! Pin
eyej20-Dec-05 11:36
eyej20-Dec-05 11:36 
AnswerRe: Moving through forms - problem! Pin
peterchen20-Dec-05 15:11
peterchen20-Dec-05 15:11 
GeneralRe: Moving through forms - problem! Pin
eyej21-Dec-05 13:44
eyej21-Dec-05 13:44 
GeneralRe: Moving through forms - problem! Pin
Bassam Saoud21-Dec-05 23:37
Bassam Saoud21-Dec-05 23:37 
Questionunlock users account Pin
sebastianos20-Dec-05 11:35
sebastianos20-Dec-05 11:35 
Questionkill a remote process Pin
sebastianos20-Dec-05 11:33
sebastianos20-Dec-05 11:33 

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.