Click here to Skip to main content
15,917,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalcombo box item selection Pin
Arungs3-Mar-03 19:30
Arungs3-Mar-03 19:30 
GeneralProblems with a check box Pin
MaTrIX2k23-Mar-03 19:08
MaTrIX2k23-Mar-03 19:08 
GeneralRe: Problems with a check box Pin
Alvaro Mendez4-Mar-03 11:14
Alvaro Mendez4-Mar-03 11:14 
GeneralRe: Problems with a check box Pin
MaTrIX2k24-Mar-03 14:41
MaTrIX2k24-Mar-03 14:41 
Generalhandel and window Pin
aguest3-Mar-03 12:29
aguest3-Mar-03 12:29 
GeneralRe: handel and window Pin
Dave Bryant3-Mar-03 12:39
Dave Bryant3-Mar-03 12:39 
GeneralHELP! Parent-Child Thread Data Problem Pin
Ecom Wang3-Mar-03 12:25
sussEcom Wang3-Mar-03 12:25 
GeneralRe: HELP! Parent-Child Thread Data Problem Pin
Scott H. Settlemier4-Mar-03 9:57
Scott H. Settlemier4-Mar-03 9:57 
Threads A3 and B3 are executing your code?
Do you get to specify what code that is?
That may be the way of transmitting the
information you need.

I.e. if you are prevented from passing on a
user defined value and are only allowed to
pass on the your thread's entry point, then
create a sort of thunking table of functions
which call your primary thread entry point and
pass on the index into the table.

Here's how it could work. A1 acquires an index
from a class that assigns table indices. So
now A1 owns index I5 for instance. B1 does the
same and gets index I6. Now when A1 passes
control to A2 (not yours) it specifies a thread
entry point of T[I5]. B1 does the same with an
entry point of T[I6].

So now their code in A2 creates a thread A3,
starting at T[I5]. This means your A3 thread can
determine who caused it to be created. voila.
Same for B.

From there it is easy to keep indexed foo objects
or what have you...

General. Pin
aguest3-Mar-03 12:23
aguest3-Mar-03 12:23 
GeneralRe: . Pin
benjymous4-Mar-03 1:15
benjymous4-Mar-03 1:15 
Generalhandel of EditBox and window Pin
aguest4-Mar-03 10:31
aguest4-Mar-03 10:31 
GeneralPbm with Registry function Pin
RaajaOfSelf3-Mar-03 11:46
RaajaOfSelf3-Mar-03 11:46 
GeneralRe: Pbm with Registry function Pin
Brian Shifrin3-Mar-03 12:02
Brian Shifrin3-Mar-03 12:02 
GeneralRe: Pbm with Registry function Pin
RaajaOfSelf3-Mar-03 12:24
RaajaOfSelf3-Mar-03 12:24 
GeneralRe: Pbm with Registry function Pin
Dave Bryant3-Mar-03 12:50
Dave Bryant3-Mar-03 12:50 
GeneralRe: Pbm with Registry function Pin
ramki-kicha3-Mar-03 19:52
sussramki-kicha3-Mar-03 19:52 
GeneralRe: Pbm with Registry function Pin
Jon Hulatt4-Mar-03 3:04
Jon Hulatt4-Mar-03 3:04 
QuestionWindow with Close button but no titlebar Icon? Pin
Aidman3-Mar-03 11:11
Aidman3-Mar-03 11:11 
AnswerRe: Window with Close button but no titlebar Icon? Pin
Zdeslav Vojkovic3-Mar-03 22:36
Zdeslav Vojkovic3-Mar-03 22:36 
GeneralRe: Window with Close button but no titlebar Icon? Pin
Aidman4-Mar-03 5:32
Aidman4-Mar-03 5:32 
QuestionDisplaying a bitmap? Pin
Paddy3-Mar-03 10:30
Paddy3-Mar-03 10:30 
AnswerRe: Displaying a bitmap? Pin
Brian Shifrin3-Mar-03 12:07
Brian Shifrin3-Mar-03 12:07 
GeneralRe: Displaying a bitmap? Pin
Paddy3-Mar-03 13:18
Paddy3-Mar-03 13:18 
GeneralRe: Displaying a bitmap? Pin
MAAK3-Mar-03 22:22
MAAK3-Mar-03 22:22 
GeneralRe: Displaying a bitmap? Pin
Paddy4-Mar-03 2:37
Paddy4-Mar-03 2:37 

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.