Changing only the registry values will not change the background color.
Have a look at the API: SetSysColors.
It is present in user32.dll
If you want to change the wallpaper and get related information, have a look at SystemParametersInfo which is also present in user32.dll
Thanks, after turning my computer on this morning the background colour has changed, so it seems as though it is working, just not picking up the changes until a reboot..
I thought I should be able to do it through the registry keys as with changing the wallpaper (Which I'm already doing)?
I'll have a look at SetSysColors and see where I get.
I am trying to display a simple TaskDialog with marquee progress bar but i am getting this error:
Error 1 'whatwhen.frmMain.TaskDialogCallback(Microsoft.Samples.ActiveTaskDialog, Microsoft.Samples.TaskDialogNotificationArgs, object)': not all code paths return a value C:\Users\Jassim\Documents\Visual Studio 2008\Projects\whatwhen\whatwhen\main_form.cs 609 22 whatwhen
Hi, I can't get the original HTML source in
as the HTML code in viewsource. The code comes without quotes and all of the tag names comes as upper case. Is there any way to get original source in axWebBrowser as in System.Windows.Froms.WebBrowser.DocumentText ?
I have 2 user controls but I want to randomly add them to a form in a scrollable tile manner.
Each control is referenced by a name, so I can erase a specific control. How do I achieve this can someone give me heads up on how to achieve this..
I cant find anything to get me going.
I have 2 user control which consists of a panel and a textbox and a button is on the panel.
In the form I call the panel(usercontrol) with a button. But I can only make it appear once. I want it to tile across the page. I want to randomly place each user control by a name reference so as I can erase a specific panel.
private void button2_Click(object sender, EventArgs e)
UserControl1 bb = new UserControl1();
I have used a flowcontrol container in the past to deal with the positioning of the UCs. Placing them manually was a PITA, after designing the UC to match the size of the flowcontrol 1 column width it worked well. I basically wanted a scrollable list of the UCs, one for each application the user has access to.
Never underestimate the power of human stupidity