CContainedWindow::SubclassWindow

BOOL SubclassWindow (HWND hWnd );

ส่งกลับค่า

TRUEถ้าหน้าต่างสำเร็จ subclassed มิฉะนั้นเท็จ?

พารามิเตอร์

hWndnbsp & nbsp;

[ใน] หมายเลขอ้างอิงไปยังหน้าต่างที่ถูก subclassed?

หมายเหตุ

ชั้นย่อยหน้าต่างจะถูกระบุด้วยhWndและแนบไปวัตถุCContainedWindow นอกจากนี้หน้าต่าง subclassed ตอนนี้ใช้CContainedWindow::WindowProc กระบวนการหน้าต่างต้นฉบับจะถูกบันทึกไว้ในm_pfnSuperWindowProc?

หมายเหตุnbsp  ไม่เรียกSubclassWindowถ้าคุณได้เรียกว่าสร้าง(&N)?

ภาพรวม CContainedWindow |nbsp สมาชิกของคลาส(&N)

ดูเพิ่มเติม

CContainedWindow::UnsubclassWindow

Index