Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

How to accept Spacebar as a char when in the acquireString function?

$
0
0

A JIG project,I meet a problem:
How to accept  Spacebar  as a char,not as a return ,  when  I using  the acquireString function?
Like this:

 

setUserInputControls ((AcEdJig::UserInputControls)(m_flag));

 

TCHAR * pStr=new TCHAR[1024];

status = acquireString(pStr);

 

m_strInput.Format(_T("%s"),pStr);

delete[] pStr;

pStr =NULL;

 

I posted my project  file to here, wish someone can help me!
Thank you  very much.


Viewing all articles
Browse latest Browse all 14319

Trending Articles