Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCListCtrl Bug when resizing - only happens when a newly inserted item causes scroll bar to appear Pin
workindeveloper12-May-10 18:11
workindeveloper12-May-10 18:11 
AnswerRe: CListCtrl Bug when resizing - only happens when a newly inserted item causes scroll bar to appear Pin
Richard MacCutchan12-May-10 22:20
mveRichard MacCutchan12-May-10 22:20 
AnswerRe: CListCtrl Bug when resizing - only happens when a newly inserted item causes scroll bar to appear Pin
GuyM13-Sep-11 1:45
GuyM13-Sep-11 1:45 
QuestionWMI remote registry Pin
RobJones12-May-10 5:38
RobJones12-May-10 5:38 
AnswerRe: WMI remote registry Pin
Michel Godfroid12-May-10 9:34
Michel Godfroid12-May-10 9:34 
GeneralRe: WMI remote registry Pin
RobJones12-May-10 10:55
RobJones12-May-10 10:55 
GeneralRe: WMI remote registry Pin
Michel Godfroid12-May-10 11:36
Michel Godfroid12-May-10 11:36 
QuestionHow to change the Title(Caption) of Modal Dialog Box? Pin
mikert_200812-May-10 4:18
mikert_200812-May-10 4:18 
Hi,
I have the dialog box. Which I am using as Modal dialog box with DoModal functionality. I need to change the Title(Caption) of dialog box before calling the domodal(). Since I am deciding the title of dialog box at run time I can't use the resource setting. One way I know to change the title of Modal Dialog Box is to use OnInitDialog() function of the class derived from the DialgBox and then call setwindowtext() function inside it. But I want to change the title/cation without using OnInitDialog as the project I am working doesn't have class derived from it. And doesn't look proper to genrate the class just for this purpose.
Can anybody knows the other way of doing it??

Thanks in advance..

Mike.
AnswerRe: How to change the Title(Caption) of Modal Dialog Box? Pin
KarstenK12-May-10 4:37
mveKarstenK12-May-10 4:37 
GeneralRe: How to change the Title(Caption) of Modal Dialog Box? Pin
mikert_200812-May-10 4:58
mikert_200812-May-10 4:58 
GeneralRe: How to change the Title(Caption) of Modal Dialog Box? Pin
KarstenK16-May-10 21:48
mveKarstenK16-May-10 21:48 
AnswerRe: How to change the Title(Caption) of Modal Dialog Box? Pin
Richard MacCutchan12-May-10 4:44
mveRichard MacCutchan12-May-10 4:44 
GeneralRe: How to change the Title(Caption) of Modal Dialog Box? Pin
CPallini12-May-10 4:53
mveCPallini12-May-10 4:53 
GeneralRe: How to change the Title(Caption) of Modal Dialog Box? Pin
mikert_200812-May-10 5:00
mikert_200812-May-10 5:00 
QuestionRe: How to change the Title(Caption) of Modal Dialog Box? Pin
David Crow12-May-10 5:17
David Crow12-May-10 5:17 
AnswerRe: How to change the Title(Caption) of Modal Dialog Box? Pin
Richard MacCutchan12-May-10 5:27
mveRichard MacCutchan12-May-10 5:27 
JokeRe: How to change the Title(Caption) of Modal Dialog Box? Pin
David Crow12-May-10 5:55
David Crow12-May-10 5:55 
JokeRe: How to change the Title(Caption) of Modal Dialog Box? Pin
Richard MacCutchan12-May-10 6:09
mveRichard MacCutchan12-May-10 6:09 
GeneralRe: How to change the Title(Caption) of Modal Dialog Box? Pin
David Crow12-May-10 6:25
David Crow12-May-10 6:25 
AnswerRe: How to change the Title(Caption) of Modal Dialog Box? Pin
CPallini12-May-10 4:52
mveCPallini12-May-10 4:52 
GeneralRe: How to change the Title(Caption) of Modal Dialog Box? Pin
mikert_200812-May-10 5:03
mikert_200812-May-10 5:03 
GeneralRe: How to change the Title(Caption) of Modal Dialog Box? Pin
CPallini12-May-10 5:07
mveCPallini12-May-10 5:07 
QuestionRe: How to change the Title(Caption) of Modal Dialog Box? Pin
David Crow12-May-10 5:19
David Crow12-May-10 5:19 
AnswerRe: How to change the Title(Caption) of Modal Dialog Box? Pin
mikert_200812-May-10 5:23
mikert_200812-May-10 5:23 
GeneralRe: How to change the Title(Caption) of Modal Dialog Box? Pin
Chris Meech12-May-10 6:52
Chris Meech12-May-10 6:52 

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.