English
Forum

Edit Cursorpos detect & settle

 
- Page 1 -



Julian
Schmidt
with whom Messages can The Cursorposition one Edits gesetzen and read go?
I thought initially em_GetSel and em_SetSel wären The right. the was though one mistake.
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
08/08/12  
 



« this Posting watts as Solution marked. »


Thomas
Freier
something older
CompileMarkSeparation
Def GetSysColor(1) !"USER32","GetSysColor"
declare edit%,Button2&,Pos&,Gesamt&

Proc Cursor2

    parameters z%
    setfocus(edit%)
    sendmessage(edit%,$00B1,z%,z%)

Endproc

cls GetSysColor(15)
edit%=createedit(%hwnd,"Hallöchen",10,60,160,20)
Button2&=createbutton(%hwnd,"Cursor an pos. 4",10,90,160,24)
Pos&=CreateText(%hwnd,"",10,10,140,20)
SetFocus(edit%)

WHILE 1

    waitinput 1
    sendmessage(Edit%,176,addr(Gesamt&),0)
    settext Pos&,str$(Gesamt&,sendmessage(Edit%,187,-1,0))
    case getfocus(Button2&): Cursor2 4

Wend

 
Gruß Thomas
Windows XP SP2, XProfan X2
08/09/12  
 




Julian
Schmidt
hmmm...there lying I well still correctly. with the Messages.
Well. thanks that you yet so a middle-aged View source unearth konntest!
was very helpful.
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
08/09/12  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.648 Views

Untitledvor 0 min.
RudiB.08/31/21
Walter03/30/19
Peter Max Müller10/19/17
Wilfried05/28/16
More...

Themeninformationen

this Topic has 2 subscriber:

Julian Schmidt (2x)
Thomas Freier (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie