Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MFC でツールバーを作成しましたが、ボタンの 1 つにポップアップ メニューを追加しようとしています。誰でもこれを行うためのヒントを教えてください。
実際、ツールバーのボタンに付いていた下矢印を表示する方法がわかりません。
ありがとう
これを参照してください http://msdn.microsoft.com/en-us/library/1ke6s1fc(v=vs.80).aspx
ポップアップ メニューを作成するために、この関数をオーバーライドしました。
afx_msg int OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl);