Page 1 of 1
Some problems after the WIN10 - update
Posted: Fri Aug 07, 2015 9:47 am
by ukoenig
Hello,
yesterday I updated to
WIN 10
All compiled and new compiled windows and dialogs changed
Titles are not centered anymore
All borders are missing
Titletext is light grey and shown on a white background
DEFINE WINDOW oWndMain FROM 5, 5 TO 450, 600 PIXEL ;
TITLE
SPACE(50) + cPaintTitle MENU TMenu():New() ; //
defined spaces to force a centered title
STYLE nOr( WS_CAPTION, WS_THICKFRAME ) //
IGNORED !!!
any idea what is wrong ?
best regards
Uwe
Re: Some problems after the WIN10 - update
Posted: Fri Aug 07, 2015 10:47 am
by LordJonas
Hi there...
If i'm not wrong the Windows UI API has changed quite a lot.
Take for example a look at those links:
https://msdn.microsoft.com/en-us/library/dn894631.aspx
http://www.microsoftvirtualacademy.com/ ... windows-10
Re: Some problems after the WIN10 - update
Posted: Fri Aug 07, 2015 10:56 am
by Antonio Linares
Uwe,
Your example is working fine here on Windows 10.
Please notice that the Windows border in Windows 10 looks like this and yours:
Re: Some problems after the WIN10 - update
Posted: Fri Aug 07, 2015 11:01 am
by ukoenig
Antonio,
thank You very much
It means a centered title I have to force with left spaces
and the title-background will stay white with NO possible border
best regards
Uwe
Re: Some problems after the WIN10 - update
Posted: Fri Aug 07, 2015 12:17 pm
by Rick Lipkin
Uwe
I used this theme during the preview program and it restores the Win 8 Aero theme which changes the washed out frames. Save the file and call it AeroLite.theme. Copy the file to \windows\resources\themes. It will then show up under your themes and you can chose it from the themes preference. This theme has limitations and you have to modify it to point to your favorite desktop background.
Rick Lipkin
Code: Select all
; 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
Re: Some problems after the WIN10 - update
Posted: Fri Aug 07, 2015 1:39 pm
by ukoenig
Rick,
thank You very much
I didn' t think about changing themes as a solution.
I've been just surprised, doing tests after the update.
Now I got back the lightblue headline.
Maybe I can get back the thick frame as well.
Now captured metro-buttons are displayed with a white border.
It would be nice, to have the same effect in my new Metro-app.
best regards
Uwe