Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のプログラムにはCTabCtrlがあり、ユーザーがアクティブなタブを変更するたびに表示/非表示を切り替える3つの「子」* CFormView *があります。
固定サイズを使用する代わりに、囲んでいる CTabCtrl のサイズを変更して、最大の CFormView のサイズに合わせたいと思います。
これを使用できます:
GetDlgItem(IDC_YOURCONTROL)->MoveWindow(xPosInScreen, yPosInScreen, 幅, 高さ);
それが役に立てば幸い。