V. wrote:
do you mean the resource nr associated with the control name?
I'm not sure what "nr" means in this context, but your project should have a .rc file in it. In that file is the dialog's template. Instead of:
IDD_REPORT_SPLFILE_PAGE_PROP DIALOGEX 0, 0, 297, 201
CAPTION "Page Selection"
FONT 8, "MS Sans Serif"
BEGIN
CONTROL "&Selection based on text",IDC_XB_SELECTION,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,17,7,149,10,0,
HIDC_XB_SELECTION
LTEXT "Location:",IDC_STATIC,13,19,50,8
CONTROL "S&earch entire page",IDC_RB_SEARCH,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,19,30,125,10,0,
HIDC_RB_SEARCH
LTEXT "&Line number position:",IDC_STATIC,31,59,112,8
EDITTEXT IDC_EB_LINEPOS,146,56,40,14,ES_AUTOHSCROLL,0,
HIDC_EB_LINEPOS
CONTROL "Spin1",IDC_SPIN_LINEPOS,"msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS,186,56,10,14
GROUPBOX "",IDC_GRP_SELECTION,7,7,283,106
...
END change it to:
IDD_REPORT_SPLFILE_PAGE_PROP DIALOGEX 0, 0, 297, 201
CAPTION "Page Selection"
FONT 8, "MS Sans Serif"
BEGIN
GROUPBOX "",IDC_GRP_SELECTION,7,7,283,106
CONTROL "&Selection based on text",IDC_XB_SELECTION,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,17,7,149,10,0,
HIDC_XB_SELECTION
LTEXT "Location:",IDC_STATIC,13,19,50,8
CONTROL "S&earch entire page",IDC_RB_SEARCH,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,19,30,125,10,0,
HIDC_RB_SEARCH
LTEXT "&Line number position:",IDC_STATIC,31,59,112,8
EDITTEXT IDC_EB_LINEPOS,146,56,40,14,ES_AUTOHSCROLL,0,
HIDC_EB_LINEPOS
CONTROL "Spin1",IDC_SPIN_LINEPOS,"msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS,186,56,10,14
...
END
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|