This content has been marked as final.
Show 2 replies
-
1. Re: Need your help on sADMItem->SetTrackProc usage
Polda1 Oct 1, 2008 6:32 AM (in response to andrejusc)Hi,
I strongly recommend not to invest your time in ADM any more.
However, solution to your problem is to use ADM notifiers instead of Tracks.
Attatch ADM Notifier to your field:
sADMItem->SetNotifyProc(sADMDialog->GetItem(YourDialog, IDC), YourNotifierFunc);
and when the YourNotifierFunc is called, check the type:
if( (sADMNotifier->IsNotifierType(inNotifier, kADMIntermediateChangedNotifier)) ) ...
You get better results with that.
Polda -
2. Re: Need your help on sADMItem->SetTrackProc usage
andrejusc Oct 1, 2008 10:13 AM (in response to andrejusc)Hi Polda,
I was albe to solve my issue with Track handler in such way inside its procedure:
ADMAction thisAction = sADMTracker->GetAction(tracker);
if (thisAction == kADMKeyStrokeAction) {
char str[256];
sADMItem->GetText(item, str, sizeof(str)*sizeof(char));
...
It works for me like a charm.
