Estilo windows 10 en mdichild

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

Estilo windows 10 en mdichild

Post by mastintin »

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
Antonio Linares
Site Admin
Posts: 42513
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: Estilo windows 10 en mdichild

Post by Antonio Linares »

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
mastintin
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Estilo windows 10 en mdichild

Post by mastintin »

User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Estilo windows 10 en mdichild

Post by cnavarro »

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
mastintin
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Estilo windows 10 en mdichild

Post by mastintin »

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
Antonio Linares
Site Admin
Posts: 42513
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: Estilo windows 10 en mdichild

Post by Antonio Linares »

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

Antonio Linares
www.fivetechsoft.com
User avatar
mastintin
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Estilo windows 10 en mdichild

Post by mastintin »

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
Antonio Linares
Site Admin
Posts: 42513
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: Estilo windows 10 en mdichild

Post by Antonio Linares »

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
mastintin
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Estilo windows 10 en mdichild

Post by mastintin »

Antonio. Excel 2010 usa tambien documentos MDI y le pasa exactamante lo mismo ... todo apunta a un bug de windows 10
User avatar
Antonio Linares
Site Admin
Posts: 42513
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: Estilo windows 10 en mdichild

Post by Antonio Linares »

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

Antonio Linares
www.fivetechsoft.com
User avatar
Rick Lipkin
Posts: 2668
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Estilo windows 10 en mdichild

Post by Rick Lipkin »

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


; 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
 
Carlos Mora
Posts: 989
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: Estilo windows 10 en mdichild

Post by Carlos Mora »

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"
User avatar
Antonio Linares
Site Admin
Posts: 42513
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: Estilo windows 10 en mdichild

Post by Antonio Linares »

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
Carlos Mora
Posts: 989
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: Estilo windows 10 en mdichild

Post by Carlos Mora »

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"
User avatar
Antonio Linares
Site Admin
Posts: 42513
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: Estilo windows 10 en mdichild

Post by Antonio Linares »

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

Antonio Linares
www.fivetechsoft.com
Post Reply