MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / SetChildWidget

Method SetChildWidget

DSView/pv/winnativewidget.cpp:130–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void WinNativeWidget::SetChildWidget(MainFrame *w)
131{
132 _childWidget = w;
133 _childWindow = NULL;
134
135 if (w != NULL){
136 _childWindow = (HWND)w->winId();
137 }
138 else if (_shadow != NULL){
139 _shadow->hideShadow();
140 _shadow->close(); //Set null, the applictoin will exit.
141 }
142}
143
144void WinNativeWidget::ReShowWindow()
145{

Callers 2

closeEventMethod · 0.80
AttachNativeWindowMethod · 0.80

Calls 2

hideShadowMethod · 0.80
closeMethod · 0.80

Tested by

no test coverage detected