Click here to Skip to main content
15,887,344 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to write Binary data to a file???? Pin
Cedric Moonen23-Apr-09 3:08
Cedric Moonen23-Apr-09 3:08 
GeneralRe: How to write Binary data to a file???? Pin
David Crow23-Apr-09 3:20
David Crow23-Apr-09 3:20 
QuestionRe: How to write Binary data to a file???? Pin
David Crow23-Apr-09 2:57
David Crow23-Apr-09 2:57 
QuestionHow to determine the Width of a Multiline Rich edit Control Pin
ForNow22-Apr-09 14:06
ForNow22-Apr-09 14:06 
Questionswarm robot motor question Pin
ic3e22-Apr-09 13:19
ic3e22-Apr-09 13:19 
AnswerRe: swarm robot motor question Pin
bulg23-Apr-09 5:50
bulg23-Apr-09 5:50 
GeneralRe: swarm robot motor question Pin
RTek2323-Apr-09 14:30
professionalRTek2323-Apr-09 14:30 
QuestionHelp referencing a list control in a tab control. Pin
FISH78622-Apr-09 8:59
FISH78622-Apr-09 8:59 
I have tried to search on samples to see how I could populate a List control from a function. I have been able to do it without using a tab control. However I am now trying to use a tab control that has 2 pages and have been unsucessful.

If anyone has any samples in getting this accomplished I would greatly appreciate it.

I have m_Dialog[1] = CTableSummary.
In this Dialog I have a IDC_LIST2 = m_summary.
In the function DoDataExchange(CDataExchange* pDX)
DDX_Control(pDx,IDC_LIST2, m_summary);

I have a function thats trying to update that list control.
m_summary.InsertItem(0,EmployeeName);

I have included the TableSummary.h into the function file thats trying to update the list control.

I am getting a compile error left of m_summary must have class/struct/union.

What have i missed or is my insert statement wrong.

I am only having this problem when I use a tab control. It would be stupid of me not to use a tab control since most of the data is summary and details are viewed when there seems to be a problem

Could someone please help.

thanks a million
QuestionRe: Help referencing a list control in a tab control. Pin
David Crow22-Apr-09 9:24
David Crow22-Apr-09 9:24 
AnswerRe: Help referencing a list control in a tab control. Pin
FISH78622-Apr-09 9:25
FISH78622-Apr-09 9:25 
QuestionIObjectSafety Pin
siva45522-Apr-09 8:20
siva45522-Apr-09 8:20 
AnswerRe: IObjectSafety Pin
CPallini22-Apr-09 9:01
mveCPallini22-Apr-09 9:01 
QuestionMouse movements & MOUSEEVENTF_MOVE versus Scroll & Highlight Pin
THAQCD22-Apr-09 6:41
THAQCD22-Apr-09 6:41 
Questionhighlight words in text to speech Pin
Member 282845222-Apr-09 6:18
Member 282845222-Apr-09 6:18 
AnswerRe: highlight words in text to speech Pin
ThatsAlok22-Apr-09 21:41
ThatsAlok22-Apr-09 21:41 
Questionhow to change sound devices in C++ or C# Pin
wgh1689922-Apr-09 5:17
wgh1689922-Apr-09 5:17 
QuestionImplementing a Scroll in an MFC dialog with an OpenGL window Pin
yousuf_227922-Apr-09 4:29
professionalyousuf_227922-Apr-09 4:29 
QuestionSafe ActiveX control.. Pin
p_196022-Apr-09 4:04
p_196022-Apr-09 4:04 
AnswerRe: Safe ActiveX control.. Pin
frx9622-Apr-09 17:10
frx9622-Apr-09 17:10 
Questiontab control and property pages problem Pin
Mihai Andrei Dragnea22-Apr-09 2:40
Mihai Andrei Dragnea22-Apr-09 2:40 
AnswerRe: tab control and property pages problem Pin
_AnsHUMAN_ 22-Apr-09 2:57
_AnsHUMAN_ 22-Apr-09 2:57 
GeneralRe: tab control and property pages problem Pin
Mihai Andrei Dragnea22-Apr-09 3:39
Mihai Andrei Dragnea22-Apr-09 3:39 
AnswerRe: tab control and property pages problem Pin
David Crow22-Apr-09 4:50
David Crow22-Apr-09 4:50 
GeneralRe: tab control and property pages problem Pin
FISH78622-Apr-09 9:09
FISH78622-Apr-09 9:09 
QuestionRe: tab control and property pages problem Pin
David Crow22-Apr-09 9:11
David Crow22-Apr-09 9:11 

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.