Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Is there any posibility to display standard BREW Hour Glass Cursor from my application?
In BREW SDK header files I found AEECursors enum that has CT_BUSY, but it seems like noone uses this enumeration?

The answer I got from tech. support a while back says you can't access the BREW hourglass. You have to provide your own.
MB

The answer I got from tech. support a while back says you can't access the BREW hourglass. You have to provide your own.
MB

That's strange it's pretty easy - at least with 2.0. Use ISHELL_LoadBusyImage to retrieve the Image and then display it. For example:
IImage* pImage = ISHELL_LoadBusyImage(pApp->a.m_pIShell);
if (pImage != NULL) {
AEEImageInfo info;
IIMAGE_GetInfo(pImage, &info);
IIMAGE_SetParm(pImage, IPARM_ROP, AEE_RO_TRANSPARENT, 0);
IIMAGE_Draw(pImage, (pApp->nScreenX - info.cx) / 2, (pApp->nScreenY - info.cy) / 2);
Util_ReleaseObj((void**)&pImage);
}
IDISPLAY_UpdateEx(pApp->a.m_pIDisplay, FALSE);
-Ken

That's strange it's pretty easy - at least with 2.0. Use ISHELL_LoadBusyImage to retrieve the Image and then display it. For example:
IImage* pImage = ISHELL_LoadBusyImage(pApp->a.m_pIShell);
if (pImage != NULL) {
AEEImageInfo info;
IIMAGE_GetInfo(pImage, &info);
IIMAGE_SetParm(pImage, IPARM_ROP, AEE_RO_TRANSPARENT, 0);
IIMAGE_Draw(pImage, (pApp->nScreenX - info.cx) / 2, (pApp->nScreenY - info.cy) / 2);
Util_ReleaseObj((void**)&pImage);
}
IDISPLAY_UpdateEx(pApp->a.m_pIDisplay, FALSE);
-Ken

Dewd:
Note the difference in dates. BREW 1.1 and 2.0 have at least one hard to avoid difference.
Apparently, you've independently discovered a big-timer, sans outside intervention. _You_ are an inventor!
Your ability to grasp the obvious remains sacrosanct.
Well done!
Your humble servant,
Murray

Dewd:
Note the difference in dates. BREW 1.1 and 2.0 have at least one hard to avoid difference.
Apparently, you've independently discovered a big-timer, sans outside intervention. _You_ are an inventor!
Your ability to grasp the obvious remains sacrosanct.
Well done!
Your humble servant,
Murray