-
Creating Multiple CRecordViews for a CRecordSet
I'm new to visual C++ and I'm trying to create a database program with multiple
record views. How do you open multiple record views? Here is the code I've
tried to open the window.
void CAnyView::OnAddResident()
{
CChildFrame* MyChildFrame = new CChildFrame();
MyChildFrame->Create(NULL,"CHILD",WS_CHILD|WS_OVERLAPPEDWINDOW|WS_VISIBLE,CRect(0,0,500,500),NULL,NULL) ;
CAddResidentRView* MyResidentRView = new CAddResidentRView();
MyResidentRView->Create(NULL,"CHILD",WS_CHILD,CRect(0,0,400,400),MyChildFrame,1234);
}
Can anyone help? Does anyone even know what I mean?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks