Windows Mobile Hello World
[Windows Mobile]
プロジェクトを作成し、TODOの箇所に、コードを挿入
case WM_PAINT:
hdc = BeginPaint(hWnd, &ps);
// TODO: 描画コードをここに追加してください...
int ret;
TCHAR hellomsg[50];
StringCchCopy(hellomsg, 50, L"Hello World!");
SetTextColor(hdc, RGB(255,0,0));
ret = ExtTextOut(hdc, 10, 10, 0, NULL
,hellomsg, lstrlen(hellomsg), NULL);
EndPaint(hWnd, &ps);
break;

YAGI Hiroto (piroto@a-net.email.ne.jp)
twitter http://twitter.com/pppiroto
Copyright© 矢木 浩人 All Rights Reserved.