Is possible to use windows theme without they are active - windows

Is possible the enable/force windows theme only for my application without third party components?
Can I hook the uxTheme API to think that it is active?

I cannot see how you could do this. Windows themes rely on DWM composition which is enabled for the login session. It cannot be partially enabled for individual applications.

Related

Wrapper around web-app under Windows

I have an application with web interface. Unfortunately, it has all disadvantages of being a web page:
It doesn't have a standalone window, so users cannot manage it via the taskbar.
Users see the address line with something like 'http://localhost:8080' that is not a good idea for home users.
If users click on a tray icon, there is no way to activate the tab in a browser, which contain the application interface.
So, it would be nice to have a wrapper application with a browser within.
In case of IE I know it's possible to create a window with Trident ActiveX component. But what if it's Windows XP with IE6 but installed latest Chrome? I'd like to prefer Chrome since it supports a lot more features which the user will never see.
So, is there a way to wrap a page into Chrome/Firefox and make it look like a standalone application, if one of them is presented in the user's system? (The application shouldn't install anything large, so Chromium build is not an option).
P.S. I'm not interested in supporting other platforms than Windows.
Regards,
Take a look at Chrome Apps.
I hope helps you.

React to failed login in Windows, and launch an interactive window

I need to place a link on the Windows home screen (before a user is logged in)
When this link is clicked, I want to launch a browser pointed at a specific web app.
This would be used to enable self-service password resets.
Is this possible? How would it be done?
EDIT: This must work on Windows 7 (and above) and Windows Server 2008 (and above)
In earlier versions of Windows, you could write a GINA DLL, which could completely replace the interface that was displayed to users during the logon process.
However, beginning with Windows Vista, GINA was removed and support was added for Credential Providers. While they provide improvements over the GINA model used previously, they also limit the flexibility afforded to developers with GINA - gone are the days when you could display a custom interface.
This isn't to say that it's not possible to have a custom provider display some UI elements. But launching a full-blown web browser is a horrible idea, plain and simple, and just asking for trouble.
You may want to check out the article Custom Login Experiences: Credential Providers in Windows Vista which is not fully up to date but is a good place to start from nonetheless.

How to support/switch between different color themes in Windows Phone applications

Hi the app I'm developing uses the current system theme resources for what to display, but I'd also like to create 2 additional themes. My questions are what is a good way of doing this programatically, and what would the standard GUI be like to do this? Currentl my app is just a single page/window and would like to avoid using a settings page unless that would be how it's typically done. Thanks!
P.S. - I'm new to Windows Phone and have never actually used anything besides the emulator, so I don't have any exerience using any apps on that platform.
Create your own resources to do that.
Usually on a Windows Phone app we use resources like PhoneAccentBrush for the main accent and PhoneBackgroundBrush for the background theme.
For more info on how to acomplish this check out this link

Specify Proxy for WebBrowser control in WP7, WP8

Is there a possibility of specifying a proxy for a WebBrowser control in a custom application for Windows Phone 7 and/or 8? I have found solutions for hooking into the WebClient like here, but the browser control obviously does not consider those settings. Are there any other solutions? Are there any news with regards to that issue in Windows Phone 8?
The WebBrowser control is tied to the OS, therefore inheriting the proxy settings that are definied by the user of the device. You can't directly modify them, unless you want to intercept navigation events and feed them directly to your server.

Is TWebBrowser dependant on IE version?

I am thinking about using the TWebBrowser component that comes within Delphi's default pallet of components in a project, but I wonder if it uses the IE version installed on the client machine?
If yes:
then I guess it would share its history, cookies, workoffline and stuff like that?
Can I separate them somehow?
Is there any webbrowser component that is free and is not shared with Internet Explorer on the client?
The current answer is not quite correct. It appears for compatibility purposes, the WebBrowser control will run in IE7 Standards Mode by default unless you add some registry settings.
See:
WebBrowser Control Rendering Modes in IE8 (archive)
More IE8 Extensibility Improvements (archive)
So it's not quite the current IE version. You can also check this if you use fiddler or check the web server logs for the agent string - as it alters the agent string used too!
Yes, TWebBrowser uses whatever IE version is installed on the machine.
Take a look at this similar thread for some possible alternatives..
How to embed a browser object, other than IE<n>, in a Delphi application
Yes, TWebBrowser is tied to Internet Explorer. If you want a standalone HTML viewer, then look at the PBear components.
TWebBrowser is a wrapper around IE ActiveX interface.
So, in the end,
TWebBrowser = Internet Explorer

Resources