getting BricsCad main window device context
It is possible to obtain the device context for BricsCad current main active window in order to use, for example, GetGlyphOutline(...) device context function?I try the following , doesn't matter the rest of the function parameters:DWORD BufferSize;(CWnd::FromHandle(CBcApp::get().getBcadMainHwnd()))->GetDC()->GetGlyphOutline(m_Char,GGO_NATIVE,&gm,BufferSize,NULL,&Matrix);What is wrong, the BufferSize is still remain on 0 value!Ioan
0