appearance

.Net - Detecting the Appearance Setting (Classic or XP?)

Hey stack, I have some UI in VB 2005 that looks great in XP Style, but goes hideous in Classic Style. Any ideas about how to detect which mode the user is in and re-format the forms on the fly? Thanks in Advance! -Chris Post Answer Edit: Thanks Daniel, looks like this will work. I'm using the first solution you posted with the Get...

Using the Window API, how do I ensure controls retain a native appearance?

Some of the controls I've created seem to default to the old Windows 95 theme, how do I prevent this? Here's an example of a button that does not retain the Operating System's native appearance (I'm using Vista as my development environment): HWND button = CreateWindowEx(NULL, L"BUTTON", L"OK", WS_VISIBLE | WS_CHILD | BS_PUSHBUTTON, ...

Infragistics grid "on-demand" appearance

We're using Infragistics grid (most probably, we'll have 8.2 version at the end) and we want to configure row/cells appearances "on-demand" in order to be able to provide sort of "dynamic appearance". For example, I want some cell to be red or green, depending on its value. We might want to tweak other characteristics as well (font, siz...

Default font for Windows Forms application

Hello, Everytime I create new form in my application, it uses "Microsoft Sans Serif, 8.25pt" font by default. I'm not changing it, because I know that in this case my form will pick up whatever default font in system is. However, when I run my application, the font is still anything but Segoe UI. Why this happens? How do I make sure th...

How to get the system settings that I can find in the Appearance dialog?

Hello, I need to get some system settings for example, font size and color for a standard dialog box? (I use C#) Thanks ...

Keyboard Appearance Defaults to UIKeyboardAppearanceDefault on Dismissal

First time Stack Overflow poster. Please bear with me! :) I have a set of UITextFields whose keyboard appearance I set in Interface Builder. I'm using the UIKeyboardAppearanceAlert appearance (the translucent look) for my keyboards. However, whenever I call resignFirstResponder on any of these text fields to dismiss the keyboard, the ke...

Keep Window Inactive In Appearance Even When Activated

Is there a way to keep a window inactive looking, even if it contains focus? I have two forms (A and B). After the user interacts with A, I transfer focus back to B. The result of the focus transfers (the user clicking on the A, then focus being transferred back to B) is that form A blinks from active to inactive. This looks ugly (es...

IE bandobject appearing in desktop taskbar

Hi, i have created an IE bandobject (toolbar) that sits in IE and works well, however it also appears in the XP taskbar menu under toolbars. does anyone know how to prevent this behaivour? Thanks! ...

Maintaining HTML Content Positioning in ENewsletters

How do I get html content to stay in relative position and format from one browser/email to another? When developing e-newsletters, the format appears differently in one email server than in another (when testing to two of my emails). Example: when I open the email in my gmail, the padding around the images is where I want it, but when ...

UISearchbar clearButton forces the keyboard to appear

I have a UISearchBar which acts as a live filter for a table view. When the keyboard is dismissed via endEditing:, the query text and the gray circular "clear" button remain. From here, if I tap the gray "clear" button the keyboard reappears as the text is cleared. How do I prevent this? If the keyboard is not currently open I want th...

Drop Down menu properties

Does anyone know if, and how I am able to change the colour of the image strip on a simple drop down in visual studio 2008? Currently with a drop down menu i have my own collectn of items, and beside each on the drop down menu is an image strip, which is curently a grey colour with a light to dark gradient. I am eager to find out if this...

Getting the active form caption color

How can i get the color of the caption of the active form in winforms? (Without Api) ...

How to disable appearance change events in WPF?

In Windows Vista whenever we change the appearance from display properties, it is forcing recreation of the windows controls in our application. Is there a way we can disable this events at application level? BTW our application needs to have consistent look and feel across different themes. ...

Datagridview - remove part before the first column..

hi, i was wondering if when using the datagridview control you can remove the thing that looks like a column before the 1st column. I think its used to select rows but not sure what its called. there is an image of what i am talking about here... http://rapidshare.com/files/274669676/dgv.png.html Thanks! ...

Stange visual effect with segmented control and flip transition

I have a view which flips in using uiviewanimationtransitionflipfromleft. The view that flips in has a segmented control on it. Whilst this all works fine there is something strange happening visually. As the view flips the segmented control appears to be squashed in the centre. Once the view is full flipped everything looks fine. Has a...

Programmatically Changing XP Appearance Settings

I am trying to silently apply very specific appearance settings for a single user with poor eyesight on an XP machine. I can alter the settings by using the appearance tab of the display settings dialog and clicking apply/ok. Doing this works however the user cannot see well enough to change her settings back to how she likes them each...

Change appearance of window control

Hi, I want to change appearance of all common controls in my application. can I do it programmatically with an easy way. I have huge code base and I don't want to modify each and every resources. I prefer if I can inject DLL which change default look of windows common controls, which I fuse into window system while starting application...

How To Choose And Create a Icon?

Hello, As I develop some things to my self and now I'm developing some of this applications for my friends and my family. I want to put icons on this applications, because It's takes the appearance better, but how to choose a icon that will combine better with your application and what is the best programs to develop some professional i...

.NET MVC: How to implement different page appearance per user?

I am running out of ideas here. Maybe you can advice me what pattern or method(s) to use. User should be able to log in and change the appearance only for his/her profile. The difference (AFAIK) with personalization is that personalized layout are seen only for the editor (him-/herself). The difference between skinning, I guess, is that...

How do you modify the appearance of a disabled button in vb.net?

I'm disabling a button in vb.net and when I do, I cannot control the BackColor or ForeColor properties to change the appearance. I set new values for them but they don't get picked up. The disabled button looks almost exactly like my enabled buttons so you can't tell the difference. I'm using Flat Style buttons, but have tried changin...