本文整理汇总了C++中DDV_MinMaxUInt函数的典型用法代码示例。如果您正苦于以下问题:C++ DDV_MinMaxUInt函数的具体用法?C++ DDV_MinMaxUInt怎么用?C++ DDV_MinMaxUInt使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了DDV_MinMaxUInt函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: DDX_Control
void CNormalSettingDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CNormalSettingDlg)
DDX_Control(pDX, IDC_IPADDRESS, m_ctlServIP);
DDX_Control(pDX, IDC_BAUDCOMBO_GM, m_BaudRate_GM);
DDX_Control(pDX, IDC_PORTCOMBO_GM, m_PortName_GM);
DDX_Control(pDX, IDC_PARITYCOMBO_GM, m_Parity_GM);
DDX_Control(pDX, IDC_PARITYCOMBO, m_Parity);
DDX_Control(pDX, IDC_BAUDCOMBO, m_BaudRate);
DDX_Control(pDX, IDC_PORTCOMBO, m_PortName);
DDX_Text(pDX, IDC_BYTESIZE, m_nByteSize);
DDX_Text(pDX, IDC_STOPBITS, m_nStopBits);
DDX_Radio(pDX, IDC_SHAREDMEMORY, m_nSharedMemory);
DDX_Text(pDX, IDC_PORT, m_nPort);
DDX_Text(pDX, IDC_ARCHIVEPATH, m_strArchivePath);
DDV_MaxChars(pDX, m_strArchivePath, 199);
DDX_Check(pDX, IDC_CYCLETEST, m_bCycleTest);
DDX_Check(pDX, IDC_REMOTECTRL, m_bRemoteCtrl);
DDX_Radio(pDX, IDC_PATHBINARY, m_nPathBinary);
DDX_Text(pDX, IDC_BYTESIZE_GM, m_nByteSize_GM);
DDX_Text(pDX, IDC_STOPBITS_GM, m_nStopBits_GM);
DDX_Check(pDX, IDC_SM_INUSE, m_bSM_INUSE);
DDX_Check(pDX, IDC_GM_INUSE, m_bGM_INUSE);
DDX_Text(pDX, IDC_EDIT_BYTE_READ_SM, m_nByteNumber_SM);
DDV_MinMaxUInt(pDX, m_nByteNumber_SM, 0, 100);
DDX_Text(pDX, IDC_EDIT_BYTE_READ_UPS, m_nByteNumber_UPS);
DDV_MinMaxUInt(pDX, m_nByteNumber_UPS, 0, 100);
DDX_Check(pDX, IDC_SM_HRD_CHECK, m_bSM_HRD_CHECK);
DDX_Check(pDX, IDC_GM_HRD_CHECK, m_bGM_HRD_CHECK);
//}}AFX_DATA_MAP
}
示例2: DDX_Text
void CCpuDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CCpuDlg)
DDX_Text(pDX, IDC_HOURS, m_hours);
DDV_MinMaxUInt(pDX, m_hours, 1, 24);
DDX_Text(pDX, IDC_START_TIME, m_start_time);
DDX_Text(pDX, IDC_END_TIME, m_end_time);
DDX_Text(pDX, IDC_DAY_MEMORY, m_day_memory);
DDV_MinMaxUInt(pDX, m_day_memory, 8, (UINT) (0.9 * physical_memory ()));
DDX_Text(pDX, IDC_NIGHT_MEMORY, m_night_memory);
DDV_MinMaxUInt(pDX, m_night_memory, 8, (UINT) (0.9 * physical_memory ()));
DDX_Text(pDX, IDC_CPU_INFO, m_cpu_info);
DDX_Control(pDX, IDC_DAY_MEMORY_TEXT, c_day_memory_text);
DDX_Control(pDX, IDC_DAY_MEMORY, c_day_memory);
DDX_Control(pDX, IDC_NIGHT_MEMORY_TEXT, c_night_memory_text);
DDX_Control(pDX, IDC_NIGHT_MEMORY, c_night_memory);
DDX_Control(pDX, IDC_START_TIME_TEXT, c_start_time_text);
DDX_Control(pDX, IDC_START_TIME, c_start_time);
DDX_Control(pDX, IDC_END_TIME_TEXT, c_end_time_text);
DDX_Control(pDX, IDC_END_TIME, c_end_time);
//}}AFX_DATA_MAP
c_day_memory_text.EnableWindow (m_memory_editable);
c_day_memory.EnableWindow (m_memory_editable);
c_night_memory_text.EnableWindow (m_memory_editable);
c_night_memory.EnableWindow (m_memory_editable);
c_start_time_text.EnableWindow (m_memory_editable);
c_start_time.EnableWindow (m_memory_editable);
c_end_time_text.EnableWindow (m_memory_editable);
c_end_time.EnableWindow (m_memory_editable);
}
示例3: DDX_Control
void CPageController::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPageController)
DDX_Control(pDX, IDC_LIST_CONTROLLER, m_listController);
DDX_Text(pDX, IDC_EDIT_CONTROLLER_NODE, m_nControllerNode);
DDX_Text(pDX, IDC_EDIT_CONTROLLER_NAME, m_strControllerName);
DDX_Text(pDX, IDC_EDIT_CONTROLLER_LEFT, m_nControllerLeft);
DDX_Text(pDX, IDC_EDIT_CONTROLLER_TOP, m_nControllerTop);
DDX_Text(pDX, IDC_EDIT_CONTROLLER_WIDTH, m_nControllerWidth);
DDX_Text(pDX, IDC_EDIT_CONTROLLER_HEIGHT, m_nControllerHeight);
DDX_Text(pDX, IDC_EDIT_CONTROLLER_ROWS, m_nControllerRows);
DDV_MinMaxUInt(pDX, m_nControllerRows, 1, 100);
DDX_Check(pDX, IDC_CHECK_SCROLL_ENABLE, m_bScrollEnable);
DDX_Text(pDX, IDC_EDIT_SCROLL_HEIGHT, m_nScrollHeight);
DDX_Text(pDX, IDC_EDIT_SCROLL_SPEED, m_nScrollSpeed);
DDV_MinMaxLong(pDX, m_nScrollSpeed, 1, 100);
DDX_Text(pDX, IDC_EDIT_QUEUESCROLL_SPEED, m_nQueueScrollSpeed);
DDV_MinMaxLong(pDX, m_nQueueScrollSpeed, 1, 100);
DDX_Text(pDX, IDC_EDIT_SCROLL_CONTENT, m_strScrollContent);
DDX_CBIndex(pDX, IDC_COMBO_CONTROLLER_MODE, m_nControllerMode);
DDX_Check(pDX, IDC_CHECK_CONTROLLER_FROM_TOP, m_bControllerFromTop);
DDX_Check(pDX, IDC_CHECK_TITLE_ENABLE, m_bTitleEnable);
DDX_Text(pDX, IDC_EDIT_TITLE_CONTENT, m_strTitleContent);
DDX_Text(pDX, IDC_EDIT_TITLE_HEIGHT, m_nTitleHeight);
DDX_Text(pDX, IDC_EDIT_CONTROLLER_COLS, m_nControllerCols);
DDV_MinMaxUInt(pDX, m_nControllerCols, 1, 10);
DDX_Check(pDX, IDC_CHECK_BDESC, m_bDesc);
DDX_Check(pDX, IDC_CHECK_BSCROLL, m_bScroll);
//}}AFX_DATA_MAP
}
示例4: DDX_Control
void CAddEdit::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAddEdit)
DDX_Control(pDX, IDC_CHECK_CONSIDERARCHIVE, m_pConsiderArchive);
DDX_Control(pDX, IDC_CHECK_DOSUB, m_pDoSub);
DDX_Control(pDX, IDC_EDIT1, m_pPath);
DDX_Control(pDX, IDC_SPIN_CYCSECONDS, m_pCycSeconds);
DDX_Control(pDX, IDC_SPIN_CYCMINUTES, m_pCycMinutes);
DDX_Control(pDX, IDC_SPIN_CYCHOURS, m_pCycHours);
DDX_Control(pDX, IDC_SPIN_CYCDAYS, m_pCycDays);
DDX_Text(pDX, IDC_EDIT_CYCDAYS, m_dCycDays);
DDV_MinMaxUInt(pDX, m_dCycDays, 0, 999);
DDX_Text(pDX, IDC_EDIT_CYCHOURS, m_dCycHours);
DDV_MinMaxUInt(pDX, m_dCycHours, 0, 23);
DDX_Text(pDX, IDC_EDIT_CYCMINUTES, m_dCycMinutes);
DDV_MinMaxUInt(pDX, m_dCycMinutes, 0, 59);
DDX_Text(pDX, IDC_EDIT_CYCSECONDS, m_dCycSeconds);
DDV_MinMaxUInt(pDX, m_dCycSeconds, 0, 59);
DDX_Text(pDX, IDC_EDIT1, m_cPath);
DDV_MaxChars(pDX, m_cPath, 260);
DDX_Check(pDX, IDC_CHECK_CONSIDERARCHIVE, m_bConsiderArchive);
DDX_Check(pDX, IDC_CHECK_DOSUB, m_bDoSub);
//}}AFX_DATA_MAP
}
示例5: DDX_Control
void CModifyTubeDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CModifyTubeDlg)
DDX_Control(pDX, IDC_TUBETYPE, m_TubeList);
DDX_Control(pDX, IDC_TORPEDOTYPE, m_TorpedoTypeList);
DDX_Text(pDX, IDC_NUMBEROFTORPEDOS, m_iTorpedoNumber);
DDV_MinMaxUInt(pDX, m_iTorpedoNumber, 1, 255);
DDX_Text(pDX, IDC_NUMBEROFTUBES, m_iTubeNumber);
DDV_MinMaxUInt(pDX, m_iTubeNumber, 1, 255);
DDX_Text(pDX, IDC_TUBEFIRERATE, m_iTubeFirerate);
DDV_MinMaxUInt(pDX, m_iTubeFirerate, 1, 255);
DDX_CBString(pDX, IDC_TUBETYPE, m_strTubeName);
DDX_Check(pDX, IDC_ONLYMICRO, m_bOnlyMicroPhoton);
DDX_Text(pDX, IDC_ACCURACY, m_byAccuracy);
DDV_MinMaxByte(pDX, m_byAccuracy, 0, 100);
DDX_Check(pDX, IDC_PENETRATING, m_bPenetrating);
DDX_Check(pDX, IDC_COLLAPSESHIELDS, m_bCollapseShields);
DDX_Check(pDX, IDC_DOUBLEHULLDMG, m_bDoubleHullDmg);
DDX_Check(pDX, IDC_DOUBLESHIELDDMG, m_bDoubleShieldDmg);
DDX_Check(pDX, IDC_IGNOREALLSHIELDS, m_bIgnoreAllShields);
DDX_Check(pDX, IDC_REDUCEMANEUVER, m_bReduceManeuver);
DDX_Check(pDX, IDC_MICROTORP, m_bMicro);
//}}AFX_DATA_MAP
DDX_Text(pDX, IDC_MOUNTPOS, m_nMountPos);
DDV_MinMaxShort(pDX, m_nMountPos, 0, 360);
DDX_Text(pDX, IDC_ANGLE, m_nAngle);
DDV_MinMaxShort(pDX, m_nAngle, 0, 360);
}
示例6: DDX_Control
void CWebAttackDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CWebAttackDlg)
// NOTE: the ClassWizard will add DDX and DDV calls here
DDX_Control(pDX, IDC_TARGET_WEB, m_TargetCtrl);
DDX_Control(pDX, IDC_SLIDER_TIME, m_TimeCtrl);
DDX_Control(pDX, IDC_SLIDER_THREAD, m_ThreadCtrl);
DDX_Control(pDX, IDC_SPIN_NUM, m_HotsNumCtrl);
DDX_Control(pDX, IDC_COMBO_MODEL, m_ModelList);
DDX_Control(pDX, IDC_LIST_TARGET, m_TargetList);
DDX_Check(pDX, IDC_NEWAUTO, m_NewAuto);
DDX_Check(pDX, IDC_SELECTHOST, m_SelectHost);
DDX_Text(pDX, IDC_HOSTNUMS, m_HostNums);
DDV_MinMaxUInt(pDX, m_HostNums, 1, 20000);
DDX_Text(pDX, IDC_ENDVAR, m_EndVar);
DDV_MinMaxUInt(pDX, m_EndVar, 2, 100000);
DDX_Text(pDX, IDC_ATTCKPORT, m_Port);
DDV_MinMaxUInt(pDX, m_Port, 1, 65535);
DDX_Text(pDX, IDC_ATTACKTIMES, m_AttckTims);
DDX_Text(pDX, IDC_STARTVAR, m_StartVar);
DDV_MinMaxUInt(pDX, m_StartVar, 1, 100000);
DDX_Text(pDX, IDC_TARGET_WEB, m_TargetWeb);
DDV_MaxChars(pDX, m_TargetWeb, 300);
DDX_Text(pDX, IDC_THREADNUMS, m_ThreadNums);
DDV_MinMaxDWord(pDX, m_ThreadNums, 1, 100);
DDX_Text(pDX, IDC_STATIC_TIP, m_TipShow);
//}}AFX_DATA_MAP
}
示例7: DDX_Control
void CBCGPRibbonBackstagePagePrint::DoDataExchange(CDataExchange* pDX)
{
CBCGPDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CBCGPRibbonBackstagePagePrint)
DDX_Control(pDX, AFX_ID_PREVIEW_PRINT, m_btnPrint);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_COPIES_EDIT, m_wndCopies);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_COPIES_SPIN, m_btnCopies);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_PRINTER, m_wndPrinter);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_PROPERTIES, m_wndPrinterProperties);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_PAGE, m_wndPage);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_PAGE_FROM, m_wndPageFrom);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_PAGE_TO, m_wndPageTo);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_COLLATE, m_wndCollate);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_ORIENT, m_wndOrientation);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_PAPER, m_wndPaper);
DDX_Control(pDX, AFX_ID_PREVIEW_PREV, m_btnPrev);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_PAGE_NUM, m_wndPageNum);
DDX_Control(pDX, AFX_ID_PREVIEW_NEXT, m_btnNext);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_ZOOM_NUM, m_wndZoomNum);
DDX_Control(pDX, IDC_BCGBARRES_PRINT_ZOOM_SLIDER, m_wndZoomSlider);
DDX_Text(pDX, IDC_BCGBARRES_PRINT_COPIES_EDIT, m_nCopies);
DDV_MinMaxShort(pDX, m_nCopies, 1, 9999);
//}}AFX_DATA_MAP
PRINTDLG* dlgPrint = GetPrintDlg();
if (dlgPrint != NULL)
{
DDX_Text(pDX, IDC_BCGBARRES_PRINT_PAGE_FROM, m_nPageFrom);
DDV_MinMaxUInt(pDX, m_nPageFrom, dlgPrint->nMinPage, min(dlgPrint->nMaxPage, 32767U));
if (pDX->m_bSaveAndValidate)
{
CString strText;
m_wndPageTo.GetWindowText (strText);
if (strText.IsEmpty ())
{
m_nPageTo = 0xFFFF;
}
else
{
DDX_Text(pDX, IDC_BCGBARRES_PRINT_PAGE_TO, m_nPageTo);
DDV_MinMaxUInt(pDX, m_nPageTo, dlgPrint->nMinPage, min(dlgPrint->nMaxPage, 32767U));
}
}
else
{
if (m_nPageTo == 0xFFFF)
{
m_wndPageTo.SetWindowText (_T(""));
}
else
{
DDX_Text(pDX, IDC_BCGBARRES_PRINT_PAGE_TO, m_nPageTo);
}
}
}
}
示例8: DDX_Control
void CSetDialogs::DoDataExchange(CDataExchange* pDX)
{
ISettingsPropPage::DoDataExchange(pDX);
DDX_Control(pDX, IDC_FONTSIZES, m_cFontSizes);
m_dwFontSize = (DWORD)m_cFontSizes.GetItemData(m_cFontSizes.GetCurSel());
if ((m_dwFontSize==0)||(m_dwFontSize == -1))
{
CString t;
m_cFontSizes.GetWindowText(t);
m_dwFontSize = _ttoi(t);
}
DDX_Control(pDX, IDC_FONTNAMES, m_cFontNames);
DDX_Check(pDX, IDC_SHORTDATEFORMAT, m_bShortDateFormat);
DDX_Check(pDX, IDC_RELATIVETIMES, m_bRelativeTimes);
DDX_Control(pDX, IDC_AUTOCLOSECOMBO, m_cAutoClose);
DDX_Check(pDX, IDC_DIFFBYDOUBLECLICK, m_bDiffByDoubleClick);
DDX_Check(pDX, IDC_SYSTEMLOCALEFORDATES, m_bUseSystemLocaleForDates);
DDX_Check(pDX, IDC_USERECYCLEBIN, m_bUseRecycleBin);
DDX_Check(pDX, IDC_ABBREVIATERENAMINGS, m_bAbbreviateRenamings);
DDX_Check(pDX, IDC_AUTOCOMPLETION, m_bAutocompletion);
DDX_Check(pDX, IDC_TOPOORDER, m_bTopoOrder);
DDX_Text(pDX, IDC_AUTOCOMPLETIONTIMEOUT, m_dwAutocompletionTimeout);
DDV_MinMaxUInt(pDX, m_dwAutocompletionTimeout, 1, 100);
DDX_Text(pDX, IDC_MAXHISTORY, m_dwMaxHistory);
DDV_MinMaxUInt(pDX, m_dwMaxHistory, 1, 100);
DDX_Check(pDX, IDC_SELECTFILESONCOMMIT, m_bAutoSelect);
}
示例9: DDX_Text
void CRectAndElipses::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
DDX_Text(pDX, IDC_txtNumOfRec, m_txtNumRect);
DDV_MinMaxUInt(pDX, m_txtNumRect, 0, 10);
DDX_Text(pDX, IDC_txtNumOfElipses, m_txtNumOfEclipses);
DDV_MinMaxUInt(pDX, m_txtNumOfEclipses, 0, 10);
}
示例10: DDX_Control
void CMakeAviDlg::DoDataExchange(CDataExchange *pDX) {
__super::DoDataExchange(pDX);
DDX_Control(pDX , IDC_LISTNAMES , m_nameList );
DDX_Text(pDX , IDC_EDITFRAMEPERSEC, m_framePerSecond);
DDV_MinMaxUInt(pDX, m_framePerSecond , 1, 30 );
DDX_Text(pDX , IDC_EDITUSEEVERY , m_useEvery );
DDV_MinMaxUInt(pDX, m_useEvery , 1, 1000 );
}
示例11: DDX_Text
void CAverageParamDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT_WIDTH, m_nWidth);
DDV_MinMaxUInt(pDX, m_nWidth, 1, 1000);
DDX_Text(pDX, IDC_EDIT_HEIGHT, m_nHeight);
DDV_MinMaxUInt(pDX, m_nHeight, 1, 1000);
}
示例12: DDX_Control
void CBatchSNDlg::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
DDX_Control(pDX, IDC_LIST1, m_products_list);
DDX_Text(pDX, IDC_EDIT_START, m_intStart);
DDV_MinMaxUInt(pDX, m_intStart, 1, 254);
DDX_Text(pDX, IDC_EDIT_END, m_intEnd);
DDV_MinMaxUInt(pDX, m_intEnd, 1, 254);
}
示例13: DDX_Text
void CVolSizeDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_CX, m_nCX);
DDV_MinMaxUInt(pDX, m_nCX, 1, 1024);
DDX_Text(pDX, IDC_CY, m_nCY);
DDV_MinMaxUInt(pDX, m_nCY, 1, 1024);
DDX_Text(pDX, IDC_CZ, m_nCZ);
DDV_MinMaxUInt(pDX, m_nCZ, 1, 1024);
}
示例14: DDX_Text
void CNewDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CNewDlg)
DDX_Text(pDX, IDC_WIDTH, m_width);
DDV_MinMaxUInt(pDX, m_width, 1, 65535);
DDX_Text(pDX, IDC_HEIGHT, m_height);
DDV_MinMaxUInt(pDX, m_height, 1, 65535);
//}}AFX_DATA_MAP
}
示例15: DDX_Text
void CCAT9555_TestDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT_NO, nPort_No);
DDV_MinMaxUInt(pDX, nPort_No, 0, 15);
DDX_Text(pDX, IDC_EDIT_LEVEL, nPort_Value);
DDV_MinMaxUInt(pDX, nPort_Value, 0, 1);
DDX_Text(pDX, IDC_EDIT_LEVEL2, nDevice);
DDV_MinMaxUInt(pDX, nDevice, 0, 1);
}