Mirroring system imagelist
ATL / WTL / STL
1
Posts
1
Posters
2
Views
1
Watching
-
dose any one know how to mirror system image list , iam developing RTL application on LTR windows xp , so i want to mirror image before setting listctrl so it will not look upside down , her what i did so far and i failed :
CMFCToolBarImages toolBarImage;
SHFILEINFO sfi;
UINT nFlags = SHGFI_SYSICONINDEX | SHGFI_ICON ;
HIMAGELIST hIL = (HIMAGELIST)SHGetFileInfo(szWindows, 0, &sfi, sizeof(sfi), nFlags);
CImageList* list = CImageList::FromHandle(hIL);
HBITMAP bitmap = list->GetImageWell();
toolBarImage.MirrorBitmap(bitmap,32);any idea or small hint will be appreciated ?
asdasda