Hi,
I’m having some difficulty with a PtMenu widget. I’m not
using PhAB and the trouble is that any widgets placed on
a PtMenu can’t be blocked or ghosted (Pt_BLOCK , Pt_GHOST).
At least that what it looks like … I have tried the same
widgets placed on other widgets (such as a PtMenuBar) and
I can disable them (block & ghost) …
Thanks for any tips/help
Regards
jean-louis
I was able to disable a PtMenu widget with the following function.
ApModifyItemState( &filemenu, AB_ITEM_DIM, ABN_menuitemname, NULL);
If this doesn’t work for you, post the section of code that you are working with.
Regards,
Dave B.
Jean-Louis Villecroze <jlv@kirilla.com> wrote:
Hi,
I’m having some difficulty with a PtMenu widget. I’m not
using PhAB and the trouble is that any widgets placed on
a PtMenu can’t be blocked or ghosted (Pt_BLOCK , Pt_GHOST).
At least that what it looks like … I have tried the same
widgets placed on other widgets (such as a PtMenuBar) and
I can disable them (block & ghost) …
Thanks for any tips/help
Regards
jean-louis
In message <9ke5t3$lbq$1@nntp.qnx.com>, Applications Mail Group wrote:
I was able to disable a PtMenu widget with the following function.
ApModifyItemState( &filemenu, AB_ITEM_DIM, ABN_menuitemname, NULL);
If this doesn’t work for you, post the section of code that you are working
with.
Hi Dave,
Is that a PhAB function ? I’m not using PhAB to code my GUI.
Thanks for the help.
jl