Samsung i600
Hello,
I am doing something very simple on a Samsung i600 smartphone.
I am creating a Progress Control via a Create Window Call
g_hWndProgress = CreateWindow(TEXT("msctls_progress32"), NULL,
WS_VISIBLE|WS_CHILD |
WS_BORDER, 5, 100, iWidth - 10, 20, hwnd, (HMENU)IDC_PROGRESS, ghInst,
NULL);
then issuing
SendMessage(g_hWndProgress, PBM_SETRANGE32, (LPARAM)0, (WPARAM)20);
SendMessage(g_hWndProgress, PBM_SETSTEP, 1, 0L);
SendMessage(g_hWndProgress, PBM_SETPOS, (WPARAM)0, 0L);
the Smart phone it creates the Progress Control no problem but it is always
filled in at 100%
with red. There is no way for me to change it to any other Position. Am i
doing something Drastically wrong ? When using the emulator its works
perfect, only on the real device i am having trouble.
Thanks
Ken Partridge
|