¿¬½ÀÀå(´Ù¹ö¸®°í °©´Ï´Ù...)-³²±æ ±ÛÀÌ ÀÖÀ¸¸é ¹Î°¡ÃÌ¿¡ ³²°ÜÁֽðí, ȸ¿ø °¡ÀÔÀ» ¹ÞÁö ¾Ê½À´Ï´Ù. |
---|
2003/06/14 (20:17) from 61.248.237.181' of 61.248.237.181' | Article Number : 75 |
_Àü | Access : 1989 , Lines : 50 |
ȸéºÐÇÒ |
---|
¿ÞÂÊÆí¿¡´Â Æ®¸®±¸Á¶¸¦ ¿À¸¥ÂÊ¿¡´Â ¸®½ºÆ®¸¦ 2°³(»ó, ÇÏ)·Î ºÐÇÒÇؼ ¾µ·Á°í ±×·¯´Âµ¥... ȸéºÐÇÒÀÌ '¤¿' ÀÌ·± ½ÄÀ¸·Î ÇÒ·Á°í ±×·´´Ï´Ù. --- óÀ½¿¡´Â '¤Ó'·Î ³ª´©°í ±× ¿À¸¥ÂÊ ºä¸¦ °¡Áö°í ´Ù½Ã '¤Ñ'·Î ³ª´©¾î¾ß ÇÕ´Ï´Ù. Çѹø¿¡ '¤¿'·Î ³ª´ ¼ö´Â ¾ø½À´Ï´Ù. CreateStatic(this, 1, 2) ·Î ÀÏ´Ü '¤Ó'·Î ³ª´©°í ³ª¼ CreateView(0,0,¾î¼±¸, Àú¼±¸, )¸¦ ÇÏ°í³ª¼± ´Ù½Ã CreateStaticÀ¸·Î ³ª´©¾î¾ß ÇÒ °Å¿¡¿ä. ¾ÏÅÏ, '¤Ó'¸¦ ³ª´©°í ³ ÈÄ ¿À¸¥ÂÊ ºä¸¦ '¤Ñ'·Î ³ª´©¾î¾ß¸¸ ÇÕ´Ï´Ù. --- ¿ì¼±, CSplitterWnd º¯¼ö°¡ µÎ°³ ÀÖ¾î¾ß ÇÕ´Ï´Ù. ¾Æ·¡ ÄÚµå ÂüÁ¶ÇÏ½Ã¸é ±Ý¹æ ÇϽǰŰí¿ä.. ¿©±â¼ m_MainLayout, m_SubLayout ÀÌ °¢°¢ CSplitterWnd º¯¼öÀÔ´Ï´Ù. if(!m_MainLayout.CreateStatic(this, 1, 2)) { TRACE0("Failed to create nested splitter\n"); return FALSE; } if (!m_MainLayout.CreateView(0, 0, RUNTIME_CLASS(CTestView1), CSize(0,0), pContext)) return FALSE; if(!m_SubLayout.CreateStatic(&m_MainLayout, 2, 1, WS_CHILD|WS_VISIBLE|WS_BORDER, m_MainLayout.IdFromRowCol(0,1))) { TRACE0("Failed to create nested splitter\n"); return FALSE; } if (!m_SubLayout.CreateView(0, 0, RUNTIME_CLASS(CTestView2), CSize(0,0), pContext)) return FALSE; if (!m_SubLayout.CreateView(1, 0, RUNTIME_CLASS(CTestView3), CSize(0,0), pContext)) return FALSE -.Resource¿¡¼ FormView¿¡ ¿¬°áÇÏ´Â ´ÙÀ̾ó·ÎâÀÇ ¼Ó¼ºÀ» Child·Î ¼öÁ¤. -.CSplitterWnd::SetColumnInfo void SetColumnInfo( int col, int cxIdeal, int cxMin ); -.CSplitterWnd::SetRowInfo void SetRowInfo( int row, int cyIdeal, int cyMin ); Ãâó; µ¥ºêÇÇ¾Æ Visual C++ Q&A (2002³â) °ü·Ã ³»¿ëÁ¤¸® |