FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Icone no executável
Posts: 13
Joined: Fri Jan 08, 2010 10:51 AM
Icone no executável
Posted: Tue Apr 13, 2010 12:04 AM

Gostaria de saber como colocar um icone no executavel.

Obrigado.

Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Icone no executável
Posted: Tue Apr 13, 2010 07:09 AM
In your .RC file

Code (fw): Select all Collapse
1 ICON DISCARDABLE "Images/MyAppIcon.ico"


In your PRG you don't have to define anything extra to define Application ICON.

In your PRG

Code (fw): Select all Collapse
DEFINE WINDOW oWnd TITLE "My Test App" 

@10,10 say "Test"

ACTIVATE WINDOW oWnd


Regards
Anser
Posts: 13
Joined: Fri Jan 08, 2010 10:51 AM
Re: Icone no executável
Posted: Tue Apr 13, 2010 11:47 AM

Eu utilizo o Pelles C, mas não encontrei nenhuma opção para definir o Icone no executável.
Tem alguma linha de comando no programa? tentei a que foi mencionada, mas não deu certo.

Obrigado.

Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Icone no executável
Posted: Tue Apr 13, 2010 12:18 PM
Eu utilizo o Pelles C, mas não encontrei nenhuma opção para definir o Icone no executável.


Just add the the line to your .RC file using any text editor
Code (fw): Select all Collapse
1 ICON DISCARDABLE "Images/MyAppIcon.ico"


Tem alguma linha de comando no programa? tentei a que foi mencionada, mas não deu certo.

How did you test your exe ? On the emulator or on the device ?

You may have to close the emulator and restart the emulator, to reflect the change in the app icon. I suggest you to reboot/refresh the device too to see the changes.

Regards
Anser
Posts: 13
Joined: Fri Jan 08, 2010 10:51 AM
Re: Icone no executável
Posted: Tue Apr 13, 2010 12:43 PM

Ok. Resolvido. Obrigado!

Continue the discussion