mfc - DDV_MinMaxUInt : Custom Validation Message -


i using mfc, develop mobile app. 1 of cedit controls, in dialog box, declared variable long int follows.

ddv_minmaxuint(pdx, m_txtcurrentvalue, 1, 2000); 

so whenever, try close dialog box invalid values (integers not in range specified or alphabetic characters.) throws message , focuses particular control.( done automatically)

now question that, have button , when ever button clicked, how can same validation, functionality called?

you can call these routines yourself. did many years ago.

this link may help:

http://msdn.microsoft.com/en-us/library/57weza95%28v=vs.80%29.aspx


Comments

Popular posts from this blog

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

xslt - Umbraco and EXSLT sets do not work -