Click here to Skip to main content
14,700,220 members
Home » Discussions » ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionEnable a control/window in an MFC dialog, Resolved Pin
bkelly138-Oct-14 15:02
Memberbkelly138-Oct-14 15:02 
AnswerRe: Enable a control/window in an MFC dialog, Resolved Pin
Richard MacCutchan8-Oct-14 22:41
mveRichard MacCutchan8-Oct-14 22:41 
GeneralRe: Enable a control/window in an MFC dialog, Resolved Pin
bkelly139-Oct-14 1:34
Memberbkelly139-Oct-14 1:34 
Questioncontrol ID not found, Resolved Pin
bkelly135-Oct-14 15:25
Memberbkelly135-Oct-14 15:25 
AnswerRe: control ID not found Pin
Richard MacCutchan6-Oct-14 0:46
mveRichard MacCutchan6-Oct-14 0:46 
GeneralRe: control ID not found Pin
bkelly136-Oct-14 15:52
Memberbkelly136-Oct-14 15:52 
GeneralRe: control ID not found Pin
Richard MacCutchan6-Oct-14 22:33
mveRichard MacCutchan6-Oct-14 22:33 
GeneralResolved Pin
bkelly137-Oct-14 15:31
Memberbkelly137-Oct-14 15:31 
Hello Richard,

Quote:
You then say, "A right click on the edit box produced a drop down and "Add variable" was selected.". That part I don't understand, an edit box is just that, a box that you type text into which allows simple editing.

My understanding was that to get the value from a control a variable had to be attached to the control. A right click on that control solicits a dialog to add said variable. This method works when I want to get the state of a check box.

However, Now it is clear that this method does not work with the edit control. Following your template, heck, the exact code you wrote, I am able to get the value entered.

I need to take care when examining the results. A zero return value is legitimate only when status is also TRUE. If status is FALSE, then the returned integer is to be regarded as invalid.

OK, I will work with that.
I thank you for the time you spent explaining this.

Edit: Now I realize, or think I do, that my code was trying to reach inside that edit box, which is really a window itself, and try to find another control with that ID of IDC_EDIT1.
Thank you for your time
If you work with telemetry, please check this bulletin board: www.irigbb.com


GeneralRe: Resolved Pin
Richard MacCutchan7-Oct-14 23:24
mveRichard MacCutchan7-Oct-14 23:24 
QuestionStruct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly1-Oct-14 19:15
MemberJacobkingsly1-Oct-14 19:15 
QuestionRe: Struct with Vector<BYTE> size different in VS2013 Pin
Richard MacCutchan1-Oct-14 22:31
mveRichard MacCutchan1-Oct-14 22:31 
AnswerRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly2-Oct-14 0:05
MemberJacobkingsly2-Oct-14 0:05 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Richard MacCutchan2-Oct-14 0:13
mveRichard MacCutchan2-Oct-14 0:13 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly2-Oct-14 0:26
MemberJacobkingsly2-Oct-14 0:26 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Richard MacCutchan2-Oct-14 0:29
mveRichard MacCutchan2-Oct-14 0:29 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly2-Oct-14 0:31
MemberJacobkingsly2-Oct-14 0:31 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Richard MacCutchan2-Oct-14 0:35
mveRichard MacCutchan2-Oct-14 0:35 
AnswerRe: Struct with Vector<BYTE> size different in VS2013 Pin
Vi21-Oct-14 22:56
MemberVi21-Oct-14 22:56 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly2-Oct-14 0:11
MemberJacobkingsly2-Oct-14 0:11 
AnswerRe: Struct with Vector<BYTE> size different in VS2013 Pin
Shao Voon Wong1-Oct-14 22:56
mvaShao Voon Wong1-Oct-14 22:56 
GeneralRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly2-Oct-14 0:11
MemberJacobkingsly2-Oct-14 0:11 
AnswerRe: Struct with Vector<BYTE> size different in VS2013 Pin
Jacobkingsly3-Oct-14 4:27
MemberJacobkingsly3-Oct-14 4:27 
QuestionPointer to a function parameter Pin
econy24-Sep-14 4:01
Memberecony24-Sep-14 4:01 
AnswerRe: Pointer to a function parameter Pin
Richard MacCutchan24-Sep-14 6:32
mveRichard MacCutchan24-Sep-14 6:32 
GeneralRe: Pointer to a function parameter Pin
econy24-Sep-14 7:47
Memberecony24-Sep-14 7:47 

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.