Icone no executável

Icone no executável

Postby lsmarco » Tue Apr 13, 2010 12:04 am

Gostaria de saber como colocar um icone no executavel.

Obrigado.
lsmarco
 
Posts: 13
Joined: Fri Jan 08, 2010 10:51 am

Re: Icone no executável

Postby anserkk » Tue Apr 13, 2010 7:09 am

In your .RC file

Code: Select all  Expand view
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: Select all  Expand view
DEFINE WINDOW oWnd TITLE "My Test App"

@10,10 say "Test"

ACTIVATE WINDOW oWnd


Regards
Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Icone no executável

Postby lsmarco » 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.
lsmarco
 
Posts: 13
Joined: Fri Jan 08, 2010 10:51 am

Re: Icone no executável

Postby anserkk » 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: Select all  Expand view
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
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Icone no executável

Postby lsmarco » Tue Apr 13, 2010 12:43 pm

Ok. Resolvido. Obrigado!
lsmarco
 
Posts: 13
Joined: Fri Jan 08, 2010 10:51 am


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 15 guests