Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
in this function:
void _TryMeFunction(void)
{
bool bContinue = true;
do
{
int iReturnValue = acedInitGet(RSG_NOZERO, _T("T RP RX RA R E"));
if (iReturnValue == RTNORM)
{
TCHAR acUserTyped[132];
::ZeroMemory(acUserTyped, 132);
// As you can test, if your choice is RP or RX (the 2 character ar not consecutive), acedGetKword return R
iReturnValue = acedGetKword(_T("\nTry to use the right button mouse [Test/ Responde se vu Ple/ Rest in tX/ RAil/ Redo/ Exit] :"), acUserTyped);
if (iReturnValue == RTNORM)
{
acutPrintf(_T("\n*** You have choice: %s ***"), acUserTyped);
if (_tcsicmp(acUserTyped, _T("E")) == 0)
bContinue = false;
}
}
}
while (bContinue);
}
When the acedGetKword wait for the user input, using the right mouse button the error appear.
If the keyword is 2 char not consecutive, only the first is returned.
Using the keyoboard the keyword is always accepted.
Solved! Go to Solution.