Altova User Forum


Important: this is not a Support Forum! Experienced users might answer from time to time questions posted here.
If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Using standard command in ActiveX Plugin Options · View
stegeto22
Posted: Sunday, November 13, 2011 9:27:10 PM
Rank: Newbie

Joined: 11/13/2011
Posts: 2
Hi,

I'm trying to implement an ActiveX Plugin for the XMLSpy. There I want to use the GridView.SetFocus() and GridView.Select() method. But there is a problem selecting an XMLData, which is currently not visible. Then always the first visible item is selected.

Is there a possiblity to use standard commands like "Expand", to get the current view expanded to the element I want to select?

Thanks
Tobias
stegeto22
Posted: Tuesday, November 15, 2011 5:05:29 PM
Rank: Newbie

Joined: 11/13/2011
Posts: 2
Hi,

I found it by myself. If someone else is interested, here is my solution.

I'm sending the WM_COMMAND message to the main application window via the SendMessage() from the Windows API. The main window handle I get from the IApplication2.WindowHandle property and the correct command id (IDC_SEL_EXPAND = 34152) I have found in the manual.

Thanks
Tobias
Users browsing this topic
guest

Forum Jump
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.

Use of the Altova User Forum(s) is governed by the Altova User Forums Terms of Service.

Powered by Yet Another Forum.net version 1.0.0 RC3 - 9/24/2005
Copyright © 2003-2005 Yet Another Forum.net. All rights reserved.
This page was generated in 0.064 seconds.
6 queries (0.033 seconds, 51.48%).

yaf_pageload: 0.017
yaf_topic_info: 0.002
yaf_forum_list: 0.003
yaf_forum_listpath: 0.003
yaf_post_list: 0.006
yaf_active_listtopic: 0.002

Please note that the Altova User Forum was launched so that our users have the possibility to interact and exchange their experiences regarding Altova's product line with one another. It must be pointed out that our support engineers and software engineers regularly post answers to questions in the user forum as an extra service, however this is not a replacement for the regular support mechanism and we cannot in anyway guarantee that a question will be answered or give a specific timeframe for an answer.The user forum was not intended to replace the online support form, but was implemented as an additional source of information after repeated requests for a user based forum in which users can help one another.