| |
|
|
 Clemens Meier | Hallöchen together,
I hope, someone has a Tipp for me. I have a Dialog-Window with several Edit-Feldern (Spinedit) and there should The Enter-keyboard just as react as tab-Button, means of a Editfeld in that next jumping. If I it now make, jumping it evident first at second activate the Entertaste. One umstrukturieren the whole Dialogangaben has too nothing brought. Can The keyboard properly verbiegen? inquire to the Entertaste bring nothing.
Greeting |
|
|
| |
|
|
|
 Clemens Meier | I have whom whole yesterday's day and evening zugebracht, somewhere a Info on The Solution of my Problemes to find. the only half-way brauchbare was the Info in the Posting [...] 
still there functions by me not yet once the detailed example, I get only 3 Buttons in one Dialog-Window To see, no Richedit or sonstiges.
has really nobody a idea, how to make a Editfeld properly to check on can, that The Return-(Enter-)Button abgefangen go can. with scankey and ähnliches have I it already attempts. Works with numbers and letters, but not the Return-Button.
where can I yet search, circa a Solution to find. |
|
|
| |
|
|
|
 | Dochdoch, what You want is in the Grunde very simply, and there Gibts too many many Opportunities.
a) Own WindowProc b) Keyboard-Hook c) GetAsyncKeyState-Api
and and and...
additionally, without the Vorlegen one Sources becomes seldom well helped.  |
|
|
| |
|
|
|
 Frank Abbing | Hi,
You must the Editcontrol with Control(... yourself form and thereby too ES_WANTRETURN settle. On Gerhard Putschalkas Page find You Examples moreover.
Subclassen goes too. and You could The Message.dll of of my Page test times. |
|
|
| |
|
|
|
 Clemens Meier | GetAsynkKeystate-Api is perfect, one must only thereafter one Sleep install, there a possible Loop, in the The request drin stick, faster worn out becomes, as one again from the Button down is  |
|
|
| |
|
|
|
 | |
|
|
|
 Frank Abbing | Teste time these Solution. there can even the Appearance the Edits select. CompileMarkSeparation~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Generiert mit ControlBuilder
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$P+
SetErrorLevel 0
Declare x&, y&, text$, hEdit01&, hEdit02&, hEdit03&, dialog&
SetTrueColor 1
WindowTitle "Hauptfenster"
WindowStyle 31
Window 0, 0, - 24, 24
UseFont "MS Sans Serif",13,0,0,0,0
SetDialogFont 1
dialog& = Create("DIALOG", %hwnd, "Main Window", 211, 206, 336, 333)
hEdit01& = Control("EDIT", "Edit01", $54011000, 80, 40, 165, 22, dialog&, 2001, %hInstance, $00020000)
hEdit02& = Control("EDIT", "Edit02", $54000000, 80, 72, 161, 18, dialog&, 2002, %hInstance, $00020200)
hEdit03& = Control("EDIT", "Edit03", $54001000, 80, 104, 161, 18, dialog&, 2003, %hInstance, $00000101)
While 1
waitInput
If %key=2
BREAK
ElseIf GetFocus(hEdit01&)
ElseIf GetFocus(hEdit02&)
ElseIf GetFocus(hEdit03&)
EndIf
EndWhile
End
|
|
|
| |
|
|