Click here to Skip to main content
15,921,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A question about printing!help me ,please! Pin
Shog916-Sep-02 16:48
sitebuilderShog916-Sep-02 16:48 
General(Ironically) other ComboBox problems... Pin
Annonomous16-Sep-02 15:34
sussAnnonomous16-Sep-02 15:34 
GeneralRe: (Ironically) other ComboBox problems... Pin
PJ Arends16-Sep-02 16:50
professionalPJ Arends16-Sep-02 16:50 
GeneralRe: (Ironically) other ComboBox problems... Pin
Anonymous16-Sep-02 17:05
Anonymous16-Sep-02 17:05 
GeneralRe: (Ironically) other ComboBox problems... Pin
PJ Arends16-Sep-02 17:18
professionalPJ Arends16-Sep-02 17:18 
GeneralRe: (Ironically) other ComboBox problems... Pin
Anonymous17-Sep-02 16:40
Anonymous17-Sep-02 16:40 
GeneralRe: (Ironically) other ComboBox problems... Pin
PJ Arends17-Sep-02 19:08
professionalPJ Arends17-Sep-02 19:08 
GeneralCComboBox problem Pin
Le centriste16-Sep-02 15:27
Le centriste16-Sep-02 15:27 
When the user changes the selection of a combo box, I receive the CBN_SELCHANGE notification (via the MFC callback mechanism). The problem is that the UpdateData(TRUE) with the handler sets the CString to the previous.

Who was this guy at Microsoft who might think that if a user changes the Combo box selection that I would be interested in the previous selection, not in the new?

Btw, I tried catching the CBN_EDITCHANGE, CBN_EDITUPDATE, CBN_CLOSEUP, and CBN_SELENDOK notifications. They all return the previous selection, except for CBN_EDITCHANGE and CBN_EDITUPDATE that are never called.

Michel

It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.

- TreeBeard
GeneralRe: CComboBox problem Pin
Shog916-Sep-02 15:30
sitebuilderShog916-Sep-02 15:30 
GeneralRe: CComboBox problem Pin
Le centriste17-Sep-02 3:45
Le centriste17-Sep-02 3:45 
GeneralRe: CComboBox problem Pin
Shog917-Sep-02 4:14
sitebuilderShog917-Sep-02 4:14 
GeneralRe: CComboBox problem Pin
Le centriste17-Sep-02 4:53
Le centriste17-Sep-02 4:53 
GeneralRe: CComboBox problem Pin
Phil J Pearson17-Sep-02 2:22
Phil J Pearson17-Sep-02 2:22 
GeneralRe: CComboBox problem Pin
Le centriste17-Sep-02 3:40
Le centriste17-Sep-02 3:40 
QuestionWeird Errors? Pin
Nick Parker16-Sep-02 13:38
protectorNick Parker16-Sep-02 13:38 
AnswerRe: Weird Errors? Pin
PJ Arends16-Sep-02 13:56
professionalPJ Arends16-Sep-02 13:56 
GeneralRe: Weird Errors? Pin
Nick Parker16-Sep-02 13:56
protectorNick Parker16-Sep-02 13:56 
GeneralRe: Weird Errors? Pin
Neville Franks16-Sep-02 15:58
Neville Franks16-Sep-02 15:58 
AnswerRe: Weird Errors? Pin
Raphael Kindt17-Sep-02 0:52
Raphael Kindt17-Sep-02 0:52 
GeneralSocket programming Pin
xai16-Sep-02 12:44
xai16-Sep-02 12:44 
GeneralRe: Socket programming Pin
xai16-Sep-02 13:02
xai16-Sep-02 13:02 
GeneralRe: Socket programming Pin
PJ Arends16-Sep-02 13:36
professionalPJ Arends16-Sep-02 13:36 
GeneralRe: Socket programming Pin
xai16-Sep-02 13:54
xai16-Sep-02 13:54 
GeneralRe: Socket programming Pin
PJ Arends16-Sep-02 14:15
professionalPJ Arends16-Sep-02 14:15 
GeneralRe: Socket programming Pin
xai16-Sep-02 14:23
xai16-Sep-02 14:23 

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.