popup menu with item checked
false <shuaixh-/[email protected]> Tue, 31 Jul 2012 11:42:30 +0800 (CST)
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <[email protected]> |
CMenu menu; menu.CreatePopupMenu(); menu.AppendMenu(MFT_STRING|DFCS_CHECKED|DFCS_BUTTONCHECK, 1, "name1"); menu.AppendMenu(MFT_STRING, 2, "name2"); menu.AppendMenu(MFT_STRING, 3, "name3"); menu.AppendMenu(MFT_STRING, 4, "name4"); menu.TrackPopupMenu(TPM_LEFTALIGN|TPM_RIGHTBUTTON, point.x, point.y, m_hWnd);
---------------------------------------------i want to create a popup menu with the first item checked, the above code can createa popup menu ,but i don't see any menu item checked, so , what is the problem?
thanks.
[Non-text portions of this message have been removed]
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wtl/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/wtl/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/