Copy'n'Paste und Textauswahl in Textfeldern für B+
Übersicht

![]() |
XenonBetreff: Copy'n'Paste und Textauswahl in Textfeldern für B+ |
![]() Antworten mit Zitat ![]() |
---|---|---|
Hi,
Userlib: Code: [AUSKLAPPEN] .lib "User32.dll"
SendMessage%(hwnd,msg,wParam,lParam):"SendMessageA" und der Code: Code: [AUSKLAPPEN] Const WM_CUT = $300
Const WM_COPY = $301 Const WM_PASTE = $302 Const EM_SETSEL = $B1 Function Cut(ed) SendMessage(QueryObject(ed, 1), WM_CUT, 0, 0) End Function Function Copy(ed) SendMessage(QueryObject(ed, 1), WM_COPY, 0, 0) End Function Function Paste(ed) SendMessage(QueryObject(ed, 1), WM_PASTE, 0, 0) End Function Function SelectAll(ed) SendMessage(QueryObject(ed, 1), EM_SETSEL, 0, TextAreaLen(ed)) End Function |
||
Übersicht


Powered by phpBB © 2001 - 2006, phpBB Group