View Full Version : menu check marks
mesman00
June 30th, 2004, 21:18
ok, this should be something fairly simple but after 10 minutes of google searching i haven't come up with the answer, so i'll post here. i am writing an mfc app in visual studio 6. i have a menu that allows the user to select which format they want to view a doc in, html, xml, or txt. the thing i wanna do is put a check mark next to the format the user is displaying the document in. (see screenshot). i take it this shouldn't be that difficult. if it's of any importance i created the menu using the resource editor in visual studio.
BGNG
June 30th, 2004, 23:06
The MSDN Library (http://msdn.microsoft.com/library/) is my first choice for Windows help... And I'm not even a C++ developer. Anyhoo, using their search feature with the query "menu check marks mfc," I found a page (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_cmenu.3a3a.checkmenuitem.asp) that shows how to add check marks to a pop-up menu... It may not be exactly the same as a window menu, but I'm fairly certain it is. If not, you have a really good place to look.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.