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

C / C++ / MFC

 
GeneralRe: GDI+ Pin
Mazdak8-Feb-02 19:19
Mazdak8-Feb-02 19:19 
GeneralPocket PC 2002 SDK Pin
8-Feb-02 7:55
suss8-Feb-02 7:55 
GeneralRe: Pocket PC 2002 SDK Pin
Paul M Watt8-Feb-02 8:26
mentorPaul M Watt8-Feb-02 8:26 
GeneralRe: Pocket PC 2002 SDK Pin
8-Feb-02 20:58
suss8-Feb-02 20:58 
QuestionSend AT command (MODEM)via the Serialport ? Pin
youssef8-Feb-02 7:27
youssef8-Feb-02 7:27 
AnswerRe: Send AT command (MODEM)via the Serialport ? Pin
Hadi Rezaee8-Feb-02 8:26
Hadi Rezaee8-Feb-02 8:26 
GeneralRe: Send AT command (MODEM)via the Serialport ? Pin
youssef8-Feb-02 23:35
youssef8-Feb-02 23:35 
GeneralUrgent help needed Pin
Brian V Shifrin8-Feb-02 7:23
Brian V Shifrin8-Feb-02 7:23 
I am trying to embed view inside custom tab

More like DiLascia tab.....

http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0599/c++/c++0599.htm&nav=/msj/0599/newnav.htm

So far
 
SDIFrame
 CMyView
   CList
   CStatic
   ....
   CFolderTab
    CView1
      CEditN
    CView2
   .....

Create CView1/CView2 

CRect rectDummy(0, 0, 0, 0);
CreateContext cc;
ZeroMemory(&cc, sizeof(cc));
m_pView1 = (CView1 *)RUNTIME_CLASS(CView1)->CreateObject();
if (!m_pView1 ||
   !((CWnd *)m_pView1 )->Create(NULL, NULL, WS_CHILD, 
     rectDummy, m_pFlatTabCtrl, IDC_CONNECTION_G_PROPERTIES, &cc))
{
    TRACE0( "Failed to create View1.\n" );
    return -1;
}
folderTab.AddPage(0,m_pView1);

View looks fine and DDX*, DDV work in View1,

But when focus set to CEditN within CView1 no messages routed to CMyView.  

What am I missing?

GeneralRe: Urgent help needed Pin
wangyiming8-Feb-02 15:22
wangyiming8-Feb-02 15:22 
GeneralTooltips dont appear on top of popup dialogs Pin
Andy Latham8-Feb-02 5:44
Andy Latham8-Feb-02 5:44 
GeneralRe: Tooltips dont appear on top of popup dialogs Pin
Shog912-Feb-02 5:40
sitebuilderShog912-Feb-02 5:40 
General[VC++6.0]Need to know... Pin
8-Feb-02 4:25
suss8-Feb-02 4:25 
GeneralRe: [VC++6.0]Need to know... Pin
Mazdak8-Feb-02 6:30
Mazdak8-Feb-02 6:30 
GeneralRe: [VC++6.0]Need to know... Pin
lucy8-Feb-02 8:52
lucy8-Feb-02 8:52 
GeneralTab bcakground color in XP.. Pin
Neha8-Feb-02 3:23
Neha8-Feb-02 3:23 
GeneralSetBkmode().. Pin
8-Feb-02 2:24
suss8-Feb-02 2:24 
GeneralRe: SetBkmode().. Pin
Roger Allen8-Feb-02 3:16
Roger Allen8-Feb-02 3:16 
GeneralRe: SetBkmode().. Pin
8-Feb-02 16:56
suss8-Feb-02 16:56 
GeneralCreating a Region from a bitmap Pin
Jon Hulatt8-Feb-02 2:22
Jon Hulatt8-Feb-02 2:22 
GeneralRe: Creating a Region from a bitmap Pin
Stan Shannon8-Feb-02 2:36
Stan Shannon8-Feb-02 2:36 
GeneralRe: Creating a Region from a bitmap Pin
Joaquín M López Muñoz8-Feb-02 2:32
Joaquín M López Muñoz8-Feb-02 2:32 
Generalspecial characters in static text Pin
8-Feb-02 1:51
suss8-Feb-02 1:51 
GeneralRe: special characters in static text Pin
Roger Allen8-Feb-02 3:20
Roger Allen8-Feb-02 3:20 
GeneralRe: special characters in static text Pin
8-Feb-02 22:07
suss8-Feb-02 22:07 
Generalno more debugging FAQ. Pin
8-Feb-02 1:43
suss8-Feb-02 1:43 

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.