I tried to get the size of the background window:
Display All
and size il 16383 for both x and y, whether I use the WM_GetWindowSize*() or WM_GetInsideRectEx() functions.
Why?
I expected the size of the background window to be the same as the size of the LCD.
Am I making a mistake?
best regards
Max
C Source Code
- GUI_Init();
- GUI_EnableAlpha(1);
- GUI_UC_SetEncodeUTF8();
- GUI_SetBkColor(GUI_BLACK);
- GUI_Clear();
- WM_SetCallback(WM_HBKWIN, _cbBkWin);
- WM_SetCreateFlags(WM_CF_MEMDEV);
- WM_EnableMemdev(WM_HBKWIN);
- int xSize, ySize;
- GUI_RECT Rect;
- xSize = WM_GetWindowSizeX(WM_HBKWIN);
- ySize = WM_GetWindowSizeY(WM_HBKWIN);
- WM_GetInsideRectEx(WM_HBKWIN, &Rect);
and size il 16383 for both x and y, whether I use the WM_GetWindowSize*() or WM_GetInsideRectEx() functions.
Why?
I expected the size of the background window to be the same as the size of the LCD.
Am I making a mistake?
best regards
Max