如何使用OnIdle事件

使用OnIdle事件随时监视剪贴板内容以改变弹出菜单的可执行项。

在Form1的.h的private加上:

在Form1的.cpp内加上:

在Form1的OnCreate内加上: