Click here to Skip to main content
15,914,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get highlighted text by double click? Pin
Pony12-Mar-02 20:07
Pony12-Mar-02 20:07 
AnswerRe: How to get highlighted text by double click? Pin
Tomasz Sowinski12-Mar-02 23:12
Tomasz Sowinski12-Mar-02 23:12 
GeneralRe: How to get highlighted text by double click? Pin
Pony13-Mar-02 6:22
Pony13-Mar-02 6:22 
QuestionCListCtrl -Max Visible text length 260? Pin
12-Mar-02 18:45
suss12-Mar-02 18:45 
AnswerRe: CListCtrl -Max Visible text length 260? Pin
Tomasz Sowinski12-Mar-02 22:57
Tomasz Sowinski12-Mar-02 22:57 
Generalwriting a plugin Pin
Dor12-Mar-02 14:34
Dor12-Mar-02 14:34 
GeneralRe: writing a plugin Pin
alex.barylski12-Mar-02 19:36
alex.barylski12-Mar-02 19:36 
GeneralCEvent Syncronization Class! Pin
MarkPQ12-Mar-02 13:58
MarkPQ12-Mar-02 13:58 
I am making a multithreaded app that connects to a serial port and already lots of people here have been a great help!

At the moment I have several threads, two in particular (which coincidentally I have put in a seperate dll) are called RxThread and TxThread, obviously controlling the transmission and receiving of data from the serial port.

What I am trying to do is have a CEvent that I can signal with the RxThread when I have received a reply from a message sent using TxThread (to serial). I know in TxThread I want to WaitForSingleObject for a little while, and if timedout check for messages to TxThread (ie WM_QUIT, not serial messages) and Retry sending (to Serial)!

The trouble is I'm not sure how to create the CEvent object so that I can set it with the RxThread each time I get a reply, and wait for it in TxThread so I can block the thread for a little while!

Thanks for any help
-Mark
GeneralRe: CEvent Syncronization Class! Pin
Serge Krynine12-Mar-02 14:16
Serge Krynine12-Mar-02 14:16 
GeneralCreating Styles... Pin
CDuddley12-Mar-02 13:49
CDuddley12-Mar-02 13:49 
GeneralRe: Creating Styles... Pin
Maximilien12-Mar-02 15:20
Maximilien12-Mar-02 15:20 
GeneralRe: Creating Styles... Pin
alex.barylski12-Mar-02 15:49
alex.barylski12-Mar-02 15:49 
GeneralRe: Creating Styles... Pin
CDuddley12-Mar-02 16:27
CDuddley12-Mar-02 16:27 
GeneralRe: Creating Styles... Pin
Serge Krynine12-Mar-02 17:02
Serge Krynine12-Mar-02 17:02 
GeneralRe: Creating Styles... Pin
alex.barylski12-Mar-02 19:29
alex.barylski12-Mar-02 19:29 
GeneralCPP question Pin
alex.barylski12-Mar-02 13:01
alex.barylski12-Mar-02 13:01 
GeneralRe: CPP question Pin
Rick York12-Mar-02 14:59
mveRick York12-Mar-02 14:59 
GeneralRe: CPP question Pin
alex.barylski12-Mar-02 15:37
alex.barylski12-Mar-02 15:37 
GeneralRe: CPP question Pin
Jon Hulatt12-Mar-02 22:25
Jon Hulatt12-Mar-02 22:25 
GeneralRe: CPP question Pin
Tomasz Sowinski12-Mar-02 23:17
Tomasz Sowinski12-Mar-02 23:17 
GeneralTools for detecting memory leaks Pin
Rad12-Mar-02 12:24
Rad12-Mar-02 12:24 
GeneralRe: Tools for detecting memory leaks Pin
Tim Smith12-Mar-02 12:35
Tim Smith12-Mar-02 12:35 
GeneralRe: Tools for detecting memory leaks Pin
Rick York12-Mar-02 14:51
mveRick York12-Mar-02 14:51 
GeneralRe: Tools for detecting memory leaks Pin
Nish Nishant12-Mar-02 16:14
sitebuilderNish Nishant12-Mar-02 16:14 
Generallistboxes Pin
12-Mar-02 11:55
suss12-Mar-02 11:55 

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.