how to damage a pop-up menu?

Hello all,

I want to damage a pop-up menu in a window in my photon application without
clicking a key or mouse button. But I don’t know which function I should
call in my program.
I try to use “PtUnrealizeWidget”, but I get a error because the parameter’s
type is not correct when compiling. Can I call PtUnrealizeWidget to let the
menu disappeared? What should I do ?

Thanks for any info.

Zhou Jun

how about PtDamageWidget()…

chris
zhoujun <jzhou@mail.nairc.ac.cn> wrote in message
news:8srnv6$c15$1@inn.qnx.com

Hello all,

I want to damage a pop-up menu in a window in my photon application
without
clicking a key or mouse button. But I don’t know which function I should
call in my program.
I try to use “PtUnrealizeWidget”, but I get a error because the
parameter’s
type is not correct when compiling. Can I call PtUnrealizeWidget to let
the
menu disappeared? What should I do ?

Thanks for any info.

Zhou Jun


\

I have resolved this question using PtUnrealizeWidget.
Thank you!

Chris Travis <ctravis@qnx.com> wrote in message
news:8ss6va$q3j$1@inn.qnx.com

how about PtDamageWidget()…

chris
zhoujun <> jzhou@mail.nairc.ac.cn> > wrote in message
news:8srnv6$c15$> 1@inn.qnx.com> …
Hello all,

I want to damage a pop-up menu in a window in my photon application
without
clicking a key or mouse button. But I don’t know which function I should
call in my program.
I try to use “PtUnrealizeWidget”, but I get a error because the
parameter’s
type is not correct when compiling. Can I call PtUnrealizeWidget to let
the
menu disappeared? What should I do ?

Thanks for any info.

Zhou Jun




\