Anonymous_User Absent Member.
Absent Member.
1474 views

GW C3PO Context

Hello.

I am using VS2005 (C#) to develope to GroupWise client 7.01.

I have faced with the problem of using GW client context.

My custom toolbar button is displayed in GW Client message group (using
GW.MESSAGE.MAIL context). So Button is displayed in send mail toolbar and
in receive mail toolbar.

Please advise, how can I display my button in send mail dialog and hide it
in receive mail dialog. Is this possible by using GW context or there is
some other way to do that?

Regards,
Aleksandr.

Labels (1)
0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: GW C3PO Context

boyko.alexandr@gmail.com (alexboyko) wrote in
news:a54rh.1333$Sz4.483@prv-forum2.provo.novell.com:

> Hello.
>
> I am using VS2005 (C#) to develope to GroupWise client 7.01.
>
> I have faced with the problem of using GW client context.
>
> My custom toolbar button is displayed in GW Client message group
> (using GW.MESSAGE.MAIL context). So Button is displayed in send mail
> toolbar and in receive mail toolbar.
>
> Please advise, how can I display my button in send mail dialog and
> hide it in receive mail dialog. Is this possible by using GW context
> or there is some other way to do that?
>
> Regards,
> Aleksandr.
>
>


You have to test for message id and if it is X00 then you don't show it.

--
Regards,
Michael Risch
Developer SysOp
0 Likes
Anonymous_User Absent Member.
Absent Member.

GW C3PO Context

> Hello.
>
> I am using VS2005 (C#) to develope to GroupWise client 7.01.
>
> I have faced with the problem of using GW client context.
>
> My custom toolbar button is displayed in GW Client message group (using
> GW.MESSAGE.MAIL context). So Button is displayed in send mail toolbar and
> in receive mail toolbar.
>
> Please advise, how can I display my button in send mail dialog and hide it
> in receive mail dialog. Is this possible by using GW context or there is
> some other way to do that?
>
> Regards,
> Aleksandr.
>



In your function "CustomizeToolbar" you can test the first button in the
toolbar like.

if objGWToolbar.ToolbarItems.Item(1).ToolbarID = 1113 then ....

1113 is the id of the "send" button 🙂


hope this helps you!



0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.