FireMonkey2 C++개발시 vkHardwareBack, Menu 버튼 처리 방식 FireMonkey 자료를 찾다 보면 대부분 델파이로 되어 있다. 테스트로 개발을 하면서 확인 한 내용을 잊을까봐 적어 둔다. #include "FMX.Platform.hpp" #include "FMX.VirtualKeyboard.hpp" void __fastcall TMainForm::FormKeyUp(TObject *Sender, WORD &Key, System::WideChar &KeyChar, TShiftState Shift) { _di_IFMXVirtualKeyboardService FService; if (Key == vkHardwareBack) { if (TPlatformServices::Current->SupportsPlatformService( __uuidof(IFMXVirtualKeyb.. 2014. 7. 4. FireMonkey Virtual Keys Virtual Keys Virtual keys provide a symbolic representation of keyboard keys pressed by the user. Virtual keys are used in methods like FMX.Forms.TCommonCustomForm.KeyDown. Virtual key constants define scan codes of keys on PC keyboards. Mac keyboards have different scan codes for some keys. FireMonkey converts Mac scan codes to be equal to the virtual key constants defined in this table. Virtua.. 2014. 6. 6. 이전 1 다음