domingo, 17 de abril de 2011

label with background?

Need to put a bitmap in your label control?


//create an image
Image img;
r = img.Construct();
TryReturn(r==E_SUCCESS ,r, GetErrorMessage(r));

//create a bitmap (background)
__pBitmapBg = img.DecodeN(bgPopupPath,BITMAP_PIXEL_FORMAT_ARGB8888);
TryReturn(GetLastResult()==E_SUCCESS,GetLastResult(),
GetErrorMessage(GetLastResult()));

//get label control
__pLabelMainTitle = static_cast


Thanks for your visit! :)

Next post: switching images on button control (pressed and released)
Feel free to ask/suggest/comment.
Twitter: @oliveiraeduardo

Nenhum comentário:

Postar um comentário