useofficefont function |
Post Reply |
Author | |
tallycom
Newbie Joined: 04 December 2003 Location: United Kingdom Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 28 December 2003 at 2:02am |
it occor access violation !!! how can solve this problem..? thx BOOL CMonitoringApp::InitInstance() XTPPaintManager()->UseOfficeFont(TRUE); // access violation XTPPaintManager()->RefreshMetrics(); xtAfxData.SetGlobalFont("Tahoma");
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
You must move this code after InitCommandBars() call in the CMainFrame::OnCreate. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |