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...
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,
...
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...
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...
Hello,
I need to get some system settings for example, font size and color for a standard dialog box? (I use C#)
Thanks
...
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...
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...
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!
...
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 ...
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...
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...
How can i get the color of the caption of the active form in winforms?
(Without Api)
...
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.
...
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!
...
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...
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...
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...
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...
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...
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...