Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Ranier VF
Hi,
Maybe this can help you.
https://docs.microsoft.com/en-us/windows/desktop/controls/cookbook-overview

Best regards.
Ranier

De: Johann Philippe via Iup-users 
Enviado: domingo, 25 de novembro de 2018 17:59
Para: Antonio Scuri
Cc: Johann Philippe; IUP discussion list.
Assunto: Re: [Iup-users] Iup LuaJIT change windows style

I'll check that.
Thanks for all !
Johann

Le dimanche 25 novembre 2018 à 17:21:50 UTC+1, Antonio Scuri 
 a écrit :


  Yes, it is something in the Windows configuration.

  I older Windows you could use a classic theme so all application will have 
the classic look without the visual styles. In Windows 10, the classic look 
option is not there, but maybe other parameter on the Control Panel does that. 
I have no idea.

Best,
Scuri


Em dom, 25 de nov de 2018 às 14:16, Johann Philippe 
mailto:johannphili...@yahoo.fr>> escreveu:
It seems to be the same in the Iup test app. May it be the Windows 10 config ?
Le dimanche 25 novembre 2018 à 16:59:28 UTC+1, Antonio Scuri 
mailto:antonio.sc...@gmail.com>> a écrit :


  That's weird because the application should work with or without the Manifest 
only the appearance of the common controls . What's not working?

  Regarding the default file, probably TEC_64 is not defined and has the same 
effect as commenting the manifest include, because the 32 bit manifest will not 
work for a 64 bit executable.

  Regarding the visual styles, the regular IUP test applications (pre-compiled 
available for download) the visual styles are OK?

Best,
Scuri


Em dom, 25 de nov de 2018 às 13:48, Johann Philippe 
mailto:johannphili...@yahoo.fr>> escreveu:
In fact, the manifest is useful. I use the iup64.manifest. i removed some of 
the last lines in the .rc file so that remain only  :
1 24 iup64.manifest
And if i comment this, the application doesn't work. If i keep this line, the 
application still works, but still using classic visual style.


Le dimanche 25 novembre 2018 à 16:15:03 UTC+1, Antonio Scuri 
mailto:antonio.sc...@gmail.com>> a écrit :


  Hi,

  Check if you are using the correct manifest file for 32 or 64 bits.

  You can take a look at LuaBinaries distribution source files. There manifests 
for both. The IUP source package also contains sample manifests.

Best,
Scuri


Em dom, 25 de nov de 2018 às 12:44, Johann Philippe 
mailto:johannphili...@yahoo.fr>> escreveu:
Some precisions : i'm compiling some Lua code with the lua C api, using iup 
precompiled.

Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe 
mailto:johannphili...@yahoo.fr>> a écrit :


I'm compiling the application with gcc. So i did pre-compile the iup.rc to an 
object file .o, and compiled my project like this :
gcc myapp.c myrc.o -I... -L... -o myapp.exe
The rc seems to work well since the application icon "tecgraf" is used. But the 
windows style isn't changed. So i'm wondering if the manifest is really working 
here ?



Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri 
mailto:antonio.sc...@gmail.com>> a écrit :


  Yes, when you build the application.

  Add a Windows RC file to the project. See the IUP documentation in System / 
Drivers / Win32.

Best,
Scuri


Em sáb, 6 de out de 2018 08:30, Johann Philippe 
mailto:johannphili...@yahoo.fr>> escreveu:
Thank for the answer.
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ?
What should i write then to make it work with Windows w/ style  instead of 
classic style ?

Thanks in advance
Johann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
mailto:antonio.sc...@gmail.com>> a écrit :


  Hi,

  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder.

Best,
Scuri


Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
mailto:iup-users@lists.sourceforge.net>> 
escreveu:
Dear all,

I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ?
Default is windows classic.

Regards
Johann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net<mailto:Iup-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/iup-users


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Johann Philippe via Iup-users
 I'll check that. 
Thanks for all ! 
Johann

Le dimanche 25 novembre 2018 à 17:21:50 UTC+1, Antonio Scuri 
 a écrit :  
 
   Yes, it is something in the Windows configuration.
  I older Windows you could use a classic theme so all application will have 
the classic look without the visual styles. In Windows 10, the classic look 
option is not there, but maybe other parameter on the Control Panel does that. 
I have no idea.
Best,Scuri

Em dom, 25 de nov de 2018 às 14:16, Johann Philippe  
escreveu:

It seems to be the same in the Iup test app. May it be the Windows 10 config ? 
   Le dimanche 25 novembre 2018 à 16:59:28 UTC+1, Antonio Scuri 
 a écrit :  
 
   That's weird because the application should work with or without the 
Manifest only the appearance of the common controls . What's not working?
  Regarding the default file, probably TEC_64 is not defined and has the same 
effect as commenting the manifest include, because the 32 bit manifest will not 
work for a 64 bit executable. 
  Regarding the visual styles, the regular IUP test applications (pre-compiled 
available for download) the visual styles are OK?
Best,Scuri

Em dom, 25 de nov de 2018 às 13:48, Johann Philippe  
escreveu:

 In fact, the manifest is useful. I use the iup64.manifest. i removed some of 
the last lines in the .rc file so that remain only  :1 24 iup64.manifestAnd if 
i comment this, the application doesn't work. If i keep this line, the 
application still works, but still using classic visual style.


Le dimanche 25 novembre 2018 à 16:15:03 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi,
  Check if you are using the correct manifest file for 32 or 64 bits. 
  You can take a look at LuaBinaries distribution source files. There manifests 
for both. The IUP source package also contains sample manifests.
Best,
Scuri

Em dom, 25 de nov de 2018 às 12:44, Johann Philippe  
escreveu:

 Some precisions : i'm compiling some Lua code with the lua C api, using iup 
precompiled. 

Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe 
 a écrit :  
 
 I'm compiling the application with gcc. So i did pre-compile the iup.rc to an 
object file .o, and compiled my project like this : 
gcc myapp.c myrc.o -I... -L... -o myapp.exeThe rc seems to work well since the 
application icon "tecgraf" is used. But the windows style isn't changed. So i'm 
wondering if the manifest is really working here ? 



   Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Yes, when you build the application.
  Add a Windows RC file to the project. See the IUP documentation in System / 
Drivers / Win32.
Best,Scuri

Em sáb, 6 de out de 2018 08:30, Johann Philippe  
escreveu:

 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  

  
  
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Antonio Scuri
  Yes, it is something in the Windows configuration.

  I older Windows you could use a classic theme so all application will
have the classic look without the visual styles. In Windows 10, the classic
look option is not there, but maybe other parameter on the Control Panel
does that. I have no idea.

Best,
Scuri


Em dom, 25 de nov de 2018 às 14:16, Johann Philippe 
escreveu:

> It seems to be the same in the Iup test app. May it be the Windows 10
> config ?
> Le dimanche 25 novembre 2018 à 16:59:28 UTC+1, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
>   That's weird because the application should work with or without the
> Manifest only the appearance of the common controls . What's not working?
>
>   Regarding the default file, probably TEC_64 is not defined and has the
> same effect as commenting the manifest include, because the 32 bit manifest
> will not work for a 64 bit executable.
>
>   Regarding the visual styles, the regular IUP test applications
> (pre-compiled available for download) the visual styles are OK?
>
> Best,
> Scuri
>
>
> Em dom, 25 de nov de 2018 às 13:48, Johann Philippe <
> johannphili...@yahoo.fr> escreveu:
>
> In fact, the manifest is useful. I use the iup64.manifest. i removed some
> of the last lines in the .rc file so that remain only  :
> 1 24 iup64.manifest
> And if i comment this, the application doesn't work. If i keep this line,
> the application still works, but still using classic visual style.
>
>
> Le dimanche 25 novembre 2018 à 16:15:03 UTC+1, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
>   Hi,
>
>   Check if you are using the correct manifest file for 32 or 64 bits.
>
>   You can take a look at LuaBinaries distribution source files. There
> manifests for both. The IUP source package also contains sample manifests.
>
> Best,
> Scuri
>
>
> Em dom, 25 de nov de 2018 às 12:44, Johann Philippe <
> johannphili...@yahoo.fr> escreveu:
>
> Some precisions : i'm compiling some Lua code with the lua C api, using
> iup precompiled.
>
> Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe <
> johannphili...@yahoo.fr> a écrit :
>
>
> I'm compiling the application with gcc. So i did pre-compile the iup.rc to
> an object file .o, and compiled my project like this :
> gcc myapp.c myrc.o -I... -L... -o myapp.exe
> The rc seems to work well since the application icon "tecgraf" is used.
> But the windows style isn't changed. So i'm wondering if the manifest is
> really working here ?
>
>
>
> Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
>   Yes, when you build the application.
>
>   Add a Windows RC file to the project. See the IUP documentation in
> System / Drivers / Win32.
>
> Best,
> Scuri
>
>
> Em sáb, 6 de out de 2018 08:30, Johann Philippe 
> escreveu:
>
> Thank for the answer.
> To be sur I understand well - the manifest is not used when I compile the
> IUP source, but it's used when i build an application from my IUP program ?
> What should i write then to make it work with Windows w/ style  instead of
> classic style ?
>
> Thanks in advance
> Johann
>
> Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
>   Hi,
>
>   The style is changed by using a Manifest when building the executable.
> You can find a Manifest file for that purpose in the iup/etc folder.
>
> Best,
> Scuri
>
>
> Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users <
> iup-users@lists.sourceforge.net> escreveu:
>
> Dear all,
>
> I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries,
> and i'd like to know if it is possible to change the windows style ? Or is
> it only possible at build time ?
> Default is windows classic.
>
> Regards
> Johann Philippe
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Johann Philippe via Iup-users
It seems to be the same in the Iup test app. May it be the Windows 10 config ? 
   Le dimanche 25 novembre 2018 à 16:59:28 UTC+1, Antonio Scuri 
 a écrit :  
 
   That's weird because the application should work with or without the 
Manifest only the appearance of the common controls . What's not working?
  Regarding the default file, probably TEC_64 is not defined and has the same 
effect as commenting the manifest include, because the 32 bit manifest will not 
work for a 64 bit executable. 
  Regarding the visual styles, the regular IUP test applications (pre-compiled 
available for download) the visual styles are OK?
Best,Scuri

Em dom, 25 de nov de 2018 às 13:48, Johann Philippe  
escreveu:

 In fact, the manifest is useful. I use the iup64.manifest. i removed some of 
the last lines in the .rc file so that remain only  :1 24 iup64.manifestAnd if 
i comment this, the application doesn't work. If i keep this line, the 
application still works, but still using classic visual style.


Le dimanche 25 novembre 2018 à 16:15:03 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi,
  Check if you are using the correct manifest file for 32 or 64 bits. 
  You can take a look at LuaBinaries distribution source files. There manifests 
for both. The IUP source package also contains sample manifests.
Best,
Scuri

Em dom, 25 de nov de 2018 às 12:44, Johann Philippe  
escreveu:

 Some precisions : i'm compiling some Lua code with the lua C api, using iup 
precompiled. 

Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe 
 a écrit :  
 
 I'm compiling the application with gcc. So i did pre-compile the iup.rc to an 
object file .o, and compiled my project like this : 
gcc myapp.c myrc.o -I... -L... -o myapp.exeThe rc seems to work well since the 
application icon "tecgraf" is used. But the windows style isn't changed. So i'm 
wondering if the manifest is really working here ? 



   Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Yes, when you build the application.
  Add a Windows RC file to the project. See the IUP documentation in System / 
Drivers / Win32.
Best,Scuri

Em sáb, 6 de out de 2018 08:30, Johann Philippe  
escreveu:

 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  

  
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Antonio Scuri
  That's weird because the application should work with or without the
Manifest only the appearance of the common controls . What's not working?

  Regarding the default file, probably TEC_64 is not defined and has the
same effect as commenting the manifest include, because the 32 bit manifest
will not work for a 64 bit executable.

  Regarding the visual styles, the regular IUP test applications
(pre-compiled available for download) the visual styles are OK?

Best,
Scuri


Em dom, 25 de nov de 2018 às 13:48, Johann Philippe 
escreveu:

> In fact, the manifest is useful. I use the iup64.manifest. i removed some
> of the last lines in the .rc file so that remain only  :
> 1 24 iup64.manifest
> And if i comment this, the application doesn't work. If i keep this line,
> the application still works, but still using classic visual style.
>
>
> Le dimanche 25 novembre 2018 à 16:15:03 UTC+1, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
>   Hi,
>
>   Check if you are using the correct manifest file for 32 or 64 bits.
>
>   You can take a look at LuaBinaries distribution source files. There
> manifests for both. The IUP source package also contains sample manifests.
>
> Best,
> Scuri
>
>
> Em dom, 25 de nov de 2018 às 12:44, Johann Philippe <
> johannphili...@yahoo.fr> escreveu:
>
> Some precisions : i'm compiling some Lua code with the lua C api, using
> iup precompiled.
>
> Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe <
> johannphili...@yahoo.fr> a écrit :
>
>
> I'm compiling the application with gcc. So i did pre-compile the iup.rc to
> an object file .o, and compiled my project like this :
> gcc myapp.c myrc.o -I... -L... -o myapp.exe
> The rc seems to work well since the application icon "tecgraf" is used.
> But the windows style isn't changed. So i'm wondering if the manifest is
> really working here ?
>
>
>
> Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
>   Yes, when you build the application.
>
>   Add a Windows RC file to the project. See the IUP documentation in
> System / Drivers / Win32.
>
> Best,
> Scuri
>
>
> Em sáb, 6 de out de 2018 08:30, Johann Philippe 
> escreveu:
>
> Thank for the answer.
> To be sur I understand well - the manifest is not used when I compile the
> IUP source, but it's used when i build an application from my IUP program ?
> What should i write then to make it work with Windows w/ style  instead of
> classic style ?
>
> Thanks in advance
> Johann
>
> Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
>   Hi,
>
>   The style is changed by using a Manifest when building the executable.
> You can find a Manifest file for that purpose in the iup/etc folder.
>
> Best,
> Scuri
>
>
> Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users <
> iup-users@lists.sourceforge.net> escreveu:
>
> Dear all,
>
> I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries,
> and i'd like to know if it is possible to change the windows style ? Or is
> it only possible at build time ?
> Default is windows classic.
>
> Regards
> Johann Philippe
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Johann Philippe via Iup-users
 
It also doesn't work with the basic .rc like this : 
#ifndef IUP_DLL
#ifdef TEC_64
1 24 "iup64.manifest"
#else
1 24 "iup.manifest"
#endif
#endif

I need to remove so that remain only 1 24 "iup64.manifest"
Le dimanche 25 novembre 2018 à 16:15:03 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi,
  Check if you are using the correct manifest file for 32 or 64 bits. 
  You can take a look at LuaBinaries distribution source files. There manifests 
for both. The IUP source package also contains sample manifests.
Best,
Scuri

Em dom, 25 de nov de 2018 às 12:44, Johann Philippe  
escreveu:

 Some precisions : i'm compiling some Lua code with the lua C api, using iup 
precompiled. 

Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe 
 a écrit :  
 
 I'm compiling the application with gcc. So i did pre-compile the iup.rc to an 
object file .o, and compiled my project like this : 
gcc myapp.c myrc.o -I... -L... -o myapp.exeThe rc seems to work well since the 
application icon "tecgraf" is used. But the windows style isn't changed. So i'm 
wondering if the manifest is really working here ? 



   Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Yes, when you build the application.
  Add a Windows RC file to the project. See the IUP documentation in System / 
Drivers / Win32.
Best,Scuri

Em sáb, 6 de out de 2018 08:30, Johann Philippe  
escreveu:

 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Johann Philippe via Iup-users
 In fact, the manifest is useful. I use the iup64.manifest. i removed some of 
the last lines in the .rc file so that remain only  :1 24 iup64.manifestAnd if 
i comment this, the application doesn't work. If i keep this line, the 
application still works, but still using classic visual style.


Le dimanche 25 novembre 2018 à 16:15:03 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi,
  Check if you are using the correct manifest file for 32 or 64 bits. 
  You can take a look at LuaBinaries distribution source files. There manifests 
for both. The IUP source package also contains sample manifests.
Best,
Scuri

Em dom, 25 de nov de 2018 às 12:44, Johann Philippe  
escreveu:

 Some precisions : i'm compiling some Lua code with the lua C api, using iup 
precompiled. 

Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe 
 a écrit :  
 
 I'm compiling the application with gcc. So i did pre-compile the iup.rc to an 
object file .o, and compiled my project like this : 
gcc myapp.c myrc.o -I... -L... -o myapp.exeThe rc seems to work well since the 
application icon "tecgraf" is used. But the windows style isn't changed. So i'm 
wondering if the manifest is really working here ? 



   Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Yes, when you build the application.
  Add a Windows RC file to the project. See the IUP documentation in System / 
Drivers / Win32.
Best,Scuri

Em sáb, 6 de out de 2018 08:30, Johann Philippe  
escreveu:

 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Antonio Scuri
  Hi,

  Check if you are using the correct manifest file for 32 or 64 bits.

  You can take a look at LuaBinaries distribution source files. There
manifests for both. The IUP source package also contains sample manifests.

Best,
Scuri


Em dom, 25 de nov de 2018 às 12:44, Johann Philippe 
escreveu:

> Some precisions : i'm compiling some Lua code with the lua C api, using
> iup precompiled.
>
> Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe <
> johannphili...@yahoo.fr> a écrit :
>
>
> I'm compiling the application with gcc. So i did pre-compile the iup.rc to
> an object file .o, and compiled my project like this :
> gcc myapp.c myrc.o -I... -L... -o myapp.exe
> The rc seems to work well since the application icon "tecgraf" is used.
> But the windows style isn't changed. So i'm wondering if the manifest is
> really working here ?
>
>
>
> Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
>   Yes, when you build the application.
>
>   Add a Windows RC file to the project. See the IUP documentation in
> System / Drivers / Win32.
>
> Best,
> Scuri
>
>
> Em sáb, 6 de out de 2018 08:30, Johann Philippe 
> escreveu:
>
> Thank for the answer.
> To be sur I understand well - the manifest is not used when I compile the
> IUP source, but it's used when i build an application from my IUP program ?
> What should i write then to make it work with Windows w/ style  instead of
> classic style ?
>
> Thanks in advance
> Johann
>
> Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
>   Hi,
>
>   The style is changed by using a Manifest when building the executable.
> You can find a Manifest file for that purpose in the iup/etc folder.
>
> Best,
> Scuri
>
>
> Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users <
> iup-users@lists.sourceforge.net> escreveu:
>
> Dear all,
>
> I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries,
> and i'd like to know if it is possible to change the windows style ? Or is
> it only possible at build time ?
> Default is windows classic.
>
> Regards
> Johann Philippe
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Johann Philippe via Iup-users
 Some precisions : i'm compiling some Lua code with the lua C api, using iup 
precompiled. 

Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe 
 a écrit :  
 
 I'm compiling the application with gcc. So i did pre-compile the iup.rc to an 
object file .o, and compiled my project like this : 
gcc myapp.c myrc.o -I... -L... -o myapp.exeThe rc seems to work well since the 
application icon "tecgraf" is used. But the windows style isn't changed. So i'm 
wondering if the manifest is really working here ? 



   Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Yes, when you build the application.
  Add a Windows RC file to the project. See the IUP documentation in System / 
Drivers / Win32.
Best,Scuri

Em sáb, 6 de out de 2018 08:30, Johann Philippe  
escreveu:

 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-10-06 Thread Johann Philippe via Iup-users
 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-10-04 Thread Antonio Scuri
  Hi,

  The style is changed by using a Manifest when building the executable.
You can find a Manifest file for that purpose in the iup/etc folder.

Best,
Scuri


Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users <
iup-users@lists.sourceforge.net> escreveu:

> Dear all,
>
> I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries,
> and i'd like to know if it is possible to change the windows style ? Or is
> it only possible at build time ?
> Default is windows classic.
>
> Regards
> Johann Philippe
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Iup LuaJIT change windows style

2018-10-04 Thread Johann Philippe via Iup-users
Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users