How load icon from resource using LoadImage?

Marcone marcone at email.com
Sun Jan 5 13:33:35 UTC 2020


I am using this code to load icon from local directory, but I 
want to load icon from resource.res file:

wndclass.hIcon  = LoadImage( NULL, "icon.ico", IMAGE_ICON, 0, 0, 
LR_LOADFROMFILE| LR_SHARED | LR_LOADTRANSPARENT);


More information about the Digitalmars-d-learn mailing list