Jump to content

_WinAPI_SetWindowRgn Restores AppTheme back to Windows Classic


 Share

Recommended Posts

hi

according to msdn

here : http://msdn.microsoft.com/en-us/library/ms...theming_topic12

here : http://msdn.microsoft.com/en-us/library/bb...gnore_top_level

If i applied a region to a top-level window and then removed the region , the visual style is not

automatically applied and UxTheme Manager will ignore this top-level window , so is there's a way to restore visual style automatically ?

[font="Palatino Linotype"][size="3"]AutoIt Script Examples :[/size][/font][font="Palatino Linotype"][size="3"]_CaptureBehindWindowGlass CMD for Windows Vista/Seven[/size][/font][left][/left][font="Palatino Linotype"][size="3"]Non AutoIt Script programs : Border Skin - Aero Glass On XP[/size][/font]
Link to comment
Share on other sites

I imagine almost no one here is going to have had experience in this area. You can trial and error your way through using InvalidateRect and/or SendMessage to try to get the window to redraw or something... but I have never been down this road.

Lar.

f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Link to comment
Share on other sites

well i will give a try for InvalidateRect , as for messages

i tried all painting messages and even api function

thanks larry

[font="Palatino Linotype"][size="3"]AutoIt Script Examples :[/size][/font][font="Palatino Linotype"][size="3"]_CaptureBehindWindowGlass CMD for Windows Vista/Seven[/size][/font][left][/left][font="Palatino Linotype"][size="3"]Non AutoIt Script programs : Border Skin - Aero Glass On XP[/size][/font]
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...