Click here to Skip to main content
15,881,092 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCRegKey Pin
p_196024-Apr-09 18:03
p_196024-Apr-09 18:03 
AnswerRe: CRegKey Pin
CPallini24-Apr-09 21:59
mveCPallini24-Apr-09 21:59 
QuestionSelf-Taught C++? Pin
steve7606324-Apr-09 11:36
steve7606324-Apr-09 11:36 
QuestionRe: Self-Taught C++? Pin
CPallini24-Apr-09 11:52
mveCPallini24-Apr-09 11:52 
AnswerRe: Self-Taught C++? Pin
steve7606324-Apr-09 12:22
steve7606324-Apr-09 12:22 
AnswerRe: Self-Taught C++? Pin
N a v a n e e t h24-Apr-09 17:09
N a v a n e e t h24-Apr-09 17:09 
QuestionEnable/Disable menu items programmatically Pin
john john mackey24-Apr-09 8:18
john john mackey24-Apr-09 8:18 
AnswerRe: Enable/Disable menu items programmatically Pin
David Crow24-Apr-09 8:36
David Crow24-Apr-09 8:36 
john john mackey wrote:
I want to disable (grey out) certain menu items when the files it needs are not available.


That can easily be handled by adding an ON_UPDATE_COMMAND_UI macro in your message map. In the handler for that message, simply return TRUE/FALSE to enable/disable that particular menu item.

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


GeneralRe: Enable/Disable menu items programmatically Pin
john john mackey24-Apr-09 10:29
john john mackey24-Apr-09 10:29 
QuestionRe: Enable/Disable menu items programmatically Pin
David Crow24-Apr-09 10:32
David Crow24-Apr-09 10:32 
AnswerRe: Enable/Disable menu items programmatically Pin
john john mackey24-Apr-09 10:42
john john mackey24-Apr-09 10:42 
QuestionRe: Enable/Disable menu items programmatically Pin
David Crow24-Apr-09 10:46
David Crow24-Apr-09 10:46 
AnswerRe: Enable/Disable menu items programmatically Pin
john john mackey24-Apr-09 11:26
john john mackey24-Apr-09 11:26 
AnswerRe: Enable/Disable menu items programmatically Pin
john john mackey27-Apr-09 11:22
john john mackey27-Apr-09 11:22 
GeneralRe: Enable/Disable menu items programmatically Pin
David Crow28-Apr-09 3:04
David Crow28-Apr-09 3:04 
QuestionGetting clipboard paste notification. Pin
Green Fuze24-Apr-09 4:47
Green Fuze24-Apr-09 4:47 
AnswerRe: Getting clipboard paste notification. Pin
led mike24-Apr-09 5:16
led mike24-Apr-09 5:16 
GeneralRe: Getting clipboard paste notification. Pin
CPallini24-Apr-09 5:42
mveCPallini24-Apr-09 5:42 
GeneralRe: Getting clipboard paste notification. Pin
Green Fuze24-Apr-09 10:53
Green Fuze24-Apr-09 10:53 
GeneralRe: Getting clipboard paste notification. Pin
Green Fuze24-Apr-09 10:52
Green Fuze24-Apr-09 10:52 
QuestionRe: Getting clipboard paste notification. Pin
David Crow24-Apr-09 6:04
David Crow24-Apr-09 6:04 
AnswerRe: Getting clipboard paste notification. Pin
Green Fuze24-Apr-09 10:58
Green Fuze24-Apr-09 10:58 
AnswerRe: Getting clipboard paste notification. Pin
wguerram2-Apr-10 5:27
wguerram2-Apr-10 5:27 
QuestionIs there any way to display info for password is strong or not like in MBSA show Pin
ashish8patil24-Apr-09 2:49
ashish8patil24-Apr-09 2:49 
AnswerRe: Is there any way to display info for password is strong or not like in MBSA show Pin
Stuart Dootson24-Apr-09 3:46
professionalStuart Dootson24-Apr-09 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.