|
-
January 16th, 2012, 11:55 AM
#1
Cplitter & Views
Guys please help!
I've created my first Doc/View project using Visual Studio Default project.
I've added a splitter and I'm loading an HTML view to the right side and it works as expected.
<CODE>
CRect rectClient;
GetClientRect(rectClient);
m_wndSplitter.CreateStatic(this, 1, 2);
m_wndSplitter.CreateView(0, 0, pContext->m_pNewViewClass, CSize(0, rectClient.Height() / 2), pContext);
m_wndSplitterCreateView(0, 1, RUNTIME_CLASS(CHtmlView), CSize(0, rectClient.Height() / 2), pContext);
</CODE>
I'm struggling to create a new view that will use CHtmlView but will add a button on the top of the control
--------------------
| Button <- I want to add this button as part of the view...
| Normal HtmlView
Can anyone please help!!!
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
|
Click Here to Expand Forum to Full Width
|