Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to update dialogbox when focus is lost Pin
David Crow23-Jun-06 3:40
David Crow23-Jun-06 3:40 
GeneralRe: how to update dialogbox when focus is lost Pin
Shrinaresh23-Jun-06 5:15
Shrinaresh23-Jun-06 5:15 
GeneralRe: how to update dialogbox when focus is lost Pin
David Crow23-Jun-06 5:35
David Crow23-Jun-06 5:35 
GeneralRe: how to update dialogbox when focus is lost Pin
Shrinaresh23-Jun-06 8:19
Shrinaresh23-Jun-06 8:19 
GeneralRe: how to update dialogbox when focus is lost Pin
David Crow23-Jun-06 9:06
David Crow23-Jun-06 9:06 
GeneralRe: how to update dialogbox when focus is lost Pin
Shrinaresh23-Jun-06 10:02
Shrinaresh23-Jun-06 10:02 
GeneralRe: how to update dialogbox when focus is lost Pin
David Crow26-Jun-06 3:29
David Crow26-Jun-06 3:29 
GeneralRe: how to update dialogbox when focus is lost Pin
Shrinaresh27-Jun-06 7:06
Shrinaresh27-Jun-06 7:06 
case WM_INITDIALOG:<br />
	SetDlgItemText(hDlg, IDT_PROCESS_STATIC2, "Waiting for input...");<br />
	SendDlgItemMessage(hDlg, IDP_PROCESS_PROGRESS, PBM_SETRANGE, 0, MAKELPARAM(0, frames)); <br />
	SendDlgItemMessage(hDlg, IDP_PROCESS_PROGRESS, PBM_SETSTEP, (WPARAM)1,0);<br />
	return TRUE;


now, if i add PostMessage(hDlg, WM_COMMAND, MAKEWPARAM(BN_CLICKED, IDB_PROCESS_START), LPARAM(hDlg)); before return TRUE; the button is clicked and the processing starts even before the Dialog Box is displayed... i tried SendMessage too, didnt work Frown | :(
QuestionRe: how to update dialogbox when focus is lost Pin
David Crow27-Jun-06 9:52
David Crow27-Jun-06 9:52 
AnswerRe: how to update dialogbox when focus is lost Pin
Shrinaresh27-Jun-06 16:10
Shrinaresh27-Jun-06 16:10 
GeneralRe: how to update dialogbox when focus is lost Pin
David Crow28-Jun-06 2:29
David Crow28-Jun-06 2:29 
Questionget millisecond Pin
LeeeNN22-Jun-06 9:22
LeeeNN22-Jun-06 9:22 
AnswerRe: get millisecond Pin
Zac Howland22-Jun-06 9:29
Zac Howland22-Jun-06 9:29 
GeneralRe: get millisecond Pin
LeeeNN22-Jun-06 10:24
LeeeNN22-Jun-06 10:24 
GeneralRe: get millisecond Pin
Zac Howland22-Jun-06 10:27
Zac Howland22-Jun-06 10:27 
GeneralRe: get millisecond Pin
David Crow23-Jun-06 3:42
David Crow23-Jun-06 3:42 
Questionmsvc keeps recompiling all Pin
ehh22-Jun-06 9:11
ehh22-Jun-06 9:11 
AnswerRe: msvc keeps recompiling all Pin
PJ Arends22-Jun-06 19:52
professionalPJ Arends22-Jun-06 19:52 
Questionproblem walking all over an array Pin
pblais22-Jun-06 9:04
pblais22-Jun-06 9:04 
AnswerRe: problem walking all over an array Pin
Zac Howland22-Jun-06 9:27
Zac Howland22-Jun-06 9:27 
GeneralRe: problem walking all over an array Pin
pblais22-Jun-06 10:21
pblais22-Jun-06 10:21 
GeneralRe: problem walking all over an array Pin
David Crow23-Jun-06 3:49
David Crow23-Jun-06 3:49 
GeneralRe: problem walking all over an array Pin
pblais23-Jun-06 10:53
pblais23-Jun-06 10:53 
GeneralRe: problem walking all over an array Pin
Zac Howland25-Jun-06 8:45
Zac Howland25-Jun-06 8:45 
GeneralRe: problem walking all over an array Pin
pblais26-Jun-06 9:06
pblais26-Jun-06 9:06 

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.