2020-05-30から1日間の記事一覧
We can cast ASCII to LPSTR: --- --- --- .\wButton.cpp Sat May 30 19:22:12 2020 60 : 61 :int wButton::drawButton( HDC hdc ) { 62 : 63 : RECT rect; 64 : //SetTextColor( hdc, RGB(0 ,0, 255)); 65 : //Rectangle( hdc, rect->left, rect->top, rect…
We cast LPSTR buffer to LPWSTR and cannnot cast ASCII to LPSATR: So, we may use wsprintf or like that. --- .\wButton.cpp Sat May 30 15:17:17 2020 78 : 79 : Rectangle( hdc, rect.left, rect.top, rect.right, rect.bottom ); 80 :// DrawText( hd…
--- (20200530: ) The answer is L + "Const Character": --- --- --- --- ---