MCPcopy Create free account
hub / github.com/LegacyUpdate/LegacyUpdate / DoVerb

Method DoVerb

LegacyUpdate/ProgressBarControl.cpp:180–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180STDMETHODIMP CProgressBarControl_IOleObject::DoVerb(LONG iVerb, LPMSG lpmsg, IOleClientSite *pActiveSite, LONG lindex, HWND hwndParent, LPCRECT lprcPosRect) {
181 switch (iVerb) {
182 case OLEIVERB_INPLACEACTIVATE:
183 case OLEIVERB_UIACTIVATE:
184 case OLEIVERB_SHOW:
185 if (hwndParent && lprcPosRect) {
186 HRESULT hr = m_pParent->CreateControlWindow(hwndParent, lprcPosRect);
187 CHECK_HR_OR_RETURN(L"CreateControlWindow");
188 }
189 return S_OK;
190
191 case OLEIVERB_HIDE:
192 return S_OK;
193
194 default:
195 return OLEOBJ_S_INVALIDVERB;
196 }
197}
198
199STDMETHODIMP CProgressBarControl_IOleObject::GetMiscStatus(DWORD dwAspect, DWORD *pdwStatus) {
200 if (pdwStatus == NULL) {

Callers

nothing calls this directly

Calls 1

CreateControlWindowMethod · 0.80

Tested by

no test coverage detected