Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
JeffRoz10-Apr-07 3:09
JeffRoz10-Apr-07 3:09 
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
JudyL_MD10-Apr-07 7:36
JudyL_MD10-Apr-07 7:36 
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
JeffRoz10-Apr-07 8:43
JeffRoz10-Apr-07 8:43 
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
JudyL_MD10-Apr-07 8:55
JudyL_MD10-Apr-07 8:55 
GeneralRe: DLL fails on 9x platform, runs on NT platform Pin
JeffRoz10-Apr-07 17:26
JeffRoz10-Apr-07 17:26 
QuestionRe: DLL fails on 9x platform, runs on NT platform Pin
JeffRoz16-Apr-07 5:26
JeffRoz16-Apr-07 5:26 
AnswerRe: DLL fails on 9x platform, runs on NT platform Pin
JudyL_MD16-Apr-07 6:05
JudyL_MD16-Apr-07 6:05 
QuestionHow to send update text message with only standard windows library Pin
theFrenchHornet9-Apr-07 12:55
theFrenchHornet9-Apr-07 12:55 
I need to add a dialog to a project that only has available the Standard Windows Library.

I am at the point where the dialog displays and the progress bar updates. I need to add changing the text in a Label.
I don't know what command to send, and how to specify the text.
The dialog is created with:
<br />
HWND hwndProgressDialog = CreateDialog(hinstance,<br />
MAKEINTRESOURCE(IDD_DIALOG_EM),<br />
GetDesktopWindow(),<br />
EMProgressRoutine);<br />


Here is the code that updates the progress bar:
<br />
hwndProgressBar = GetDlgItem(hwndProgressDialog, IDC_PROGRESS_EM);<br />
SendMessage(hwndProgressBar, PBM_SETPOS, (WPARAM)ProgressCount, 0);<br />


To update the lable text, I assume I get a handle to the Label ID in similar fashion and do another SendMessage. But, what is the comparable command to PBM_SETPOS for setting text and how to specify the text itself?

Thanks for any help.
AnswerRe: How to send update text message with only standard windows library Pin
Mark Salsbery9-Apr-07 16:38
Mark Salsbery9-Apr-07 16:38 
GeneralRe: How to send update text message with only standard windows library Pin
theFrenchHornet10-Apr-07 4:27
theFrenchHornet10-Apr-07 4:27 
GeneralRe: How to send update text message with only standard windows library Pin
theFrenchHornet10-Apr-07 4:45
theFrenchHornet10-Apr-07 4:45 
AnswerRe: How to send update text message with only standard windows library Pin
prasad_som9-Apr-07 18:36
prasad_som9-Apr-07 18:36 
GeneralRe: How to send update text message with only standard windows library Pin
theFrenchHornet10-Apr-07 4:46
theFrenchHornet10-Apr-07 4:46 
QuestionNeed help on game creation Pin
thesad9-Apr-07 10:15
thesad9-Apr-07 10:15 
QuestionRe: Need help on game creation Pin
David Crow9-Apr-07 10:52
David Crow9-Apr-07 10:52 
AnswerRe: Need help on game creation Pin
Rick York9-Apr-07 15:58
mveRick York9-Apr-07 15:58 
GeneralRe: Need help on game creation Pin
Rajesh R Subramanian9-Apr-07 20:00
professionalRajesh R Subramanian9-Apr-07 20:00 
AnswerRe: Need help on game creation Pin
Wes Aday10-Apr-07 4:26
professionalWes Aday10-Apr-07 4:26 
Questionhidden process Pin
mahdiehIR9-Apr-07 10:12
mahdiehIR9-Apr-07 10:12 
AnswerRe: hidden process Pin
Dmitry Khudorozhkov9-Apr-07 10:28
Dmitry Khudorozhkov9-Apr-07 10:28 
AnswerRe: hidden process Pin
Stephen Hewitt9-Apr-07 15:14
Stephen Hewitt9-Apr-07 15:14 
QuestionRe: hidden process Pin
Hamid_RT9-Apr-07 20:19
Hamid_RT9-Apr-07 20:19 
Questionhidden process Pin
mahdiehIR9-Apr-07 10:10
mahdiehIR9-Apr-07 10:10 
Questionwhat is wrong with this code? Pin
sanket.patel9-Apr-07 9:26
sanket.patel9-Apr-07 9:26 
QuestionRe: what is wrong with this code? Pin
David Crow9-Apr-07 10:00
David Crow9-Apr-07 10:00 

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.