Kreiranje Icon Resource Fajla / Icon File
0 članova i 1 gost pregledaju ovu temu.
(Procitana 161 puta)
M@jk!
Webmaster
Spavac na Forumu
Van mreže
Pol: 
Poruke: 4652
|
 |
« poslato: Август 26, 2008, 10:12:44 » |
|
This guide will show you how to create your own icon resource file (icon library) for Smartphone2002, Smartphone2003, and Smartphone 2003 SE devices. If you love homescreen and Start Menu icons customization, you may find this guide worth reading.
Requirements: 1. eVC ++ 4.0 (220MB) 2. eVC ++ 3.0 (205MB) 3. Smartphone 2002 SDK (46MB) 4. Smartphone 2003 SDK (54MB) 5. eVC 4.0 Service Pack 2 (42MB) 6. Icons in 16?16 and 32?32 pixels
Do we really need to install them? I prepared this tutorial after installing ALL of them so in order for us to have the same machine configurations, kindly install all of the requirements.
This is how I do it: 1. Open eVC 4.0, hit File > New > highlight WCE Smartphone 2003 Application.

2. Type a project name. I?ll use ?GPC2K2icons?. Hit OK after assigning a project name. 3. WCE Smartphone 2003 Application -Step 1 of 1 window opens. Mark ?A typical ?Hello World!? application? then hit Finish.

Click OK when ?New Project Information? window opens.

4. You see this next?

5. Click on ?File View? , double-click on ?GPC2K2icons files? , then open ?Resource Files?.
6. Highlight ?Resource Files? then click ?Insert? > ?Resource?.

7. ?Insert Resource? window opens. Highlight ?Icon? then click ?Import? button.

8. Open folder containing your icons then highlight all icons you want included in your project. Hit ?Import?

9. ?Resource View? tab opens showing you the ?imported? icons.
10. Build your EXE file. Hit ?Build?

Program tries to establish connection with your device if you have enabled ?SMARTPHONE 2003 Device?. You might encounter this error message (just click OK)

11. Verify compiled file by opening destination folder: C:\Program Files\Microsoft eMbedded C++ 4.0\Common\EVC\MyProjects\GPC2K2icons\emulatorDbg

12. Save your project then exit eVC 4.0. 13. Open C:\Program Files\Microsoft eMbedded C++ 4.0\Common\EVC\MyProjects\GPC2K2icons\ . Look for a *.VCW file inside the folder.

14. Highlight the VCW file then right click mouse > Open with EVC.
 15. eVC 3.0 opens. If you encounter these error messages, just click on OK button:



16. Click ?Build? > ?Configurations?

17. When you see this window, click ?Add?
18. You will see this window after clicking Add. Just click OK then Close.


19. Click ?Project? > ?Settings? then click ?Link? tab

Notice ?commctrl.lib coredll.lib? on the Object/library modules field? Change it to commctrl.lib coredll.lib aygshell.lib then click OK to close window.

20. Its time to build your project! Hehehe. So hit ?Build? > ?BuildGPC2K2icons.exe?

Depending on your project setup, emulator will load if you chose to test your project on the emulator. Since we are only after an icon resource file, we do not need to test our project using the emulator so shutdown the emulator!

21. Verify compiled file. Open C:\Program Files\Microsoft eMbedded C++ 4.0\Common\EVC\MyProjects\GPC2K2icons\ARMDbg . You see the EXE inside? Congratulations! You now have your very own icon resource file.

22. Transfer the EXE file to your phone then check the icons using Binary?s Smart Explorer program. Beautiful icons! Hahaha.

125, 126, 127 etc are the icon resource ID. You need to be familiar with those numbers if you plan to use the file for your homescreen, Start Menu customizations etc.
|
|
|
|
« Poslednja izmena: Септембар 09, 2008, 09:58:17 M@jk! »
|
Sačuvana
|
|
|
|
|