Click here to Skip to main content
15,908,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
jhwurmbach19-Dec-07 7:38
jhwurmbach19-Dec-07 7:38 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
David Crow19-Dec-07 4:13
David Crow19-Dec-07 4:13 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
jhwurmbach19-Dec-07 5:25
jhwurmbach19-Dec-07 5:25 
QuestionRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
David Crow19-Dec-07 6:09
David Crow19-Dec-07 6:09 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
jhwurmbach19-Dec-07 6:13
jhwurmbach19-Dec-07 6:13 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
jhwurmbach19-Dec-07 6:36
jhwurmbach19-Dec-07 6:36 
QuestionRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
David Crow19-Dec-07 7:01
David Crow19-Dec-07 7:01 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
jhwurmbach19-Dec-07 7:03
jhwurmbach19-Dec-07 7:03 
QuestionRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
David Crow19-Dec-07 7:10
David Crow19-Dec-07 7:10 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
jhwurmbach19-Dec-07 7:20
jhwurmbach19-Dec-07 7:20 
QuestionRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
David Crow19-Dec-07 7:31
David Crow19-Dec-07 7:31 
GeneralRe: SHGetSpecialFolderPath not giving proper Path on Window 98 Pin
jhwurmbach19-Dec-07 7:34
jhwurmbach19-Dec-07 7:34 
GeneralAdd icon to ListView Pin
john563218-Dec-07 18:51
john563218-Dec-07 18:51 
GeneralRe: Add icon to ListView Pin
Hamid_RT18-Dec-07 19:27
Hamid_RT18-Dec-07 19:27 
GeneralRe: Add icon to ListView Pin
john563218-Dec-07 19:32
john563218-Dec-07 19:32 
GeneralRe: Add icon to ListView Pin
Peter Weyzen18-Dec-07 19:45
Peter Weyzen18-Dec-07 19:45 
GeneralRe: Add icon to ListView Pin
john563218-Dec-07 19:48
john563218-Dec-07 19:48 
GeneralRe: Add icon to ListView Pin
Peter Weyzen18-Dec-07 21:48
Peter Weyzen18-Dec-07 21:48 
QuestionRe: Add icon to ListView Pin
David Crow19-Dec-07 4:14
David Crow19-Dec-07 4:14 
GeneralRe: Add icon to ListView Pin
Hamid_RT18-Dec-07 20:12
Hamid_RT18-Dec-07 20:12 
Questionwhy worker thread(non UI ) can't receive message send by PostThreadMessage Pin
CNJXRZ18-Dec-07 18:38
CNJXRZ18-Dec-07 18:38 
Dev environment: vc6.0 + SP5
System : WinXP + SP2

Some threads(include main UI thread and other NonUI worker threads) will call PostThreadMessage to post user-defined message to a NonUI worker thread. In this case, the user-defined message is WM_USER+0x2000.
The nonUI worker thread created by AfxBeginThread, and i override the Run function.The code is like below:
WorkThread::Run()
{
while ( 1 )
{
::PeekMessage ( &Msg, 0, 0, PM_NOREMOVE ) ;
if ( Msg.message == WM_USER+0x2000 )
TRACE ( "MESSAGE\n" );
........
........
if ( ... )
break;
}
}
Note: WM_USER+0x2000 post by main UI thread and PostThreadMessage return TRUE.But i cann't trace the message.Other user-defined message post by
PostThreadMessage will be received in WorkThread::Run(), i don't why?
which logical error or system bug will cause the problem?
GeneralRe: why worker thread(non UI ) can't receive message send by PostThreadMessage Pin
Naveen18-Dec-07 20:54
Naveen18-Dec-07 20:54 
GeneralRe: why worker thread(non UI ) can't receive message send by PostThreadMessage Pin
JudyL_MD19-Dec-07 2:13
JudyL_MD19-Dec-07 2:13 
GeneralRe: why worker thread(non UI ) can't receive message send by PostThreadMessage Pin
Mark Salsbery19-Dec-07 7:05
Mark Salsbery19-Dec-07 7:05 
GeneralWindow TreadId Pin
nitin318-Dec-07 18:28
nitin318-Dec-07 18:28 

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.