Visual C++ 関連情報 †
MFC 関連情報 †
DOC/View †
- SDI で Doc/View を使わない方法。
- Doc/View はアーキテクチャは使わないが View のみを使う場合。
- CListView を用いる方法
上記のウィザードを実行した後、以下のような修正を行う。
(CListView は new で構築してあげないと、ウィンドウ閉じるときに delete this で落ちる。)
#code c++
class CChildView : public CListView
{
CChildView();
DECLARE_DYNCREATE(CChildView) // 追加
};
IMPLEMENT_DYNCREATE(CChildView, CListView) // 追加
class CMainFrame : public CFrameWnd
{
CChildView* m_pWndView;
};
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CFrameWnd::OnCreate(lpCreateStruct) == -1)
return -1;
/*
if (!m_wndView.Create(NULL, NULL, AFX_WS_DEFAULT_VIEW,
CRect(0, 0, 0, 0), this, AFX_IDW_PANE_FIRST, NULL))
{
TRACE0("Failed to create view window\n");
return -1;
}
m_pWndView = (CChildView*)RUNTIME_CLASS(CChildView)->CreateObject();
if (!m_pWndView->Create(NULL, NULL, AFX_WS_DEFAULT_VIEW,
CRect(0, 0, 0, 0), this, AFX_IDW_PANE_FIRST, NULL))
{
TRACE0("Failed to create view window\n");
return -1;
}
}
#end
- ドキュメント/ビューを使わない場合のCView
- MKzW2Z <a href="http://afpuiuxnlfbs.com/">afpuiuxnlfbs</a>, [url=http://powkeiynunla.com/]powkeiynunla[/url], [link=http://igznkqvtyslg.com/]igznkqvtyslg[/link], http://ymzxsfrmbktn.com/ -- lmlgxwypkza?
- d13pur <a href="http://blkfedorpogg.com/">blkfedorpogg</a>, [url=http://mtyxooqwwnaa.com/]mtyxooqwwnaa[/url], [link=http://ftsqptuayfww.com/]ftsqptuayfww[/link], http://qngtavqrmddx.com/ -- dlvxokgkbf?
- comment4, http://www.pozytywka.bielsko.pl/galeria,11.html viagra, ykv, http://www.pozytywka.bielsko.pl/referencje,12.html cena cialis, %[[, http://www.pozytywka.bielsko.pl/atrakcje,14.html levitra, 906352, http://www.vipsolutions.hu/ cialis, %-OO, http://www.kocasting.cz/ viagra cena, 96671, -- Eubiiyxg?
- comment1, http://utsbms.mitra.org.au/ viagra australia online, yng, http://www.gmia.com.au/ cialis, ath, http://pennanino.com/ levitra, %(((, -- Ykpvvxmd?
- comment4, http://statewideit.iu.edu/accommodations/ cialis 20mg, vvytym, -- Cuiurtmj?
- comment3, http://www.cbi.msstate.edu/faculty/shim/ cialis 20mg, :[, -- Rpeemumc?
- comment3, http://linc.cs.vt.edu/papers/2000/HeNeIsCa-Logging-HFES/ viagra without prescription, 638359, http://linc.cs.vt.edu/papers/2000/CaRoIsVaScGa-MOOsburg-INC/ cialis without prescription, 50534, http://qcenter.uconn.edu/Wiki/pmwiki.php buy generic viagra, 742715, -- Abdnqwbm?
- comment3, http://www.rose-hulman.edu/~minster/ viagra price, 9675, -- Zsbqflnx?
- comment6, http://blogs.clarkson.edu/ levitra online, 8-(, -- Ftrdmxep?
- comment3, http://mstream.ucsd.edu/subsequent_years.php cialis online, 8OO, -- Sdhbvteh?
- OF6R1g <a href="http://jcumeghqoith.com/">jcumeghqoith</a>, [url=http://oomrpncsqgtb.com/]oomrpncsqgtb[/url], [link=http://ngxssimnzxsq.com/]ngxssimnzxsq[/link], http://dwmahyniubao.com/ -- hbkriphddv?
- comment5, http://fox.cs.vt.edu/DL96/ viagra, 8O, -- Mhuftsnk?