Click here to Skip to main content
15,906,624 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: WTL and Windows CE Pin
Tim Smith13-Jul-03 15:36
Tim Smith13-Jul-03 15:36 
GeneralATL7 Attributes and Registry Pin
Paul A. Howes12-Jul-03 7:09
Paul A. Howes12-Jul-03 7:09 
GeneralHTML parsing... Pin
nw6031211-Jul-03 6:47
nw6031211-Jul-03 6:47 
GeneralRe: HTML parsing... Pin
Heath Stewart11-Jul-03 8:30
protectorHeath Stewart11-Jul-03 8:30 
GeneralWindow Class :: richedit implementation error! Pin
tareqsiraj10-Jul-03 20:23
tareqsiraj10-Jul-03 20:23 
GeneralRe: Window Class :: richedit implementation error! Pin
Michael Dunn11-Jul-03 17:15
sitebuilderMichael Dunn11-Jul-03 17:15 
Generalcommand_id_handler Pin
harishv10-Jul-03 11:15
harishv10-Jul-03 11:15 
GeneralRe: command_id_handler Pin
Heath Stewart11-Jul-03 8:40
protectorHeath Stewart11-Jul-03 8:40 
Do you put data in those controls (like defaults or previous values) when you show the dialog? That would cause a change. You'll just have to ignore those until the dialog is initialized and displayed. Besides, when you use COMMAND_ID_HANDLER, all messages sent to the control invoke your handler.

If all you want to do is watch for changes, try this:
COMMAND_HANDLER(IDC_MYCTL, EN_CHANGE, OnChange)
...or at least something like it. If you initialize the dialog with text in the controls, you'll still have to ignore it at such time (perhaps through a state variable), but once the dialog is shown, any change on that control would call your handler.

Also, different controls use different command messages for changes. TextBox uses EN_CHANGE while other controls will most likely use something different.

 

Reminiscent of my younger years...
10 LOAD "SCISSORS"
20 RUN

GeneralRe: command_id_handler Pin
harishv14-Jul-03 5:10
harishv14-Jul-03 5:10 
Generalcopying items from a map to a list Pin
User 988510-Jul-03 10:40
User 988510-Jul-03 10:40 
GeneralRe: copying items from a map to a list Pin
Andrew Walker10-Jul-03 12:16
Andrew Walker10-Jul-03 12:16 
GeneralRe: copying items from a map to a list Pin
ZoogieZork10-Jul-03 12:29
ZoogieZork10-Jul-03 12:29 
QuestionHow to modify rcBounds CRect pass t o OnDraw Pin
bachelier9-Jul-03 4:25
bachelier9-Jul-03 4:25 
GeneralCAtlArray and ETraits::INARGTYPE Pin
Peter Weyzen8-Jul-03 16:34
Peter Weyzen8-Jul-03 16:34 
Generalpair as key of map Pin
Anonymous8-Jul-03 3:05
Anonymous8-Jul-03 3:05 
GeneralRe: pair as key of map Pin
AlexO8-Jul-03 3:44
AlexO8-Jul-03 3:44 
GeneralRe: pair as key of map Pin
Anonymous8-Jul-03 4:18
Anonymous8-Jul-03 4:18 
GeneralRe: pair as key of map Pin
AlexO8-Jul-03 4:37
AlexO8-Jul-03 4:37 
GeneralRe: pair as key of map Pin
Anonymous8-Jul-03 4:46
Anonymous8-Jul-03 4:46 
GeneralRe: pair as key of map Pin
AlexO8-Jul-03 6:32
AlexO8-Jul-03 6:32 
GeneralRe: pair as key of map Pin
Joaquín M López Muñoz8-Jul-03 6:48
Joaquín M López Muñoz8-Jul-03 6:48 
GeneralRe: pair as key of map Pin
Phil Martin7-Sep-03 14:57
professionalPhil Martin7-Sep-03 14:57 
GeneralRe: Message Reflection for WM_CTLCOLORSTATIC Pin
Michael Dunn6-Jul-03 20:30
sitebuilderMichael Dunn6-Jul-03 20:30 
GeneralEmbed and Automate a Microsoft Excel Worksheet with MFC Pin
Mardigin6-Jul-03 18:09
Mardigin6-Jul-03 18:09 
GeneralWas able to remove... Pin
Mardigin13-Jul-03 5:01
Mardigin13-Jul-03 5:01 

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.