471,310 Members | 1,064 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 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 1147
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Greg | last post: by
5 posts views Thread by Miguel Dias Moura | last post: by
reply views Thread by GFro | last post: by
27 posts views Thread by Dino M. Buljubasic | last post: by
2 posts views Thread by Mark Rae | last post: by
reply views Thread by rosydwin | last post: by

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.