MCPcopy Create free account
hub / github.com/cinience/RedisStudio / InitDefaultParaFormat

Function InitDefaultParaFormat

DuiLib/Control/UIRichEdit.cpp:206–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206HRESULT InitDefaultParaFormat(CRichEditUI* re, PARAFORMAT2* ppf)
207{
208 memset(ppf, 0, sizeof(PARAFORMAT2));
209 ppf->cbSize = sizeof(PARAFORMAT2);
210 ppf->dwMask = PFM_ALL;
211 ppf->wAlignment = PFA_LEFT;
212 ppf->cTabCount = 1;
213 ppf->rgxTabs[0] = lDefaultTab;
214
215 return S_OK;
216}
217
218HRESULT CreateHost(CRichEditUI *re, const CREATESTRUCT *pcs, CTxtWinHost **pptec)
219{

Callers 1

InitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected