Solved

initializing top level menu check options

Posted on 1998-07-30
1
172 Views
Last Modified: 2013-11-19
In the top level menu I want to have an option which is checkable.  I also want to be able to set or clear the check condition before the user sees the option for the first time.  If I make the option checkable using the resource editor, it always comes up checked.  It only seems to toggle based on the user action.  What's the trick?
0
Comment
Question by:Ashurbanipal
1 Comment
 
LVL 7

Accepted Solution

by:
galkin earned 70 total points
Comment Utility
Add UPDATE_COMMAND_UI message handler and call pCmdUI->SetCheck
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now