|
From: Abhijit S. <mu...@gm...> - 2003-08-04 19:11:36
|
Hello, Carlos. > ...of lines of code which are not executed. > Or functions which does nothing or not what it's claimed they do... > e.g.: > case ID_LABEL: > SendMessage(GetDlgItem(hwnd, ID_EDIT), EM_SETMODIFY, (WPARAM)(UINT)TRUE, > 0L); > break; > menu->label > menu->quit > Oh, SendMessage... EM_GETMODIFY.... says FALSE. Oh, what was > EM_SETMODIFY supposed to do. Wasn't it make EM_GETMODIFY return TRUE????? Maybe a bug in your code (no offence, just a random thought)? Have you tried a SendMessage(... EM_SETMODIFY ...) on startup and then immediately a dump with the return value from EM_SETMODIFY? Or a MessageBox() on the above case? Maybe the code is not reachable. -- Abhijit Shylanath Homepage: http://mudeth.tripod.com/ |