Home > Software engineering >  Use the compiler to add news VS2017 class thread
Use the compiler to add news VS2017 class thread

Time:01-07

 
BEGIN_MESSAGE_MAP (CcbCopyFile, CWinThread)
ON_THREAD_MESSAGE (WM_THREADINFO, & amp; CcbCopyFile: : OnThreadInfo)
END_MESSAGE_MAP ()

In others write thread class, I saw such code
I want to know if these are written manually? Still can use tools to automatically generate?

CodePudding user response:

Seemed to know, is his own handwriting, the compiler can only against the window class can automatically generate message response function, cannot be generated for the thread class
  • Related