Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Delay calling Pin
DiMats2-Feb-05 3:46
DiMats2-Feb-05 3:46 
GeneralRe: Delay calling Pin
David Crow2-Feb-05 4:03
David Crow2-Feb-05 4:03 
GeneralRe: Delay calling Pin
DiMats2-Feb-05 4:31
DiMats2-Feb-05 4:31 
GeneralUsing a CSocket across thread boundaries Pin
toothless boots1-Feb-05 10:49
toothless boots1-Feb-05 10:49 
GeneralRe: Using a CSocket across thread boundaries Pin
Tom Wright1-Feb-05 10:56
Tom Wright1-Feb-05 10:56 
GeneralRe: Using a CSocket across thread boundaries Pin
toothless boots1-Feb-05 11:04
toothless boots1-Feb-05 11:04 
GeneralClicking Anywhere in Dialog Always Automatically Closes IT Pin
DiMats1-Feb-05 9:57
DiMats1-Feb-05 9:57 
GeneralRe: Clicking Anywhere in Dialog Always Automatically Closes IT Pin
PJ Arends1-Feb-05 10:09
professionalPJ Arends1-Feb-05 10:09 
GeneralRe: Clicking Anywhere in Dialog Always Automatically Closes IT Pin
David Crow1-Feb-05 10:14
David Crow1-Feb-05 10:14 
GeneralRe: Clicking Anywhere in Dialog Always Automatically Closes IT Pin
DiMats1-Feb-05 10:23
DiMats1-Feb-05 10:23 
GeneralRe: Clicking Anywhere in Dialog Always Automatically Closes IT Pin
DiMats1-Feb-05 10:40
DiMats1-Feb-05 10:40 
GeneralRe: Clicking Anywhere in Dialog Always Automatically Closes IT Pin
Shog91-Feb-05 10:46
sitebuilderShog91-Feb-05 10:46 
GeneralRe: Clicking Anywhere in Dialog Always Automatically Closes IT Pin
PJ Arends1-Feb-05 10:28
professionalPJ Arends1-Feb-05 10:28 
GeneralRe: Clicking Anywhere in Dialog Always Automatically Closes IT Pin
Shog91-Feb-05 10:38
sitebuilderShog91-Feb-05 10:38 
GeneralRe: Clicking Anywhere in Dialog Always Automatically Closes IT Pin
Shog91-Feb-05 10:35
sitebuilderShog91-Feb-05 10:35 
GeneralRe: Clicking Anywhere in Dialog Always Automatically Closes IT Pin
DiMats1-Feb-05 10:51
DiMats1-Feb-05 10:51 
GeneralModem Reset Pin
Andrey Del Pozo1-Feb-05 7:38
Andrey Del Pozo1-Feb-05 7:38 
GeneralRe: Modem Reset Pin
Tom Wright1-Feb-05 11:02
Tom Wright1-Feb-05 11:02 
GeneralCharacter Segmentation Help Pin
monageasmear1-Feb-05 6:28
monageasmear1-Feb-05 6:28 
Generalminimise Lock and Unlock operation Pin
mk_le1-Feb-05 5:23
mk_le1-Feb-05 5:23 
GeneralRe: minimise Lock and Unlock operation Pin
basementman1-Feb-05 6:34
basementman1-Feb-05 6:34 
GeneralRe: minimise Lock and Unlock operation Pin
David Crow1-Feb-05 10:13
David Crow1-Feb-05 10:13 
QuestionHow do I dynamically settitle of a page in a property sheet? Pin
akhildhanuka1-Feb-05 5:12
akhildhanuka1-Feb-05 5:12 
AnswerRe: How do I dynamically settitle of a page in a property sheet? Pin
Tom Wright1-Feb-05 6:08
Tom Wright1-Feb-05 6:08 
GeneralRe: How do I dynamically settitle of a page in a property sheet? Pin
karam_chand1-Feb-05 7:17
karam_chand1-Feb-05 7:17 
I am creating the wizard as suggested at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/CommCtls/PropSheet/wizards.asp

So lets say - i want to change the title of on of the page during runtime e.g. IntPage1DlgProc(...)

BOOL CALLBACK IntPage1DlgProc (
HWND hwndDlg,
UINT uMsg,
WPARAM wParam,
LPARAM lParam)
{
LPSHAREDWIZDATA pdata = (LPSHAREDWIZDATA)
GetWindowLong(hwndDlg, GWL_USERDATA);
switch (uMsg)
{
case WM_INITDIALOG :
{
pdata = (LPSHAREDWIZDATA)
((LPPROPSHEETPAGE) lParam) ->
lParam;
SetWindowLong(hwndDlg, GWL_USERDATA,
(DWORD_PTR)pdata);
SetWindowText ( hwndDlg, "XXX" );
break;
}

does not work and the title remains same as one provided using resource editor.

I want to change it dynamically.

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.