User liste icons

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
Hugolain
Posts: 3
Joined: 2004-11-27 06:54

User liste icons

Post by Hugolain » 2004-11-27 06:58

Hello readers.
I would like to use bigger icons in the users list for an almost blind friend.
I had replaced users.bmp file with the updated one, with icons 24x24.
I did not find the way to change widht and height button, in order to let my icons to be displayed.
Any help would be appreciate.

Thanks

.Sulan.
Posts: 17
Joined: 2004-10-24 15:33

Post by .Sulan. » 2004-11-27 13:17

Code: Select all

userImages.CreateFromImage(IDB_USERS, 16, 8, CLR_DEFAULT, IMAGE_BITMAP, LR_CREATEDIBSECTION | LR_SHARED);
try change that to :

Code: Select all

userImages.CreateFromImage(IDB_USERS, 0, 0, CLR_DEFAULT, IMAGE_BITMAP, LR_CREATEDIBSECTION | LR_SHARED);
or

Code: Select all

userImages.CreateFromImage(IDB_USERS, 24, 24, CLR_DEFAULT, IMAGE_BITMAP, LR_CREATEDIBSECTION | LR_SHARED);

Locked