icon at left-top corner

Sai Sai_member at pathlink.com
Thu Feb 23 14:48:23 PST 2006


Never mind, I got it working for .gif images. I still couldn't figure out how to
use it for .bmp or .ico images though.

Sai

In article <dtl7pt$1bbp$1 at digitaldaemon.com>, Sai says...
>
>
>I am trying to display an icon at left-top corner of DWT application.
>I used following code and rc file, It is not working,  
>DWTResourceManager.getImage is returning null
>
>I am using rcc.exe to convert file.rc to file.res, and including file.res in
>command line while building the app.
>
>Can some one plese help me.
>Thanks in advance
>Sai
>
>
>
>---- gui_file.d
>
>Image img = DWTResourceManager.getImage("101", "ICOFILE");
>shell.setImage(img);
>
>---- file.rc 
>101 ICON sunits.ico
>
>
>
>





More information about the Digitalmars-d-dwt mailing list