void Pusher::PseudoPush() { if(IsReadOnly() || !IsEnabled()) return; KeyPush(); Sync(); Sleep(50); FinishPush(); }
class MyButton:public Button{ public: MyButton() {} ~MyButton() {} void PseudoDown(){ if(IsReadOnly() || !IsEnabled()) return; KeyPush(); Sync(); } void PseudoUp(){ FinishPush(); } };
Report message to a moderator