cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Problem with ProMessageStringRead()

pankaj_gupta
1-Visitor

Problem with ProMessageStringRead()

Hi all,

I am using ProMessageStringRead() to get the Yes or No value
Below is the portion of code

// Prompt the user to enter some value, include default in message
status = ProMessageDisplay (MsgFile,"USER Do you want to add ?
[N]:");

// Get their answer and check the return value
ProName w_answer;
char ans[8];
status = ProMessageStringRead(8,w_answer);

This works fine but problem is when I am running this
It shows the first message in Prompt message correctly
but instead of showing Yes / No buttons it shows
tick mark(yes) / cross mark(no)

The text file contents are as below.
%USER Do you want to add ? [N]:
Do you want to add ? [N]: ||| No
#
#

So any Idea for this?

Regards

Pankaj
0 REPLIES 0
Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags