Estilo windows 10 en mdichild

Estilo windows 10 en mdichild

Postby mastintin » Tue Aug 18, 2015 8:13 am

En una aplicacion con ventanas mdi corriendo en windows 10 la ventana principal se ve con el nuevo estilo windows 10 sin ningún problema ni cambio , sin embargo las ventanas hijas siguen viendose con el estilo windows 7 tanto de bordes como de botones para cerrar o minimizar , etc. La verdad es que queda un poco "raro" . ¿ Alguien sabe como solucionarlo ?
Gracias.
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Estilo windows 10 en mdichild

Postby Antonio Linares » Tue Aug 18, 2015 8:21 am

Manuel,

Acabo de probar FiveDBU y ocurre como dices.

Supongo que las ventanas MDI child no estan usando el tema correcto.

No se me ocurre como solucionarlo...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Estilo windows 10 en mdichild

Postby mastintin » Tue Aug 18, 2015 8:30 am

User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Estilo windows 10 en mdichild

Postby cnavarro » Tue Aug 18, 2015 11:17 am

Manuel, creo que eso ya ocurria en Windows 8
https://social.msdn.microsoft.com/Forum ... appearance
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Estilo windows 10 en mdichild

Postby mastintin » Tue Aug 18, 2015 12:10 pm

cnavarro wrote:Manuel, creo que eso ya ocurria en Windows 8
https://social.msdn.microsoft.com/Forum ... appearance

:-) . Cristobal , puede que fuera así , yo me he negado a usar el windows 8 , así que no se decirte :-)
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Estilo windows 10 en mdichild

Postby Antonio Linares » Tue Aug 18, 2015 1:53 pm

No sabia que el MDI estuviese "deprecated"...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Estilo windows 10 en mdichild

Postby mastintin » Tue Aug 18, 2015 6:04 pm

Antonio Linares wrote:No sabia que el MDI estuviese "deprecated"...

Antonio , yo no estaria tan seguro de eso , en microsoft siguen teniendo documentación de como programar en mdihttps://msdn.microsoft.com/en-us/library/vstudio/7aw8zc76(v=vs.100).aspx
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Estilo windows 10 en mdichild

Postby Antonio Linares » Wed Aug 19, 2015 7:55 am

Manuel,

Pues entonces es que se les ha olvidado implementarlo

Es posible que lo hagan en próximos builds
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Estilo windows 10 en mdichild

Postby mastintin » Wed Aug 19, 2015 10:56 am

Antonio. Excel 2010 usa tambien documentos MDI y le pasa exactamante lo mismo ... todo apunta a un bug de windows 10
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Estilo windows 10 en mdichild

Postby Antonio Linares » Wed Aug 19, 2015 11:51 am

ok, lo arreglarán seguramente :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Estilo windows 10 en mdichild

Postby Rick Lipkin » Wed Aug 19, 2015 12:22 pm

Manuel

This is a modified Windows 10 theme that I found and use to bring back the Win 8 frame attributes .. Copy and paste this code into notepad and name it AeroLite.theme and copy it to \windows\resources\themes. Go to the screen personalizations, themes and select AeroLite ... you will notice the frames will turn blue and ( hopefully ) your application will not look so washed out.

Rick Lipkin
ps .. you will need to edit the theme to point to your favorite background.

AeroLite.theme
Code: Select all  Expand view

; Copyright © Microsoft Corp.

[Theme]
DisplayName=Aero Lite
SetLogonBackground=0

; Computer - SHIDI_SERVER
[CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-109

; UsersFiles - SHIDI_USERFILES
[CLSID\{59031A47-3F72-44A7-89C5-5595FE6B30EE}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-123

; Network - SHIDI_MYNETWORK
[CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-25

; Recycle Bin - SHIDI_RECYCLERFULL SHIDI_RECYCLER
[CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]
Full=%SystemRoot%\System32\imageres.dll,-54
Empty=%SystemRoot%\System32\imageres.dll,-55

[Control Panel\Cursors]
AppStarting=%SystemRoot%\cursors\aero_working.ani
Arrow=%SystemRoot%\cursors\aero_arrow.cur
Crosshair=
Hand=%SystemRoot%\cursors\aero_link.cur
Help=%SystemRoot%\cursors\aero_helpsel.cur
IBeam=
No=%SystemRoot%\cursors\aero_unavail.cur
NWPen=%SystemRoot%\cursors\aero_pen.cur
SizeAll=%SystemRoot%\cursors\aero_move.cur
SizeNESW=%SystemRoot%\cursors\aero_nesw.cur
SizeNS=%SystemRoot%\cursors\aero_ns.cur
SizeNWSE=%SystemRoot%\cursors\aero_nwse.cur
SizeWE=%SystemRoot%\cursors\aero_ew.cur
UpArrow=%SystemRoot%\cursors\aero_up.cur
Wait=%SystemRoot%\cursors\aero_busy.ani
DefaultValue=Windows Aero
DefaultValue.MUI=@main.cpl,-1020

[Control Panel\Desktop]
Wallpaper=%SystemRoot%\web\wallpaper\Windows\img0.jpg
TileWallpaper=0
WallpaperStyle=10
Pattern=

[VisualStyles]
Path=%ResourceDir%\Themes\Aero\aerolite.msstyles
ColorStyle=NormalColor
Size=NormalSize
AutoColorization=1

[boot]
SCRNSAVE.EXE=

[MasterThemeSelector]
MTSM=RJSPBS

[Sounds]
; IDS_SCHEME_DEFAULT
SchemeName=@%SystemRoot%\System32\mmres.dll,-800
 
User avatar
Rick Lipkin
 
Posts: 2617
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Estilo windows 10 en mdichild

Postby Carlos Mora » Fri Dec 23, 2016 12:41 pm

Hola gente,

alguien sabe algo respecto de esta cuestión? Los MDICHILD se siguen viendo con look Vista ¿O solo me pasa a mi?
Si podeis darme una idea de como solucionarlo os lo agradeceré. Sé que no es una cuestion de FW, pero hece que la aplicación se vea al menos incoherente, todo lo demás se pinta perfectamente.

Todas las sugerencias son bienvenidas.
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"
Carlos Mora
 
Posts: 988
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: Estilo windows 10 en mdichild

Postby Antonio Linares » Fri Dec 23, 2016 3:06 pm

Carlos,

Microsoft deprecated MDI at least 15 years ago and so it's not at all surprising that they have not modified it to match the new style of Windows 10


http://stackoverflow.com/questions/31959800/mdi-window-title-in-windows-10

Tal vez la solución sea crear las MDICHILD sin borde y pintarlo nosotros
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Estilo windows 10 en mdichild

Postby Carlos Mora » Fri Dec 23, 2016 3:26 pm

Hola Antonio,

había leído el artículo de stackoverflow antes, solo preguntaba por las dudas alguien había encontrado alguna solución. Eso de deprecar y dejarlo ahí es una política un poco peculiar de Microsoft.

Me parece que dibujar el frame es un poco complejo, hay que hacer muchas cosas para reemplazar el comportamiento: maximizar, minimizar, ajustar, etc., y perdemos la comodidad de usar los oTop, oLeft, oClient, etc. Mejor paso a la opcion con tabs, es un poco más fácil y no tengo que reescribir tanto codigo :)

Gracias , un saludo.
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"
Carlos Mora
 
Posts: 988
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: Estilo windows 10 en mdichild

Postby Antonio Linares » Fri Dec 23, 2016 3:36 pm

si, es una buena solución :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 92 guests