Can't display MonthCalendar in foreground

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UmF5IE1pdGNoZWxs?=

    Can't display MonthCalendar in foreground

    Hello,

    I have a typical window form with all the standard buttons, group boxes,
    etc. on it. I am trying to also display a MonthCalendar control on it too
    but I simply can't get the MonthCalendar control to completely display in the
    foreground. Portions of it always get hidden behind other controls. I've
    tried right-clicking on it during development and choosing "Bring to Front"
    as well as right-clicking on the controls obscuring it and choosing "Send to
    Back", all to no avail. The main form itself actually obscures part of it.
    I've also tried invalidating it during run-time too but that didn't work
    either. I've occasionally run into this issue before with other contols but
    have never come up with a good solution. Any suggestions? VS2005 on WinXP.

    Thanks,
    Ray

  • Peter Duniho

    #2
    Re: Can't display MonthCalendar in foreground

    On Mon, 21 Jul 2008 17:20:00 -0700, Ray Mitchell
    <RayMitchell_NO SPAM_@MeanOldTe acher.comwrote:
    [...] The main form itself actually obscures part of it.
    I've also tried invalidating it during run-time too but that didn't work
    either. I've occasionally run into this issue before with other contols
    but
    have never come up with a good solution. Any suggestions? VS2005 on
    WinXP.
    A concise-but-complete code sample would go a long way here.

    It's not even clear to me why you have overlapping controls in the first
    place, but describing the "main form" as obscuring the control is really
    hard to understand. Seeing the code that actually results in this
    behavior would really help.

    Pete

    Comment

    Working...