Click here to Skip to main content
15,921,250 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting Selection from CHTMLEditView Pin
Tom Archer26-Jul-03 2:35
Tom Archer26-Jul-03 2:35 
GeneralRe: Getting Selection from CHTMLEditView Pin
Matt Gates26-Jul-03 15:58
Matt Gates26-Jul-03 15:58 
GeneralRe: Getting Selection from CHTMLEditView Pin
Niall Barr26-Jul-03 4:30
professionalNiall Barr26-Jul-03 4:30 
Questionhow to make a groupbox's title transparent Pin
allenhu25-Jul-03 15:28
allenhu25-Jul-03 15:28 
AnswerRe: how to make a groupbox's title transparent Pin
Tom Archer25-Jul-03 17:15
Tom Archer25-Jul-03 17:15 
GeneralSymbolic Link, I think Pin
amleth25-Jul-03 15:02
amleth25-Jul-03 15:02 
GeneralRe: Symbolic Link, I think Pin
jbannon25-Jul-03 22:50
jbannon25-Jul-03 22:50 
GeneralEnabling/Disabling Menu Items Pin
Frank Deo25-Jul-03 14:41
Frank Deo25-Jul-03 14:41 
Hello all,

I know I've done this before, but my code notes don't reflect it, and I can't for the life of me remember how to do it. It's probably easy, but the easy solutions always illude me. Smile | :)

My app needs to either process data, or not process data at startup depending on a registry setting. The user is also able to stop or start the process via a menu item. If the process is started at startup, then the stop menu item needs to be enabled and the start menu item needs to be disabled. If the process is stopped at startup, then the opposite must occur in the menu's. The registry setting is read at startup.

Here's my questions:

1. Where does the registry read function go? OnCreateClient, or PreCreateWindow?
2. In the Update functions for each menu ie start process and stop process, how do I enable one and disable the other, and vice versa.

Thanks!
Frank

"Keyboard Error - Press F1 to Continue"
GeneralRe: Enabling/Disabling Menu Items Pin
Chris Maunder25-Jul-03 15:01
cofounderChris Maunder25-Jul-03 15:01 
GeneralRe: Enabling/Disabling Menu Items Pin
Frank Deo25-Jul-03 16:51
Frank Deo25-Jul-03 16:51 
GeneralRe: Enabling/Disabling Menu Items Pin
Toni7825-Jul-03 15:03
Toni7825-Jul-03 15:03 
GeneralRe: Enabling/Disabling Menu Items Pin
Frank Deo25-Jul-03 16:52
Frank Deo25-Jul-03 16:52 
GeneralRe: Enabling/Disabling Menu Items Pin
Toni7826-Jul-03 7:45
Toni7826-Jul-03 7:45 
GeneralGetting selected folder in a namespace extension Pin
Mike Hartway25-Jul-03 14:27
Mike Hartway25-Jul-03 14:27 
GeneralHelp Pin
Snyp25-Jul-03 13:34
Snyp25-Jul-03 13:34 
GeneralRe: Help Pin
Beer2625-Jul-03 13:42
Beer2625-Jul-03 13:42 
GeneralRe: Help Pin
Snyp25-Jul-03 13:51
Snyp25-Jul-03 13:51 
GeneralRe: Help Pin
Beer2625-Jul-03 13:53
Beer2625-Jul-03 13:53 
QuestionHow to set default view with CFileDialog Pin
plsmith25-Jul-03 12:30
plsmith25-Jul-03 12:30 
AnswerRe: How to set default view with CFileDialog Pin
Neville Franks25-Jul-03 13:21
Neville Franks25-Jul-03 13:21 
GeneralRe: How to set default view with CFileDialog Pin
plsmith25-Jul-03 13:52
plsmith25-Jul-03 13:52 
GeneralRe: How to set default view with CFileDialog Pin
Neville Franks26-Jul-03 12:01
Neville Franks26-Jul-03 12:01 
GeneralDDK Problems Pin
yitzhak25-Jul-03 11:36
yitzhak25-Jul-03 11:36 
GeneralRe: DDK Problems Pin
Toni7825-Jul-03 12:24
Toni7825-Jul-03 12:24 
GeneralRe: DDK Problems Pin
yitzhak26-Jul-03 8:16
yitzhak26-Jul-03 8:16 

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.