Font change in CeditView

zhaozj2021-02-16  71

Void CDataView :: OnInitialUpdate () {CEDITVIEW :: OnInitialUpdate ();

Cfont * pfont = new cfont (); cclientdc dc (this); verify (pfont-> createpointfont (100, "Song", & DC);

This-> setfont (pfont, true);

// I don't know why this statement font will not see // delete pfont;}

转载请注明原文地址:https://www.9cbs.com/read-16910.html

New Post(0)