MfcMenuButton
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
-
Hello, I need help in using MfcMenuButton, I added such a button to my project, but I can't find how to add the menu to this button ,if somebody know how doing it and can write me the way to do it step by step ,I will vary appreciate it. thanks
CMFCMenuButton bt; //..... bt.Create( _T("Click me"),WS_CHILD | WS_VISIBLE,CRect(100,100,170,130),this,ID_BTN ) // do something // Load menu from resource using CMenu . bt.m_hMenu = m_YourMenuHandle. http://msdn.microsoft.com/en-us/library/bb983215.aspx[^]
If u can Dream... U can do it