Hi,
I have had a look at the new MSCOMCT2.OCX MonthView-Control.
But I had no chance to set the BOLD Days.
Now I found a example in PBWin\samples\Ddt\Calendar with win32API.INC.
There I found infos ...
so i thought, OK if Date change gives a %WM_NOTIFY + %MCN_SELCHANGE
a second block under in the CASE %WM_NOTIFY should do it:
but this will never raise a msgbox. The next problem ist that a new datestate question (change of shown month) will of course change the date ...
Its so
this hole activex stuff ...
Does someone have a working example on the newer MSComCt2.OCX calendar ? I am looking on the generated COM Code and don't find the right way in.
I have had a look at the new MSCOMCT2.OCX MonthView-Control.
But I had no chance to set the BOLD Days.
Now I found a example in PBWin\samples\Ddt\Calendar with win32API.INC.
There I found infos ...
Code:
CASE %WM_NOTIFY ... IF ... = %MCN_SELCHANGE THEN...
a second block under in the CASE %WM_NOTIFY should do it:
Code:
CASE %WM_NOTIFY ... IF @pNMSC.hdr.code = %MCN_SELCHANGE THEN ... end if IF @pNMSC.hdr.code = %MCN_GETDAYSTATE THEN msgbox "..." end if
Its so

Does someone have a working example on the newer MSComCt2.OCX calendar ? I am looking on the generated COM Code and don't find the right way in.
Comment