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

C / C++ / MFC

 
GeneralRe: Testing ATL components Pin
Nish Nishant4-Jun-02 5:48
sitebuilderNish Nishant4-Jun-02 5:48 
GeneralRe: Testing ATL components Pin
Mazdak4-Jun-02 1:47
Mazdak4-Jun-02 1:47 
GeneralRe: Testing ATL components Pin
Nish Nishant4-Jun-02 4:27
sitebuilderNish Nishant4-Jun-02 4:27 
GeneralI can't figure out why the caret disappears Pin
3-Jun-02 23:01
suss3-Jun-02 23:01 
GeneralRe: I can't figure out why the caret disappears Pin
Hans Ruck3-Jun-02 23:06
Hans Ruck3-Jun-02 23:06 
GeneralRe: I can't figure out why the caret disappears Pin
3-Jun-02 23:20
suss3-Jun-02 23:20 
GeneralRe: I can't figure out why the caret disappears Pin
Paul M Watt4-Jun-02 5:40
mentorPaul M Watt4-Jun-02 5:40 
GeneralPostThreadMessage failing Pin
Hans Ruck3-Jun-02 22:41
Hans Ruck3-Jun-02 22:41 
I use:

m_dw=_beginthread(ThP, 0, NULL); // successfuly
// ...
PostThreadMessage(m_dw, WM_APP+10, 0, 0); // unhappy

in a dialog-based MFC application.

The thread function is:
void ThP(PVOID pv)
{
MSG msg;

while (GetMessage(&msg, NULL, 0, 0))
{
AfxMessageBox("676767");
}
}

This doesn't work. Have any idea why?


rechi
GeneralRe: PostThreadMessage failing Pin
Joaquín M López Muñoz3-Jun-02 23:26
Joaquín M López Muñoz3-Jun-02 23:26 
GeneralSpecial Dialog screen to be programmed ... Pin
Qadddd3-Jun-02 22:32
Qadddd3-Jun-02 22:32 
GeneralCustomize mouse cursor Pin
Rage3-Jun-02 21:35
professionalRage3-Jun-02 21:35 
GeneralRe: Customize mouse cursor Pin
Nish Nishant3-Jun-02 21:56
sitebuilderNish Nishant3-Jun-02 21:56 
GeneralRe: Customize mouse cursor Pin
Rage3-Jun-02 22:18
professionalRage3-Jun-02 22:18 
GeneralRe: Customize mouse cursor Pin
Eugene Pustovoyt3-Jun-02 22:14
Eugene Pustovoyt3-Jun-02 22:14 
GeneralAbout P10 File! Pin
wabc3-Jun-02 21:40
wabc3-Jun-02 21:40 
GeneralRe: About P10 File! Pin
Mike Nordell3-Jun-02 22:28
Mike Nordell3-Jun-02 22:28 
GeneralRe: About P10 File! Pin
wabc3-Jun-02 23:36
wabc3-Jun-02 23:36 
Questioncommercial mp3 encoding libraries? Pin
bryce3-Jun-02 21:34
bryce3-Jun-02 21:34 
AnswerRe: commercial mp3 encoding libraries? Pin
Mike Nordell3-Jun-02 22:30
Mike Nordell3-Jun-02 22:30 
GeneralWatermark Pin
3-Jun-02 20:37
suss3-Jun-02 20:37 
GeneralRe: Watermark Pin
Tomasz Sowinski4-Jun-02 3:47
Tomasz Sowinski4-Jun-02 3:47 
GeneralRe: Watermark Pin
4-Jun-02 17:39
suss4-Jun-02 17:39 
Generalopening files in source code? (.xls, .doc, .txt)... Pin
Atilla Selem3-Jun-02 20:14
Atilla Selem3-Jun-02 20:14 
GeneralRe: opening files in source code? (.xls, .doc, .txt)... Pin
Rage3-Jun-02 21:37
professionalRage3-Jun-02 21:37 
GeneralRe: opening files in source code? (.xls, .doc, .txt)... Pin
Atilla Selem3-Jun-02 21:54
Atilla Selem3-Jun-02 21:54 

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.