docking toolbar and general ObjectARX problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've had problems trying to get a custom docking toolbar working. I'm using ObjectARX/C++ with MFC, and inherited from CAcUiDockControlBar. The toolbar appears, and it docks properly, but the visuals are off. When docked the bar has the standard border and title bar as expected; but when floating the title bar is gone instead replaced by the standard win32 dialog title/border (not the nice dark rounded AutoCAD look with the title bar on the left). I've looked through all the methods of CAcUiDockControlBar and could find nothing related to visual styles or the like. The closest thing I've looked at that seems to be along the lines of what I'm looking for is CAdUiDockFrame but the help files state "for internal use only"
I'm quite proficient with C++ and Win32 programming (granted I am new to MFC) and yet I still find myself repeatedly stymied by this SDK. The help files are very poorly written and often contain errors and/or are very old. All the forum posts/online examples seem to be even older. I'm honestly not sure where to go for good up-to-date information. The dearth of information has left me perplexed, as any other large program I've writting pluings for has had a plethora of online information as well as an active forum community, which just doesn't seem to exist for AutoCAD. Is the ObjectARX C++ part deprecated and should I be moving to .net? Is no one writting plugins for AutoCAD anymore?
Also there isn't a good explanation on why there seems to be 3-4 different ways to do any one thing (what's the difference between the AcUi* and AdUi* classes? why prefere one over the other? Are the MFC just wrappers around the ActiveX components and how do they play into this? Is the ObjectARX C++ part deprecated and should I be moving to .net?, ect...).
Any thoughts, links to better/more up to date documention/samples, or any other help would be much appreciated.