Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows API
  4. Bug in SysMonthCal32 (CMonthCalCtrl) on Vista ??

Bug in SysMonthCal32 (CMonthCalCtrl) on Vista ??

Scheduled Pinned Locked Moved Windows API
helpalgorithmsperformancequestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mathias S
    wrote on last edited by
    #1

    I been trying to figure out if this is a Vista bug or not. I been updating some apps to work in Vista. And in one of our apps we are showing the CMonthCalCtrl ( SysMonthCal32 ) and if I set days to be shown as bold. (using setdaystate) they are not shown. This works on XP and 2003. So after trying out different things for a couple of hours I open up the "Windows Calendar" that is available in Vista. Because I remembered that is shown the month calendar in on the upper left side. And after checking with Spy++ that it was the same controller (SysMonthCal32 ) I added some new appointments. And to my surprise they did not show up either. which are strange because I have a slight memory that it worked before. So I checked on another machine and it was the same there. I have now checked on 6 machines running Vista, both 32bit and 64bit, with and without SP1. And none of them are showing the marked dates. In the Windows Calendar. If I activating / deactivating my calendar with check checkbox for what calendars to show. I will see a very very small change in the font for the days that should have changed. So It try to change it but they are not shown as bold. I been searching for this problem on the net, but cannot find anything about it. because I can't be the first to notice this. What I wonder is. Does this work for anyone ? The thing is that I have seen this work before. ( I think..) - Mathias

    M 1 Reply Last reply
    0
    • M Mathias S

      I been trying to figure out if this is a Vista bug or not. I been updating some apps to work in Vista. And in one of our apps we are showing the CMonthCalCtrl ( SysMonthCal32 ) and if I set days to be shown as bold. (using setdaystate) they are not shown. This works on XP and 2003. So after trying out different things for a couple of hours I open up the "Windows Calendar" that is available in Vista. Because I remembered that is shown the month calendar in on the upper left side. And after checking with Spy++ that it was the same controller (SysMonthCal32 ) I added some new appointments. And to my surprise they did not show up either. which are strange because I have a slight memory that it worked before. So I checked on another machine and it was the same there. I have now checked on 6 machines running Vista, both 32bit and 64bit, with and without SP1. And none of them are showing the marked dates. In the Windows Calendar. If I activating / deactivating my calendar with check checkbox for what calendars to show. I will see a very very small change in the font for the days that should have changed. So It try to change it but they are not shown as bold. I been searching for this problem on the net, but cannot find anything about it. because I can't be the first to notice this. What I wonder is. Does this work for anyone ? The thing is that I have seen this work before. ( I think..) - Mathias

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      I can't get MCM_SETDAYSTATE to do anything at all. It returns 0 (failure) no matter what I do. :sigh:

      --Mike-- Visual C++ MVP :cool: LINKS~! CP SearchBar v3.0 | C++ Forum FAQ I work for Keyser Söze

      M 1 Reply Last reply
      0
      • M Michael Dunn

        I can't get MCM_SETDAYSTATE to do anything at all. It returns 0 (failure) no matter what I do. :sigh:

        --Mike-- Visual C++ MVP :cool: LINKS~! CP SearchBar v3.0 | C++ Forum FAQ I work for Keyser Söze

        M Offline
        M Offline
        Mathias S
        wrote on last edited by
        #3

        Apparently that is a known issue. Responding to MCN_GETDAYSTATE should work they say. But that are what I'm already doing and it works very well on XP but not Vista. I have not seen any application that using bold days in SysMonthCal32 to work at all on Vista. not even MS own Windows Calendar. Guess I have to turn off Windows Theme for that application. Then the Old version of SysMonthCal32 is used and then it works. But it is so ugly. But that is our workaround until the bug is fixed. And it must be a bug since I can't see it work in any application on any Vista machine I test. I haven't been able to find a list of known bug of Vista. Guess MS does not publish that. So I have spent 2 days at work trying to fix something that are unfixable. - Mathias S.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups