mvc - In which function are the creation and initialization of controls in MFC written? OnCreate or OnInitialUpdate?
ringa_lee
ringa_lee 2017-05-16 17:06:45
0
1
503

The application scenario is a single document program, base class CFormView;
I now create and initialize a TAB control in the OnInitialUpdate function, but there is no way to do the MoveWindow operation in OnSize. The analysis is that OnInitialUpdate has not been executed when OnSize is called.
I don’t know if you usually initialize the controls on the interface in OnInitialUpdate or OnCreate or some other function.

ringa_lee
ringa_lee

ringa_lee

reply all(1)
曾经蜡笔没有小新

Generally in OnCreate

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!