Click here to Skip to main content
16,006,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSending email Pin
dsfasdfadsfasdfadsf9-Sep-02 7:43
dsfasdfadsfasdfadsf9-Sep-02 7:43 
GeneralRe: Sending email Pin
Chris Losinger9-Sep-02 8:04
professionalChris Losinger9-Sep-02 8:04 
GeneralRe: Sending email Pin
Alwin7510-Sep-02 3:03
Alwin7510-Sep-02 3:03 
GeneralMCI refresh problem !!! Pin
Hadi Rezaee9-Sep-02 7:24
Hadi Rezaee9-Sep-02 7:24 
GeneralRe: MCI refresh problem !!! Pin
Joaquín M López Muñoz9-Sep-02 7:37
Joaquín M López Muñoz9-Sep-02 7:37 
GeneralRe: MCI refresh problem !!! Pin
Hadi Rezaee9-Sep-02 8:27
Hadi Rezaee9-Sep-02 8:27 
QuestionWhat to do????? Pin
Anonymous9-Sep-02 7:21
Anonymous9-Sep-02 7:21 
GeneralGUI/Data Design question Pin
JennyP9-Sep-02 6:58
JennyP9-Sep-02 6:58 
Hello,

I've a document class with an array of records each containing about 15 fields. Currently, I send messages to my GUI to update a record (listview) if that record's fields have been changed (intercepted at documents 'setrecordfield()' function). The problem is that the user can change as many as 5 fields in one GUI operation. This causes my current design to send 5 messages to the GUI to refresh the display--this can become very slow with an increasing number of records/changes (plus, some of my display text items require relatively long functions to compute for each update).

I've put some thought in to this but haven't come up with an eloquent design that would only update the GUI when it 'should' (i.e., after the document has stopped changing but not too long after so that the user witnesses delay). I could litter my code with conditional update calls, but that seems like a lot of 'ifs' and would require that I keep changing these places throughout development. I'm not a professional MFC developer, so any hints or approches would be appreciated.

Thanks!


JennyP
GeneralRe: GUI/Data Design question Pin
Joaquín M López Muñoz9-Sep-02 7:08
Joaquín M López Muñoz9-Sep-02 7:08 
GeneralRe: GUI/Data Design question Pin
JennyP9-Sep-02 8:14
JennyP9-Sep-02 8:14 
GeneralRe: GUI/Data Design question Pin
Joaquín M López Muñoz9-Sep-02 8:25
Joaquín M López Muñoz9-Sep-02 8:25 
QuestionDoes anyone have MFC Grid 2.23? Pin
petrym9-Sep-02 6:42
petrym9-Sep-02 6:42 
AnswerRe: Does anyone have MFC Grid 2.23? Pin
Joaquín M López Muñoz9-Sep-02 6:49
Joaquín M López Muñoz9-Sep-02 6:49 
GeneralRe: Does anyone have MFC Grid 2.23? Pin
petrym9-Sep-02 7:07
petrym9-Sep-02 7:07 
GeneralRe: Does anyone have MFC Grid 2.23? Pin
Joaquín M López Muñoz9-Sep-02 7:14
Joaquín M López Muñoz9-Sep-02 7:14 
GeneralRe: Does anyone have MFC Grid 2.23? Pin
petrym9-Sep-02 7:20
petrym9-Sep-02 7:20 
GeneralChanging dialog background color ... Pin
Hadi Rezaee9-Sep-02 6:41
Hadi Rezaee9-Sep-02 6:41 
GeneralRe: Changing dialog background color ... Pin
Joaquín M López Muñoz9-Sep-02 6:46
Joaquín M López Muñoz9-Sep-02 6:46 
GeneralRe: Changing dialog background color ... Pin
Hadi Rezaee9-Sep-02 6:53
Hadi Rezaee9-Sep-02 6:53 
GeneralRe: Changing dialog background color ... Pin
Joaquín M López Muñoz9-Sep-02 7:03
Joaquín M López Muñoz9-Sep-02 7:03 
QuestionGet refresh rate (frequency) of current display mode under Win9x? Pin
FatBastardDelivery9-Sep-02 5:46
FatBastardDelivery9-Sep-02 5:46 
GeneralAnimated GIF !!! Pin
Hadi Rezaee9-Sep-02 5:25
Hadi Rezaee9-Sep-02 5:25 
GeneralRe: Animated GIF !!! Pin
Chris Losinger9-Sep-02 5:47
professionalChris Losinger9-Sep-02 5:47 
GeneralCombo Box Control. Pin
arthivjii9-Sep-02 5:22
arthivjii9-Sep-02 5:22 
GeneralRe: Combo Box Control. Pin
.dan.g.9-Sep-02 14:18
professional.dan.g.9-Sep-02 14:18 

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.