ArtZ
August 3rd, 2008, 10:51 PM
help - I need to concatenate multiple icons from the apps resource file into one wider icon that is created in memory and then displayed.
the number of icons being concatenated varies and are of different images.
hicon1 = LoadIcon(hInst,aIcon1);
hicon2 = LoadIcon(hInst,aIcon2);
hicon3 = LoadIcon(hInst,aIcon3);
hicon4 = LoadIcon(hInst,aIcon4);
hicon5 = LoadIcon(hInst,aIcon5);
...
based on a selection i need to concatenate the icons to create hIconNew
all icons are 16x16 in size.
create new icon where hIconNew = hIcon1 + hIcon3 + hIcon4; (how icons will be displayed .. one after another).
or
another time i may need to display
hIconNew = hIcon2+hIcon5;
then with new icon handle call
SendMessage(hWnd,SB_SETICON,0,(LPARAM)hIconNew);
Does any one know how to do this??
Thanks,
Art
the number of icons being concatenated varies and are of different images.
hicon1 = LoadIcon(hInst,aIcon1);
hicon2 = LoadIcon(hInst,aIcon2);
hicon3 = LoadIcon(hInst,aIcon3);
hicon4 = LoadIcon(hInst,aIcon4);
hicon5 = LoadIcon(hInst,aIcon5);
...
based on a selection i need to concatenate the icons to create hIconNew
all icons are 16x16 in size.
create new icon where hIconNew = hIcon1 + hIcon3 + hIcon4; (how icons will be displayed .. one after another).
or
another time i may need to display
hIconNew = hIcon2+hIcon5;
then with new icon handle call
SendMessage(hWnd,SB_SETICON,0,(LPARAM)hIconNew);
Does any one know how to do this??
Thanks,
Art