Skip to main content
1-Visitor
April 23, 2004
Question

Problem with ProMessageStringRead()

  • April 23, 2004
  • 0 replies
  • 702 views
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