Click here to Skip to main content
15,900,425 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ikspropertset declaring variable ksps Pin
Member 1326135415-Jun-17 8:35
Member 1326135415-Jun-17 8:35 
GeneralRe: ikspropertset declaring variable ksps Pin
Richard MacCutchan15-Jun-17 8:49
mveRichard MacCutchan15-Jun-17 8:49 
GeneralRe: ikspropertset declaring variable ksps Pin
jeron116-Jun-17 5:31
jeron116-Jun-17 5:31 
QuestionHow to make LDPC parity check matrix H from non-systematic to systematic in C/C++ Pin
Member 1326117515-Jun-17 1:42
Member 1326117515-Jun-17 1:42 
QuestionDynamically create memory based on 2 different struture templates Pin
manoharbalu14-Jun-17 1:19
manoharbalu14-Jun-17 1:19 
AnswerRe: Dynamically create memory based on 2 different struture templates Pin
Richard MacCutchan14-Jun-17 4:32
mveRichard MacCutchan14-Jun-17 4:32 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
manoharbalu14-Jun-17 20:27
manoharbalu14-Jun-17 20:27 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
Richard MacCutchan14-Jun-17 22:40
mveRichard MacCutchan14-Jun-17 22:40 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
manoharbalu14-Jun-17 22:44
manoharbalu14-Jun-17 22:44 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
Richard MacCutchan14-Jun-17 23:18
mveRichard MacCutchan14-Jun-17 23:18 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
manoharbalu15-Jun-17 0:34
manoharbalu15-Jun-17 0:34 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
Richard MacCutchan15-Jun-17 1:11
mveRichard MacCutchan15-Jun-17 1:11 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
leon de boer15-Jun-17 8:06
leon de boer15-Jun-17 8:06 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
manoharbalu15-Jun-17 19:54
manoharbalu15-Jun-17 19:54 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
leon de boer16-Jun-17 4:14
leon de boer16-Jun-17 4:14 
QuestionValue for a structure is not showing in watch window in VS2008 Pin
manoharbalu12-Jun-17 1:14
manoharbalu12-Jun-17 1:14 
AnswerRe: Value for a structure is not showing in watch window in VS2008 Pin
Richard MacCutchan12-Jun-17 6:26
mveRichard MacCutchan12-Jun-17 6:26 
GeneralRe: Value for a structure is not showing in watch window in VS2008 Pin
manoharbalu12-Jun-17 19:14
manoharbalu12-Jun-17 19:14 
GeneralRe: Value for a structure is not showing in watch window in VS2008 Pin
leon de boer12-Jun-17 20:57
leon de boer12-Jun-17 20:57 
QuestionHooking file move with shell extension? Pin
TheHeadlessSourceMan10-Jun-17 21:25
TheHeadlessSourceMan10-Jun-17 21:25 
AnswerRe: Hooking file move with shell extension? Pin
Jochen Arndt11-Jun-17 0:34
professionalJochen Arndt11-Jun-17 0:34 
GeneralRe: Hooking file move with shell extension? Pin
Richard MacCutchan11-Jun-17 1:20
mveRichard MacCutchan11-Jun-17 1:20 
QuestionDisable a textbox based on combo box choice Pin
lolici7-Jun-17 23:07
lolici7-Jun-17 23:07 
AnswerRe: Disable a textbox based on combo box choice Pin
Jochen Arndt7-Jun-17 23:37
professionalJochen Arndt7-Jun-17 23:37 
To disable a control you have to call EnableWindow(FALSE) but in your code snippet you are passing TRUE.

I understand also that the text box is part of the dialog and not of your view. Then you have to use
if (m_Layers == 2) {
    DialogWindow.GetDlgItem(IDC_Permeability)->EnableWindow(FALSE);
}

It is also not clear if the member variables of your dialog are controls (CEdit, CComboBox) or values (CString, int). Your code is correct for value types but not for control types (which is indicated by "a text box (named m_EarthPermeability)").
GeneralRe: Disable a textbox based on combo box choice Pin
lolici8-Jun-17 3:44
lolici8-Jun-17 3:44 

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.