Click here to Skip to main content
15,914,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: convert a bmp to DIB and print it. Pin
Mike Nordell28-Jan-03 1:42
Mike Nordell28-Jan-03 1:42 
GeneralRe: convert a bmp to DIB and print it. Pin
Roger Allen28-Jan-03 2:55
Roger Allen28-Jan-03 2:55 
GeneralRe: convert a bmp to DIB and print it. Pin
Roger Allen28-Jan-03 3:01
Roger Allen28-Jan-03 3:01 
GeneralRe: convert a bmp to DIB and print it. Pin
*Tom*29-Jan-03 0:36
*Tom*29-Jan-03 0:36 
GeneralRenaming a Propertysheet Pin
Rage27-Jan-03 23:47
professionalRage27-Jan-03 23:47 
GeneralRe: Renaming a Propertysheet Pin
HENDRIK R28-Jan-03 1:05
HENDRIK R28-Jan-03 1:05 
GeneralRe: Renaming a Propertysheet Pin
Rage28-Jan-03 1:55
professionalRage28-Jan-03 1:55 
GeneralRe: Renaming a Propertysheet Pin
Debs28-Jan-03 3:13
Debs28-Jan-03 3:13 
If I understand your question, you are using the same propertypage in several instantiations, and want to change the title before the DoModal call?

I've done this several times and pass the string across via the constructor, then in the constructor set the title as follows:

m_psp.dwFlags |= PSP_USETITLE;
m_psp.pszTitle = m_strCaption;

where m_strCaption is the required string.

It handles it for you after this.

Debbie
GeneralRe: Renaming a Propertysheet Pin
Rage28-Jan-03 20:49
professionalRage28-Jan-03 20:49 
GeneralRe: Renaming a Propertysheet Pin
Peter Molnar28-Jan-03 1:49
Peter Molnar28-Jan-03 1:49 
GeneralRe: Renaming a Propertysheet Pin
Rage28-Jan-03 1:56
professionalRage28-Jan-03 1:56 
GeneralRe: Renaming a Propertysheet Pin
KaЯl28-Jan-03 2:45
KaЯl28-Jan-03 2:45 
GeneralOLE documents / items (MFC) Pin
-Dy27-Jan-03 23:45
-Dy27-Jan-03 23:45 
GeneralURGENT:How to write XML header in C++ Pin
tearz27-Jan-03 23:08
tearz27-Jan-03 23:08 
GeneralRe: URGENT:How to write XML header in C++ Pin
Rage27-Jan-03 23:40
professionalRage27-Jan-03 23:40 
GeneralRe: URGENT:How to write XML header in C++ Pin
Mike Nordell28-Jan-03 2:01
Mike Nordell28-Jan-03 2:01 
GeneralRe: URGENT:How to write XML header in C++ Pin
chepuri_uk28-Jan-03 20:02
chepuri_uk28-Jan-03 20:02 
GeneralURGENT:How to write XML header in C++ Pin
tearz27-Jan-03 23:02
tearz27-Jan-03 23:02 
GeneralWM_DEVICECHANGE and MFC Dialog app Pin
Ceri27-Jan-03 23:02
Ceri27-Jan-03 23:02 
QuestionWhat's the MFC-way to lay out controls in a View ? Pin
JohnMcL27-Jan-03 22:37
JohnMcL27-Jan-03 22:37 
AnswerRe: What's the MFC-way to lay out controls in a View ? Pin
Joaquín M López Muñoz27-Jan-03 23:02
Joaquín M López Muñoz27-Jan-03 23:02 
AnswerRe: What's the MFC-way to lay out controls in a View ? Pin
Michael P Butler28-Jan-03 0:26
Michael P Butler28-Jan-03 0:26 
GeneralRe: What's the MFC-way to lay out controls in a View ? Pin
JohnMcL28-Jan-03 8:04
JohnMcL28-Jan-03 8:04 
GeneralHtmlView event Pin
jeremysay27-Jan-03 22:26
jeremysay27-Jan-03 22:26 
GeneralRe: HtmlView event Pin
Rage27-Jan-03 23:42
professionalRage27-Jan-03 23:42 

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.