typedef void (__cdecl * PressHandler)(PTRSZVAL psv, PKEY_BUTTON key);
{ CTEXTSTR name; POINTER data = NULL; for( name = GetFirstRegisteredName( WIDE("sack/widgets/keypad/press handler"), &data ); name; name = GetNextRegisteredName( &data ) ) { // add name to a list of available methods to hook to keys for external configuration... SetItemData( AddListItem( (PSI_CONTROL)list, name ) ,(PTRSZVAL)GetRegisteredProcedure2( data, void, name, (PTRSZVAL,PKEY_BUTTON) ); } }
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|