| |
|
|
Manfred Barei | Hi,
who can help, need Info to a Message. It's all right circa following Message,
$00B8 : em_GetModify determined, whether a Edit box changed watts.
gives it these Message too for a CHOICEBOX?, i want gladly Verify whether a Choicebox changed watts, unless, must I it differently make.
thanks in the ahead
Grus from the Heath |
|
|
| Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 | | 12/20/07 ▲ |
|
|
|
|
Jac de Lad | so far I know Gibts not, but you should it intercepting can, if You The Combobox with GetText$() to waitinput abgreifst and vergleichst with the previous worth (Save). so erkennst You, whether the Content by keyboard changed watts or one anderee entry select watts.
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 12/20/07 ▲ |
|
|
|
|
| the example CompileMarkSeparation {$cleq}
windowstyle 512 | 8 | 16 | 32
cls
long cb=createChoiceBox(hwnd,oO,10,10,100,100)
addwindows
moveListToHandle(cb)
sendMessage(cb,cb_setcursel,0,1)
userMessages wm_close
do {
settext hwnd,getstring$(cb,getcursel(cb))+/+str$(gettickcount)
waitInput
case %uMessage==wm_close : break
}
end
shows the Waitinput in the Normalfall to Choiceboxauswahl leave becomes. its now one Leichtes over einfachen Stringvergleich herauszuprüfen whether the entry changed has, what Specifically in this drop too To recommend would. |
|
|
| |
|
|
|
Jörg Sellmeyer | Dou you mean objectively a Choicebox or the Editfeld of/ one editierbaren Choicebox? |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 12/21/07 ▲ |
|
|
|
|
ByteAttack | if i remember rightly, gabs under PRFellow time one New Ereignissmodell etc.. there could one igendwie with WMNotifyHandler and CBN_SELCHANGE The whole thing transact. |
|
|
| |
|
|
|
Manfred Barei | Hi,
I make it now over String comparison, but it had indeed his can the it a Message How with Edits gives. means moreover over String comparison.
thanks!!!
Grus Manfred |
|
|
| Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 | | 12/21/07 ▲ |
|
|
|
|
Andreas Miethe
| there's already Messages ! CompileMarkSeparation $H Messages.ph
Usermessages ~WM_COMMAND
Declare s&,a&
Declare hWin&, hCombo&, Quit&
CLS
hCombo& = @Create(ChoiceBox, %hwnd, 0, 100, 10, 280, 150)
WhileLoop 1, 10, 1
@AddChoice(hCombo&, Test +str$(&Loop))
EndWhile
Sendmessage(hCombo&,~CB_SETCURSEL,0,0)
S& = GetCurSel(hCombo&)sichern
Quit& = 0
Repeat
waitinput
If %Key = 2
Quit& = 1
EndIf
If %UMessage = ~WM_COMMAND
If HiWord(&Uwparam) = ~CBN_EDITCHANGE
Print EDIT Geändert
elseIf Hiword(&uwParam) = ~CBN_SELCHANGE
a& = GetCursel(hCombo&)
If a& <> S&
Print geändert
s& = a&
Endif
endif
Endif
Until Quit& = 1
../Function-References/XProfan/end/'>End
|
|
|
| Gruss Andreas ________ ________ ________ ________ _ Profan 3.3 - XProfanX2 Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher Homepage : [...] | 12/22/07 ▲ |
|
|
|