
Sun, 02/01/2009 - 13:52
Forums:
I've tried examples..but there's no example in Dialog based..
I can modify examples and make some shape I want.
(but it's not dialog based)
I can't make my own project..
Could u tell me how to start ot send me samples
I'd like to see shapes on the Picture Control on the form.
Tell me what do I have to do..plz
Sun, 02/01/2009 - 14:00
frudenumber@hotmail.com
Sun, 02/01/2009 - 22:21
You don't need a Picture control class, just a CWnd derived class covering all OCC functionality.
Instance the class in this way at OnInitDialog(), and that's all:
if (!m_occ.Create(NULL, _T("OCC"), WS_CHILD|WS_VISIBLE, CRect(235, 0, 410, 175), this, IDC_OCC))
like other controls created dinamically.
Sun, 03/11/2012 - 10:51
Hi:
I want to display a 2D truss structure dynamicly,can you tell me how to do or how to find some samples on this topic,thanks very much!
Mon, 02/02/2009 - 04:45
Hi, nice to see a Korean, here!
You can find the example of Dialog based OCC in the HLR sample provided by OCC installation.
It's very simple and not so different with ordinary OCC applications...
I hope this helps...
Sangsu Lee