![]() |
DockingPane in C#: "Member Not Found" |
Post Reply ![]() |
Author | |
Boyd ![]() Senior Member ![]() Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
![]() ![]() ![]() ![]() ![]() Posted: 16 July 2004 at 11:01am |
When trying to use the ActiveX DockingPane control in a C# application, I am constantly getting the error message "Member not found" from DockingPanes (I assume the message is from DockingPanes because the titlebar displays "DOCKIN~1". This happens once when the application is initially loaded and displayed. The error also occurs when the pane is undocked and then docked again. However, when I close the message box after the pane attempts to re-dock, the pane now completely disappears. Do you have any suggestions for what might be causing this? Some sample code snippets for how I am implementing this is below: // General Setup // Attach Pane Event Thank you in advance for any assistance. |
|
![]() |
|
Boyd ![]() Senior Member ![]() Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
![]() ![]() ![]() ![]() ![]() |
As a followup, it appears that this error is related to the 'SetCommandBars' method. If I comment out that line of code, I do not get those errors. Of course, this method is required for CommandBars and DockingPanes to work properly together. What's the solution?
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
This will only work if you have a beta of the new release (Version 8.90):
DockingPaneManager.SetCommandBars (CommandBars.GetDispatch()); |
|
![]() |
|
Boyd ![]() Senior Member ![]() Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
![]() ![]() ![]() ![]() ![]() |
Thanks! Could you please let me know how to obtain the beta release or send it to my e-mail account?
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Just fill out the form and tell them that you really need a beta of the
next release (It should be out any day if everything goes smooth):
https://www.codejock.com/support/index.asp |
|
![]() |
|
Boyd ![]() Senior Member ![]() Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
![]() ![]() ![]() ![]() ![]() |
Thanks again! Just curious... is Oleg still with you guys? The last e-mail I sent to oleg got bounced back as if I had sent it directly to support. I was working with him on beta testing some other stuff, and I haven't heard from him in a while.
Edited by Support |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Hi Boyd, Yes Oleg is stil with us Edited by Support |
|
![]() |
|
Boyd ![]() Senior Member ![]() Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
![]() ![]() ![]() ![]() ![]() |
Will v8.90 also include a fix for using a non-VB image list? |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
I'm not sure what you mean by "fix fo using a non-VB image list", but you can now: Use icons from the CommandBars ImageManager control with any of the Suite controls. Load icons from a bitmap file like the MFC version. All your images can be stored in one bitmap and loaded at the same time. For example, you have a bitmap that is 160x16 with 10 16x16 images. No longer must each image me individually loaded. Hope this helps. If not,can you be more specific to the problem? |
|
![]() |
|
Boyd ![]() Senior Member ![]() Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
![]() ![]() ![]() ![]() ![]() |
That's what I wanted to hear. Using the Image List provided with C# crashed Docking Panes when you tried to set it as the image list.
|
|
![]() |
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 |