Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MFC的問題

0 views
Skip to first unread message

nb

unread,
Jan 12, 1999, 3:00:00 AM1/12/99
to
※ 引述《"ycliaw(C.K.)》之銘言:
: 小乖 <jeffhu...@cszone.cc.ntu.edu.tw> wrote:
: Maybe you have to write...
: CButton *theButton = (CButton *)GetDlgItem(<resource id>);
: theButton->GetWindowRect(...);
: the member data: m_ctrlbutton1 is not the object on dialog...
: Good Luck to You
: ycliaw
: ---

Well, 若不想這麼麻煩, 請善用 AppWizard 裏的 DDX_Control(),
按 Ctrl-W 把它加到 member variables 裏.

--
※ Origin: 程式設計樂園 ◆ From: mach09.csie.ntu.edu.tw

0 new messages