Windows thread has already dispatched event Lootin, so, I hasn't created thread or any othre process loop, but has just implemented and called Procees.
s//
//
void wButtonController::Process () {
switch ( this->event->uMsg ) {
case WM_CREATE:
break;
case WM_CHAR:
ProcessWmChar ();
break;
case WM_CLOSE:
break;
case WM_PAINT:
ProcessWmPaint ();
break;
case WM_COMMAND:
break;
case WM_KEYUP:
break;
case WM_KEYDOWN:
break;
case WM_DESTROY:
break;
case WM_ENDSESSION:
break;
case WM_LBUTTONDOWN:
break;
case WM_LBUTTONDBLCLK:
break;
case WM_RBUTTONDBLCLK:
break;
case WM_SIZE:
break;
default:
break;
}
}
I'm pleasure if you download the below.
https://github.com/WaitrudWeber/source_zip/blob/master/display-20190122.zip
Please reffer to the below for compilation.
https://waitrudweber.hatenablog.com/entry/2018/05/01/005938