Click here to Skip to main content
13,289,626 members (58,411 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi all...

I am new to Windows CE environment.

-Consider application is running.
-I want to display text on Screen A.
-I goto Screen B and change the text.
-When i go back again on Screen A i want that updated text to be visible(on Screen A).

So where should i place my it WM_ACTIVATE or WM_INITDIALOG or somewhere else.
Please suggest me the best option among the available.

Thank you.
Posted 21-Aug-12 6:05am
Updated 21-Aug-12 21:09pm
Wes Aday 21-Aug-12 11:13am
Well that depends... what is it that you think "Screen A" is? Ditto "Screen B". What have you tried?
SidProgrammer 21-Aug-12 11:23am
Screen A and B both are dialog based screen.
I have tried my code in WM_INITDIALOG but placing the code here does not display the updated value. I think its because WM_INITDIALOG is triggered only when first time window is drawn.
I want to know which event redraws the screen whenever we go back on that screen(in my case whenever we go back on Screen A).

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

i got the desired output by placing my code in WM_ACTIVATE...:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171207.1 | Last Updated 22 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100