Click here to Skip to main content
16,005,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralClass Instancing Pin
Anonymous9-Dec-04 3:36
Anonymous9-Dec-04 3:36 
GeneralRe: Class Instancing Pin
Prakash Nadar9-Dec-04 4:13
Prakash Nadar9-Dec-04 4:13 
GeneralRe: Class Instancing Pin
David Crow9-Dec-04 4:14
David Crow9-Dec-04 4:14 
GeneralRe: Class Instancing Pin
toxcct9-Dec-04 21:47
toxcct9-Dec-04 21:47 
Questiongroupbox?->no tooltip? Pin
V.9-Dec-04 3:16
professionalV.9-Dec-04 3:16 
AnswerRe: groupbox?->no tooltip? Pin
David Crow9-Dec-04 5:52
David Crow9-Dec-04 5:52 
GeneralRe: groupbox?->no tooltip? Pin
V.9-Dec-04 6:00
professionalV.9-Dec-04 6:00 
GeneralRe: groupbox?->no tooltip? Pin
David Crow9-Dec-04 6:21
David Crow9-Dec-04 6:21 
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


GeneralRe: groupbox?->no tooltip? Pin
V.9-Dec-04 6:30
professionalV.9-Dec-04 6:30 
GeneralChange file extensions.... Pin
Anonymous9-Dec-04 2:53
Anonymous9-Dec-04 2:53 
GeneralRe: Change file extensions.... Pin
David Crow9-Dec-04 5:58
David Crow9-Dec-04 5:58 
QuestionHow I can stop an USB-drive from my application? Pin
Rolf Faßler9-Dec-04 2:50
Rolf Faßler9-Dec-04 2:50 
GeneralChange Extension of Files Pin
Anonymous9-Dec-04 2:49
Anonymous9-Dec-04 2:49 
GeneralRe: Change Extension of Files Pin
toxcct9-Dec-04 21:43
toxcct9-Dec-04 21:43 
GeneralMAPI c/c++ programming Pin
rgilad9-Dec-04 2:20
rgilad9-Dec-04 2:20 
GeneralWindow Menu messages Pin
Usur9-Dec-04 1:58
Usur9-Dec-04 1:58 
GeneralRe: Window Menu messages Pin
ThatsAlok9-Dec-04 2:25
ThatsAlok9-Dec-04 2:25 
GeneralRe: Window Menu messages Pin
Usur9-Dec-04 7:21
Usur9-Dec-04 7:21 
GeneralRe: Window Menu messages Pin
Maximilien9-Dec-04 2:58
Maximilien9-Dec-04 2:58 
GeneralRe: Window Menu messages Pin
Prakash Nadar9-Dec-04 4:18
Prakash Nadar9-Dec-04 4:18 
GeneralRe: Window Menu messages Pin
toxcct9-Dec-04 21:41
toxcct9-Dec-04 21:41 
GeneralRe: Window Menu messages Pin
Prakash Nadar10-Dec-04 8:04
Prakash Nadar10-Dec-04 8:04 
GeneralChanging the background color for common dialogs Pin
venkatasundaram9-Dec-04 1:17
venkatasundaram9-Dec-04 1:17 
GeneralRe: Changing the background color for common dialogs Pin
Arsalan Malik9-Dec-04 18:43
Arsalan Malik9-Dec-04 18:43 
Generalbook mark of Html help Pin
includeh108-Dec-04 23:51
includeh108-Dec-04 23:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.