I need to use a photo (jpg or bmp) as window or framewin's background.
I tried the following two methods :
1. i draw photo in callback of window ,
case WM_PAINT:
2. i use image widget:
But both methods are very slow . I WORK WITH LPC1788
IS THERE ANY OTHER WAY?
I tried the following two methods :
1. i draw photo in callback of window ,
case WM_PAINT:
GUI_DrawBitmap(&Jennifer ,0,0);
2. i use image widget:
hItem = WM_GetDialogItem(pMsg->hWin, ID_IMAGE_0);
pData = _GetImageById(ID_IMAGE_0_IMAGE_0, &FileSize);
IMAGE_SetJPEG(hItem, pData, FileSize);
But both methods are very slow . I WORK WITH LPC1788
IS THERE ANY OTHER WAY?
The post was edited 1 time, last by Sefidari ().