Click here to Skip to main content
15,923,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCListBox Pin
Vickie20-Feb-01 7:52
Vickie20-Feb-01 7:52 
GeneralRe: CListBox Pin
20-Feb-01 8:12
suss20-Feb-01 8:12 
Generalextracting numbers from CString Pin
20-Feb-01 7:20
suss20-Feb-01 7:20 
GeneralRe: extracting numbers from CString Pin
l a u r e n20-Feb-01 23:08
l a u r e n20-Feb-01 23:08 
QuestionImplementing waitable timers with timeouts ? Pin
20-Feb-01 0:28
suss20-Feb-01 0:28 
AnswerRe: Implementing waitable timers with timeouts ? Pin
l a u r e n20-Feb-01 1:24
l a u r e n20-Feb-01 1:24 
AnswerRe: Implementing waitable timers with timeouts ? Pin
Erik Funkenbusch21-Feb-01 13:02
Erik Funkenbusch21-Feb-01 13:02 
GeneralProperty pages get PSN_KILLACTIVE when edit control changed Pin
Dave Midgley19-Feb-01 22:59
Dave Midgley19-Feb-01 22:59 
I am writing a property-sheet application (actually a dialog app with tabs - nothing to do with properties !). The property pages contain various controls including edit boxes. For some reason the property page receives a PSN_KILLACTIVE notification whenever the user makes a change in an edit control. This calls CPropertyPage::OnKillActive() which calls UpdateData().
This not only makes the tab look as if it has lost focus, it also completely messes up the range checking in DoDataExchange() - for example if the user deletes a character, or all the characters, in order to enter a new value, the value goes out of range and is trapped by DoDataExchange() before the user can enter the new value.
This doesn't appear to happen with other controls such as radio buttons.

Has anyone elese experienced this? Is it a bug? Is there a work-around?

Dave



Dave
GeneralADO Recordset not showing changes just made... Pin
Paul Wolfensberger19-Feb-01 15:34
Paul Wolfensberger19-Feb-01 15:34 
GeneralRe: ADO Recordset not showing changes just made... Pin
l a u r e n19-Feb-01 20:27
l a u r e n19-Feb-01 20:27 
GeneralRe: ADO Recordset not showing changes just made... Pin
Paul Wolfensberger20-Feb-01 2:48
Paul Wolfensberger20-Feb-01 2:48 
GeneralRe: ADO Recordset not showing changes just made... Pin
John M. Drescher20-Feb-01 18:19
John M. Drescher20-Feb-01 18:19 
QuestionHow to enable the second monitor by using APIs? Pin
Wang Huaizhi19-Feb-01 14:08
Wang Huaizhi19-Feb-01 14:08 
QuestionHow to get process name from Process Id/Handle? Pin
19-Feb-01 11:14
suss19-Feb-01 11:14 
AnswerRe: How to get process name from Process Id/Handle? Pin
Todd Wilson19-Feb-01 12:56
Todd Wilson19-Feb-01 12:56 
GeneralGetting closer.. Pin
19-Feb-01 10:36
suss19-Feb-01 10:36 
GeneralRe: Getting closer.. Pin
l a u r e n19-Feb-01 10:55
l a u r e n19-Feb-01 10:55 
GeneralRe: Getting closer.. Pin
19-Feb-01 21:22
suss19-Feb-01 21:22 
GeneralRe: Getting closer.. Pin
Christian Graus19-Feb-01 21:33
protectorChristian Graus19-Feb-01 21:33 
GeneralRe: Getting closer.. Pin
ov19-Feb-01 21:56
ov19-Feb-01 21:56 
GeneralRe: Getting closer.. Pin
21-Feb-01 6:21
suss21-Feb-01 6:21 
GeneralRe: Getting closer.. Pin
21-Feb-01 6:22
suss21-Feb-01 6:22 
GeneralRe: Getting closer.. Pin
l a u r e n21-Feb-01 6:52
l a u r e n21-Feb-01 6:52 
GeneralRe: Getting closer.. Pin
22-Feb-01 3:30
suss22-Feb-01 3:30 
QuestionHighlight CWnd? Pin
19-Feb-01 10:27
suss19-Feb-01 10:27 

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.