Click here to Skip to main content
16,005,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Changing From Dialog to Tab Pin
Sujan Christo7-Oct-04 23:00
Sujan Christo7-Oct-04 23:00 
GeneralRe: Changing From Dialog to Tab Pin
Anonymous9-Oct-04 15:01
Anonymous9-Oct-04 15:01 
GeneralPocket PC CListbox font Pin
Jochum Wittebrood7-Oct-04 20:09
Jochum Wittebrood7-Oct-04 20:09 
QuestionDialog Window supporting Database ??? Pin
Member 14198777-Oct-04 19:37
Member 14198777-Oct-04 19:37 
AnswerRe: Dialog Window supporting Database ??? Pin
Sujan Christo7-Oct-04 20:40
Sujan Christo7-Oct-04 20:40 
GeneralRe: Dialog Window supporting Database ??? Pin
Member 14198777-Oct-04 20:48
Member 14198777-Oct-04 20:48 
GeneralRe: Dialog Window supporting Database ??? Pin
Sujan Christo7-Oct-04 21:40
Sujan Christo7-Oct-04 21:40 
GeneralRe: Dialog Window supporting Database ??? Pin
Member 14198777-Oct-04 22:07
Member 14198777-Oct-04 22:07 
My Friend...

I have done what all you said. I made my own class which had the base class as CRecordSet. It asked for the details of the database and everything else. It created the class in which all the field members of the database were accesed by a global variable m_pSet,
for eg. m_pSet -> Name
where Name is a field of the database.

Now i have, say a edit box on my dialog resource, and i want to display the Name field in it. I will go to the class Wizard and Member Variable Tab. there i will have to assign the variable of this edit box, say
IDC_NAME = m_pSet -> Name

Now since there is no CRecordView class, so this cannot happen, which in the normal cases of SDI or MDI which have CRecordView as the base class give the option to assign these variables.

My problem lies here that how to assign any resource variable to the field variable as i said above.

Please do let me know how this can happen....

Pankaj
GeneralRe: Dialog Window supporting Database ??? Pin
Sujan Christo7-Oct-04 22:24
Sujan Christo7-Oct-04 22:24 
GeneralRe: Dialog Window supporting Database ??? Pin
Member 14198777-Oct-04 23:05
Member 14198777-Oct-04 23:05 
Questionhow to store a image using MFC? Pin
pohcb_sonic7-Oct-04 19:14
pohcb_sonic7-Oct-04 19:14 
AnswerRe: how to store a image using MFC? Pin
Rohde7-Oct-04 23:32
Rohde7-Oct-04 23:32 
GeneralADO Recordset Pin
Member 12770837-Oct-04 19:01
Member 12770837-Oct-04 19:01 
GeneralRe: ADO Recordset Pin
Member 14198777-Oct-04 19:27
Member 14198777-Oct-04 19:27 
GeneralRe: ADO Recordset Pin
Kurt _B8-Oct-04 2:31
Kurt _B8-Oct-04 2:31 
GeneralGetting rid of C4005 Pin
Tom Archer7-Oct-04 18:10
Tom Archer7-Oct-04 18:10 
GeneralRe: Getting rid of C4005 Pin
Ryan Binns7-Oct-04 18:13
Ryan Binns7-Oct-04 18:13 
GeneralRe: Getting rid of C4005 Pin
Tom Archer7-Oct-04 18:56
Tom Archer7-Oct-04 18:56 
GeneralRe: Getting rid of C4005 Pin
Ryan Binns7-Oct-04 20:58
Ryan Binns7-Oct-04 20:58 
GeneralRe: Getting rid of C4005 Pin
Tom Archer8-Oct-04 1:20
Tom Archer8-Oct-04 1:20 
GeneralRe: Getting rid of C4005 Pin
Ryan Binns8-Oct-04 4:25
Ryan Binns8-Oct-04 4:25 
QuestionDirectdrawsurface gets lost??? Pin
Dani1000017-Oct-04 17:18
Dani1000017-Oct-04 17:18 
GeneralFullscreen C++ Apps Pin
Makutu7-Oct-04 16:12
Makutu7-Oct-04 16:12 
GeneralRe: Fullscreen C++ Apps Pin
Alexander Shevchenko7-Oct-04 18:13
Alexander Shevchenko7-Oct-04 18:13 
GeneralRe: Fullscreen C++ Apps Pin
Makutu8-Oct-04 11:45
Makutu8-Oct-04 11:45 

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.