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

C / C++ / MFC

 
GeneralRe: read a percent from a file Pin
Amit Dey21-Nov-02 12:03
Amit Dey21-Nov-02 12:03 
GeneralRe: read a percent from a file Pin
Amit Dey21-Nov-02 10:35
Amit Dey21-Nov-02 10:35 
GeneralRe: read a percent from a file Pin
James R. Twine21-Nov-02 17:37
James R. Twine21-Nov-02 17:37 
GeneralRe: read a percent from a file Pin
Amit Dey22-Nov-02 4:24
Amit Dey22-Nov-02 4:24 
GeneralUI Thread question.. Pin
RobJones20-Nov-02 10:41
RobJones20-Nov-02 10:41 
GeneralRe: UI Thread question.. Pin
James R. Twine20-Nov-02 10:43
James R. Twine20-Nov-02 10:43 
GeneralRe: UI Thread question.. Pin
RobJones20-Nov-02 10:48
RobJones20-Nov-02 10:48 
GeneralRe: UI Thread question.. Pin
James R. Twine20-Nov-02 13:26
James R. Twine20-Nov-02 13:26 
RobJones wrote:
Have you ever used WSAAsyncSelect() inside a UI Thread?

   Maybe, some time ago.  Now, I would just use WSAEventSelect(...) and use Event objects to indicate whenever something is ready for me.  (This works just like normal Win32 events.)

   IIRC, UI Threads usually manage their own GUI objects (windows), so they should already have their own message pumps.  Worker threads are the ones that do not normally have message pumps.  And a thread that occassionally "touches" a GUI object it did not create is not a GUI thread. Smile | :)

   Peace!

-=- James (Sonork:100.21837)
"There is nothing worse than being oblivious to the fact that you do not know what you are doing."
[Get Check Favorites 1.5 Now!]
GeneralRe: UI Thread question.. Pin
RobJones21-Nov-02 2:57
RobJones21-Nov-02 2:57 
GeneralRe: UI Thread question.. Pin
shahshi14-Dec-10 23:03
shahshi14-Dec-10 23:03 
GeneralOnOK Pin
Le centriste20-Nov-02 10:27
Le centriste20-Nov-02 10:27 
GeneralRe: OnOK Pin
Chris Losinger20-Nov-02 10:32
professionalChris Losinger20-Nov-02 10:32 
GeneralRe: OnOK Pin
Le centriste20-Nov-02 10:52
Le centriste20-Nov-02 10:52 
Generalshellexecuteex, file associatationn editor Pin
pnpfriend20-Nov-02 10:15
pnpfriend20-Nov-02 10:15 
GeneralRe: shellexecuteex, file associatationn editor Pin
zenboy20-Nov-02 11:34
zenboy20-Nov-02 11:34 
GeneralWindows 9X debugging problem Pin
Hiusing20-Nov-02 10:07
Hiusing20-Nov-02 10:07 
GeneralRe: Windows 9X debugging problem Pin
James R. Twine20-Nov-02 10:46
James R. Twine20-Nov-02 10:46 
GeneralRe: Windows 9X debugging problem Pin
Christian Graus20-Nov-02 11:39
protectorChristian Graus20-Nov-02 11:39 
GeneralRe: Windows 9X debugging problem Pin
Roger Stewart20-Nov-02 14:53
professionalRoger Stewart20-Nov-02 14:53 
GeneralAdding Text In MDI RichEdit Pin
Cerb20-Nov-02 9:50
Cerb20-Nov-02 9:50 
GeneralRe: Adding Text In MDI RichEdit Pin
dima_t20-Nov-02 22:06
dima_t20-Nov-02 22:06 
GeneralRe: Adding Text In MDI RichEdit Pin
James R. Twine21-Nov-02 4:30
James R. Twine21-Nov-02 4:30 
QuestionVisual C++ compiler bug ??? Pin
Jim Crafton20-Nov-02 9:43
Jim Crafton20-Nov-02 9:43 
AnswerRe: Visual C++ compiler bug ??? Pin
Christian Graus20-Nov-02 9:45
protectorChristian Graus20-Nov-02 9:45 
GeneralRe: Visual C++ compiler bug ??? Pin
Jim Crafton20-Nov-02 10:01
Jim Crafton20-Nov-02 10:01 

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.