Hi,

how can I delete the line, where the cursor is in ?
Does anyone know this ?

Thanks, Nordwind64
Posted on 2002-05-06 11:22:22 by Nordwind64
kind of a strange post Nordwind considering you asked the same question before and you posted the solution for your own question. anyways i remember your first post and just as i was about to post a solution you figured it out for yourself. here's how you solved the problem before:

EM_LINEINDEX with -1
EM_LINELENGTH
EM_SETSEL
WM_CUT

instead of WM_CUT use WM_CLEAR since you just want to delete the line.
Posted on 2002-05-06 13:42:25 by smurf
you figured it out for yourself. here's how you solved the problem before:

Posted on 2002-05-06 15:42:21 by Kudos
Hi,

sorry, but this method won't work correct. In some case it produces an error and deletes the wrong line...
Is there another method to delete a line?

:grin:
Nordwind64
Posted on 2002-05-07 10:36:19 by Nordwind64
Make sure you are selecting the right index ... remember the -1.

(I have no idea what am talking about here ??)
Posted on 2002-05-07 10:52:02 by Dracton