473,321 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Calendar shows up wrong all of a sudden?

Yesterday I noticed that the MonthCalendar is suddenly showing up wrong.
Instead of nice colors it's showing up in grey tones and instead of
the fancy circle selecting dates, the dates are selected with a box.

Does anyone know what would cause this? It's happening to be at both
home and work on my apps that use to show the correct calendar :(

~benny
Jan 6 '06 #1
4 1190
Benny,
Yesterday I noticed that the MonthCalendar is suddenly showing up wrong.
Instead of nice colors it's showing up in grey tones and instead of the
fancy circle selecting dates, the dates are selected with a box.


Hmm, this sounds odd to me. The colors that the MonthCalendar uses are taken
from the system colors (which you can control through Windows Control
Panel).

The only reason I can think of why MonthCalendar would display wrong colors
is that somebody or some application changed the Windows color settings. But
should this happen, it should also affect other Windows applications, i.e.
the colors in them.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Jan 7 '06 #2
Would that also affect the "circle" that is supposed to be around
"today"? Right now it just shows up as a red square

Jani Järvinen [MVP] wrote:
Benny,

Yesterday I noticed that the MonthCalendar is suddenly showing up wrong.
Instead of nice colors it's showing up in grey tones and instead of the
fancy circle selecting dates, the dates are selected with a box.

Hmm, this sounds odd to me. The colors that the MonthCalendar uses are taken
from the system colors (which you can control through Windows Control
Panel).

The only reason I can think of why MonthCalendar would display wrong colors
is that somebody or some application changed the Windows color settings. But
should this happen, it should also affect other Windows applications, i.e.
the colors in them.

--
Benny Raymond
http://bloatedcowsoftware.com
Jan 7 '06 #3
Hello!
Would that also affect the "circle" that is supposed to be around "today"?
Right now it just shows up as a red square


Changing the colors in Control Panel should only affect the colors, not the
shape of that "circle".

However, recent updates to the Windows Common Controls seem to have updated
the "circle" to a square. For example, if I add a new appointment to Outlook
2003 (which uses the MonthCalendar control), I see a square. The same
happens if I drop the MonthCalendar control to a form with Visual Studio
2005.

But if I instead use Borland Delphi to develop an application and use the
the MonthCalendar control there, I see a hand-drawn circle around the
selected date. So, I would say it just a matter of a change in common
controls lately.

Would this disspell the apparent magic?

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Jan 7 '06 #4
> So, I would say it just a matter of a change in common controls lately.

Or, should I add, there might also be an option/custom style for the
MonthCalendar that one could enable to see a square instead of the red
circle.

Someone more acquainted with the Win32 common control care to elaborate?

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Jan 7 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Greg | last post by:
How do you get rid of the days of the month that are not in the month selected in a calendar control? For example, I have a calendar control that shows November, at the beginning and end of the...
5
by: Miguel Dias Moura | last post by:
Hello, i am trying to create a .css file with several styles and apply them to the calendar control so i can change the look of: 1. Text Type and Format (Bold, Underline, etc) 2. Background...
0
by: GFro | last post by:
I have a calendar page that returns a date to a textbox on the parent page. It is returning the wrong format on the deployment server. On the development server the calendar returns to textbox in...
27
by: Dino M. Buljubasic | last post by:
I'd like to build a calendar displaying all days in a month in a grid so that when I click on the header of a square representing a day of month, I can add a new meeting etc. I know that .net...
6
by: Sridhar | last post by:
Hi, I need to display a calendar that shows all the months of an year. In that, I need to show different colors for certain events. I know how to display a calendar for a certain month but I am...
6
by: Mike9900 | last post by:
Hello, I want to view the calendar in another culture, for example let it show in Arabic. I use this code in the Main, but the calendar is still in the same culture: CultureInfo sa = new...
2
by: Mark Rae | last post by:
Hi, Has anyone found a fix for the <asp:Calendar/ CSS bug whereby certain attributes (mainly colours) are not rendered correctly? E.g. <asp:Calendar ID="calTest" runat="server"...
1
by: afr0ninja | last post by:
Hello all, and thank you in advance for your assistance. I'm pretty new to access and I'm trying to teach myself some VBA by using various bits of code I find here and there mixed with my own....
14
by: magmike | last post by:
Can I do anything with the calendar buttons? I want to display a number on the buttons. I'm using the calendar control on a form that sets a call back date and time. The user can click on the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.