Click here to Skip to main content
16,012,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Opening a serial COM port Pin
Joaquín M López Muñoz15-Jul-02 9:58
Joaquín M López Muñoz15-Jul-02 9:58 
GeneralWeird Acception Violation :: MFC Pin
valikac15-Jul-02 9:35
valikac15-Jul-02 9:35 
GeneralRe: Weird Acception Violation :: MFC Pin
Joaquín M López Muñoz15-Jul-02 9:50
Joaquín M López Muñoz15-Jul-02 9:50 
GeneralRe: Weird Acception Violation :: MFC Pin
valikac15-Jul-02 10:45
valikac15-Jul-02 10:45 
GeneralRe: Weird Acception Violation :: MFC Pin
Joaquín M López Muñoz15-Jul-02 11:35
Joaquín M López Muñoz15-Jul-02 11:35 
GeneralRe: Weird Acception Violation :: MFC Pin
valikac15-Jul-02 12:50
valikac15-Jul-02 12:50 
GeneralRe: Solution Pin
valikac15-Jul-02 17:11
valikac15-Jul-02 17:11 
QuestionHow do you wait until a process has finihed before you start another Pin
Desmond Mardle15-Jul-02 9:17
Desmond Mardle15-Jul-02 9:17 
I have a operation which writes a string to a ListBox. Followed by anther function. The problem is the other function starts before the string is displayed in the list box. i:e

plistbox.AddString("xyx"); // writes string to list box

if(!(my_function()))
{
// fail
}
else
{
// pass
}

How do I make sure the ListBox has been updated before the next function is called.

Any help would be appreciated
Thanks



The problem is the next process seems to start before the string is displayed in the ListBox.

Desmond Mardle
AnswerRe: How do you wait until a process has finihed before you start another Pin
Joaquín M López Muñoz15-Jul-02 9:21
Joaquín M López Muñoz15-Jul-02 9:21 
GeneralRe: How do you wait until a process has finihed before you start another Pin
Desmond Mardle15-Jul-02 22:00
Desmond Mardle15-Jul-02 22:00 
AnswerRe: How do you wait until a process has finihed before you start another Pin
User 842015-Jul-02 9:28
User 842015-Jul-02 9:28 
GeneralExplorer 'like' App Pin
Frank Deo15-Jul-02 9:01
Frank Deo15-Jul-02 9:01 
GeneralThreads Pin
Frank Deo15-Jul-02 9:00
Frank Deo15-Jul-02 9:00 
GeneralRe: Threads Pin
Joaquín M López Muñoz15-Jul-02 9:12
Joaquín M López Muñoz15-Jul-02 9:12 
GeneralRe: Threads Pin
Frank Deo15-Jul-02 9:23
Frank Deo15-Jul-02 9:23 
Questioncan you disable all scrollbars in an MDI? Pin
ns15-Jul-02 8:50
ns15-Jul-02 8:50 
Generalquick SDI question Pin
ns15-Jul-02 8:46
ns15-Jul-02 8:46 
GeneralRe: quick SDI question Pin
PJ Arends15-Jul-02 15:23
professionalPJ Arends15-Jul-02 15:23 
GeneralRe: quick SDI question Pin
ns15-Jul-02 15:46
ns15-Jul-02 15:46 
GeneralRe: quick SDI question Pin
PJ Arends15-Jul-02 16:41
professionalPJ Arends15-Jul-02 16:41 
GeneralI cant thank you enough!!!! Pin
ns15-Jul-02 17:00
ns15-Jul-02 17:00 
GeneralRe: I cant thank you enough!!!! Pin
PJ Arends15-Jul-02 17:14
professionalPJ Arends15-Jul-02 17:14 
Generaltrouble with movewindow and MDI scrolling Pin
ns15-Jul-02 7:45
ns15-Jul-02 7:45 
GeneralSetting font Pin
Al_Pennyworth15-Jul-02 7:20
Al_Pennyworth15-Jul-02 7:20 
QuestionChange font of CFileDialog ? Pin
dlhson15-Jul-02 7:15
dlhson15-Jul-02 7:15 

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.