CMFCAcceleratorKey::SetAccelerator
設定 CMFCAcceleratorKey 物件的快速鍵。
void SetAccelerator(
LPACCEL lpAccel
);
參數
- [in] lpAccel
[快速鍵的指標。
備註
請使用這個方法會設定 CMFCAcceleratorKey 的快速鍵,如果沒有提供快速鍵,在建立 CMFCAcceleratorKey。
需求
標題: afxacceleratorkey.h
設定 CMFCAcceleratorKey 物件的快速鍵。
void SetAccelerator(
LPACCEL lpAccel
);
請使用這個方法會設定 CMFCAcceleratorKey 的快速鍵,如果沒有提供快速鍵,在建立 CMFCAcceleratorKey。
標題: afxacceleratorkey.h