Hello,
I have a problem.
I wrote an application for a WinCe Device (PNA).
I create a window with this lines:
HWND hWnd;
hWnd = CreateWindow(L"someClass", L"Dialog", WS_VISIBLE, 0, 0, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL);
ShowWindow (hWnd, nCmdShow);
UpdateWindow (hWnd);
It shows me a blanc window, I fill it with text like this:
CreateWindow( _T("STATIC"), _T("my text"), WS_CHILD | WS_VISIBLE | SS_CENTER, 10, 220 , 460, 15, hWnd, NULL, NULL, NULL);
UpdateWindow (hWnd);
it works very well,
now I will show a logo (bitmap) at the top, but it doesnt work.
I tried several things, bit it doesnt show me the resource
CreateWindow(_T("BITMAP"),MAKEINTRESOURCE(ID_BMP), WS_CHILD | WS_VISIBLE , 0,0,480,100, NULL, NULL, NULL, NULL);
UpdateWindow (hWnd);
Does anyone know what Im doing wrong?
Michael