中の技術日誌ブログ

C#とC++/CLIと
VBと.NETとWindowsで戯れる
 

目次

Blog 利用状況

ニュース

自己紹介

東京でソフトウェアエンジニアをやっています。
お仕事大募集中です。
記事執筆や、講師依頼とかでも何でもどうぞ(*^_^*)
似顔絵 MSMVPロゴ
MSMVP Visual C# Since 2004/04-2013/03

記事カテゴリ

書庫

日記カテゴリ

00-整理

01-MSMVP

MonthCalenderのDateChangedイベントが2~3分に1回発生する

上記の現象について調査中

デバッグモードであえて例外を出した場合のスタックトレースは

 StackTrace "   at WindowsApplication1.Form1.monthCalendar1_DateChanged(Object sender, DateRangeEventArgs e) in c:\\documents and settings\\xxx\\my documents\\visual studio projects\\windowsapplication1\\windowsapplication1\\form1.cs:line 122
   at System.Windows.Forms.MonthCalendar.OnDateChanged(DateRangeEventArgs drevent)
   at System.Windows.Forms.MonthCalendar.WmDateChanged(Message& m)
   at System.Windows.Forms.MonthCalendar.WmReflectCommand(Message& m)
   at System.Windows.Forms.MonthCalendar.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
   at System.Windows.Forms.Control.WmNotify(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   at System.Windows.Forms.Control.DefWndProc(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.MonthCalendar.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at WindowsApplication1.Form1.Main() in c:\\documents and settings\\xxx\\my documents\\visual studio projects\\windowsapplication1\\windowsapplication1\\form1.cs:line 104" string

Windows Messageが飛んでいるのでSpySpy

Message 204E
wParam: 00A81074
lParam: 0012EC2C

さてこの現象いったい何なんでしょうね。

WM_TIMERも飛んできているので何かがわざと発生させているような気はしますが・・・


追記1

Release, Debug関係ないですね。
とりあえずe.Start = e.Endの場合には処理をしないなんてことをしたほうがよさそう。


追記2

Visual Studio 2005でも発生しますね。

投稿日時 : 2005年9月2日 0:54

コメントを追加

# re: MonthCalenderのDateChangedイベントが2~3分に1回発生する 2005/09/02 8:36 じゃんぬ

代わりに調査させてしまってごめんなさい。(*_ _)
某所でもフォローさせてしまってごめんなさい。(*_ _)
で、eXConn では展開対象外?

# re: MonthCalenderのDateChangedイベントが2~3分に1回発生する 2005/09/02 8:52 じゃんぬ

あ、そうそう。
MonthCalender ではなく、MonthCalendar です。
ネイティブな方もよく間違えるらしいですよ。
CodeComplete に書いてありました。

# MonthCalendar で予期せぬ DateChanged イベントが発生する 2005/09/02 9:00 じゃんぬねっと日誌

MonthCalendar で予期せぬ DateChanged イベントが発生する

# MonthCalendar で予期せぬ DateChanged イベントが発生する 2005/09/02 9:02 じゃんぬねっと日誌

MonthCalendar で予期せぬ DateChanged イベントが発生する

# re: MonthCalenderのDateChangedイベントが2~3分に1回発生する 2005/09/02 10:09 中博俊

関連情報

http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework.windowsforms/topic24058.aspx

# re: MonthCalenderのDateChangedイベントが2~3分に1回発生する 2005/09/02 10:56 じゃんぬ

CommonControl 側のせい?

# re: MonthCalenderのDateChangedイベントが2~3分に1回発生する 2005/09/02 14:38 魔界の仮面弁士

多分、そちらだと思います。<CommonControl

以前、VB6のMonthViewで、120秒間隔でSelChangeが
発生してしまい、悩んだ事がありますので。

# googleってみると、VB6の事例もちらほら。
# http://homepage1.nifty.com/MADIA/vb/vb_bbs/200204_02040006.html

> WM_TIMER
ShowTodayあたりがあやしいかと思ったのですが、
プロパティを Falseに設定しても駄目でした…。(^^;)

# Glad to be one of many visitors on this amazing web site :D. 2017/04/11 10:08 Glad to be one of many visitors on this amazing we

Glad to be one of many visitors on this amazing web site :
D.

# Illikebuisse zhhqh 2021/07/04 15:56 pharmaceptica.com

top male erectile pill https://www.pharmaceptica.com/

# Illikebuisse tnvac 2021/07/04 16:57 pharmacepticacom

erectile organs crossword clue https://pharmaceptica.com/

# Great article. I'm dealing with a few of these issues as well.. 2021/07/12 17:29 Great article. I'm dealing with a few of these iss

Great article. I'm dealing with a few of these issues as well..

# I'm gone to convey my little brother, that he should also visit this web site on regular basis to take updated from most recent reports. 2021/09/05 17:51 I'm gone to convey my little brother, that he sho

I'm gone to convey my little brother, that he should also
visit this web site on regular basis to take updated from most recent reports.

# I'm gone to convey my little brother, that he should also visit this web site on regular basis to take updated from most recent reports. 2021/09/05 17:52 I'm gone to convey my little brother, that he sho

I'm gone to convey my little brother, that he should also
visit this web site on regular basis to take updated from most recent reports.

# Heya i am for the first time here. I came across this board and I find It really helpful & it helped me out a lot. I am hoping to present something again and help others such as you aided me. scoliosis surgery https://coub.com/stories/962966-scolio 2021/09/13 16:47 Heya i am for the first time here. I came across t

Heya i am for the first time here. I came across this
board and I find It really helpful & it helped me out a lot.

I am hoping to present something again and help others such as you aided me.
scoliosis surgery https://coub.com/stories/962966-scoliosis-surgery scoliosis surgery

# I am not sure where you're getting your info, but good topic. I needs to spend some time learning much more or understanding more. Thanks for magnificent information I was looking for this information for my mission. 2021/12/17 12:02 I am not sure where you're getting your info, but

I am not sure where you're getting your info,
but good topic. I needs to spend some time learning much more
or understanding more. Thanks for magnificent information I
was looking for this information for my mission.

# I am not sure where you're getting your info, but good topic. I needs to spend some time learning much more or understanding more. Thanks for magnificent information I was looking for this information for my mission. 2021/12/17 12:03 I am not sure where you're getting your info, but

I am not sure where you're getting your info,
but good topic. I needs to spend some time learning much more
or understanding more. Thanks for magnificent information I
was looking for this information for my mission.

# I am not sure where you're getting your info, but good topic. I needs to spend some time learning much more or understanding more. Thanks for magnificent information I was looking for this information for my mission. 2021/12/17 12:04 I am not sure where you're getting your info, but

I am not sure where you're getting your info,
but good topic. I needs to spend some time learning much more
or understanding more. Thanks for magnificent information I
was looking for this information for my mission.

# I am not sure where you're getting your info, but good topic. I needs to spend some time learning much more or understanding more. Thanks for magnificent information I was looking for this information for my mission. 2021/12/17 12:05 I am not sure where you're getting your info, but

I am not sure where you're getting your info,
but good topic. I needs to spend some time learning much more
or understanding more. Thanks for magnificent information I
was looking for this information for my mission.

# where to purchase doxycycline https://doxycyline1st.com/
buy doxycycline hyclate 100mg without a rx 2022/02/25 21:55 Doxycycline

where to purchase doxycycline https://doxycyline1st.com/
buy doxycycline hyclate 100mg without a rx

# online doxycycline https://doxycyline1st.com/
buy cheap doxycycline 2022/02/26 9:09 Doxycycline

online doxycycline https://doxycyline1st.com/
buy cheap doxycycline

# You really make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand. It seems too complicated and extremely broad for me. I am looking forward for your next post, I'll try to get the 2022/03/23 18:39 You really make it seem so easy with your presenta

You really make it seem so easy with your presentation but I find this topic to
be really something which I think I would never understand.
It seems too complicated and extremely broad for
me. I am looking forward for your next post, I'll try to get the hang of it!

# You really make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand. It seems too complicated and extremely broad for me. I am looking forward for your next post, I'll try to get the 2022/03/23 18:40 You really make it seem so easy with your presenta

You really make it seem so easy with your presentation but I find this topic to
be really something which I think I would never understand.
It seems too complicated and extremely broad for
me. I am looking forward for your next post, I'll try to get the hang of it!

# You really make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand. It seems too complicated and extremely broad for me. I am looking forward for your next post, I'll try to get the 2022/03/23 18:41 You really make it seem so easy with your presenta

You really make it seem so easy with your presentation but I find this topic to
be really something which I think I would never understand.
It seems too complicated and extremely broad for
me. I am looking forward for your next post, I'll try to get the hang of it!

# You really make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand. It seems too complicated and extremely broad for me. I am looking forward for your next post, I'll try to get the 2022/03/23 18:42 You really make it seem so easy with your presenta

You really make it seem so easy with your presentation but I find this topic to
be really something which I think I would never understand.
It seems too complicated and extremely broad for
me. I am looking forward for your next post, I'll try to get the hang of it!

# Amazing! Its truly awesome paragraph, I have got much clear idea concerning from this post. 2022/03/24 7:33 Amazing! Its truly awesome paragraph, I have got m

Amazing! Its truly awesome paragraph, I have got much clear idea concerning
from this post.

# Amazing! Its truly awesome paragraph, I have got much clear idea concerning from this post. 2022/03/24 7:34 Amazing! Its truly awesome paragraph, I have got m

Amazing! Its truly awesome paragraph, I have got much clear idea concerning
from this post.

# Amazing! Its truly awesome paragraph, I have got much clear idea concerning from this post. 2022/03/24 7:35 Amazing! Its truly awesome paragraph, I have got m

Amazing! Its truly awesome paragraph, I have got much clear idea concerning
from this post.

# Amazing! Its truly awesome paragraph, I have got much clear idea concerning from this post. 2022/03/24 7:37 Amazing! Its truly awesome paragraph, I have got m

Amazing! Its truly awesome paragraph, I have got much clear idea concerning
from this post.

# I do not even know how I stopped up here, however I believed this put up was good. I don't understand who you are but certainly you're going to a famous blogger when you aren't already. Cheers! 2022/06/05 16:00 I do not even know how I stopped up here, however

I do not even know how I stopped up here, however I believed this put up was good.
I don't understand who you are but certainly you're going to a famous blogger when you aren't already.
Cheers!

# I do not even know how I stopped up here, however I believed this put up was good. I don't understand who you are but certainly you're going to a famous blogger when you aren't already. Cheers! 2022/06/05 16:01 I do not even know how I stopped up here, however

I do not even know how I stopped up here, however I believed this put up was good.
I don't understand who you are but certainly you're going to a famous blogger when you aren't already.
Cheers!

# I do not even know how I stopped up here, however I believed this put up was good. I don't understand who you are but certainly you're going to a famous blogger when you aren't already. Cheers! 2022/06/05 16:02 I do not even know how I stopped up here, however

I do not even know how I stopped up here, however I believed this put up was good.
I don't understand who you are but certainly you're going to a famous blogger when you aren't already.
Cheers!

# I do not even know how I stopped up here, however I believed this put up was good. I don't understand who you are but certainly you're going to a famous blogger when you aren't already. Cheers! 2022/06/05 16:03 I do not even know how I stopped up here, however

I do not even know how I stopped up here, however I believed this put up was good.
I don't understand who you are but certainly you're going to a famous blogger when you aren't already.
Cheers!

# Actually when someone doesn't be aware of after that its up to other viewers that they will assist, so here it happens. 2022/06/06 17:57 Actually when someone doesn't be aware of after th

Actually when someone doesn't be aware of after that its up to other viewers that they will assist,
so here it happens.

# I am genuinely thankful to the holder of this web page who has shared this enormous piece of writing at at this time. 2022/06/11 8:53 I am genuinely thankful to the holder of this web

I am genuinely thankful to the holder of this web page who has
shared this enormous piece of writing at at this time.

# You ought to be a part of a contest for one of the greatest blogs on the web. I'm going to recommend this website! 2022/06/11 13:01 You ought to be a part of a contest for one of the

You ought to be a part of a contest for one of the greatest blogs on the
web. I'm going to recommend this website!

# If some one needs to be updated with newest technologies after that he must be visit this website and be up to date daily. 2022/07/07 19:23 If some one needs to be updated with newest techno

If some one needs to be updated with newest technologies after that he must be visit this website
and be up to date daily.

# Hi there, just wanted to mention, I loved this blog post. It was helpful. Keep on posting! 2022/07/23 7:11 Hi there, just wanted to mention, I loved this blo

Hi there, just wanted to mention, I loved this blog post.
It was helpful. Keep on posting!

# Hi there, just wanted to mention, I loved this blog post. It was helpful. Keep on posting! 2022/07/23 7:12 Hi there, just wanted to mention, I loved this blo

Hi there, just wanted to mention, I loved this blog post.
It was helpful. Keep on posting!

# If some one wants to be updated with newest technologies after that he must be pay a quick visit this website and be up to date daily. 2022/08/01 21:40 If some one wants to be updated with newest techno

If some one wants to be updated with newest technologies
after that he must be pay a quick visit this website and be up to date daily.

# It's very effortless to find out any topic on net as compared to textbooks, as I found this paragraph at this web site. 2022/08/03 5:58 It's very effortless to find out any topic on net

It's very effortless to find out any topic on net as compared to textbooks, as I found this paragraph at this web
site.

# Greetings! Very useful advice within this article! It is the little changes that will make the most significant changes. Many thanks for sharing! 2022/08/08 10:08 Greetings! Very useful advice within this article!

Greetings! Very useful advice within this article! It is the
little changes that will make the most significant changes.

Many thanks for sharing!

# What's up to all, since I am in fact eager of reading this website's post to be updated daily. It contains pleasant stuff. 2022/08/09 0:03 What's up to all, since I am in fact eager of read

What's up to all, since I am in fact eager of reading this website's post to be updated daily.
It contains pleasant stuff.

# I think this is one of the most vital information for me. And i'm glad reading your article. But should remark on few general things, The web site style is ideal, the articles is really great : D. Good job, cheers 2022/08/15 15:22 I think this is one of the most vital information

I think this is one of the most vital information for
me. And i'm glad reading your article. But should remark on few general things, The web site
style is ideal, the articles is really great : D. Good job, cheers

# This is a really good tip especially to those new to the blogosphere. Simple but very accurate info… Thanks for sharing this one. A must read article! 2022/08/19 8:36 This is a really good tip especially to those new

This is a really good tip especially to those new to the blogosphere.

Simple but very accurate info… Thanks for sharing this one.
A must read article!

# It's wonderful that you are getting thoughts from this post as well as from our discussion made at this place. 2022/11/30 11:32 It's wonderful that you are getting thoughts from

It's wonderful that you are getting thoughts from this post as well as from our discussion made at this place.

# Heya i'm for the first time here. I found this board and I find It really useful & it helped me out a lot. I hope to give something back and help others like you helped me. 2022/12/02 3:59 Heya i'm for the first time here. I found this boa

Heya i'm for the first time here. I found this board and I find It really useful & it helped me out
a lot. I hope to give something back and help others like
you helped me.

# Heya i'm for the first time here. I found this board and I find It really useful & it helped me out a lot. I hope to give something back and help others like you helped me. 2022/12/02 4:00 Heya i'm for the first time here. I found this boa

Heya i'm for the first time here. I found this board and I find It really useful & it helped me out
a lot. I hope to give something back and help others like
you helped me.

# Heya i'm for the first time here. I found this board and I find It really useful & it helped me out a lot. I hope to give something back and help others like you helped me. 2022/12/02 4:01 Heya i'm for the first time here. I found this boa

Heya i'm for the first time here. I found this board and I find It really useful & it helped me out
a lot. I hope to give something back and help others like
you helped me.

# Heya i'm for the first time here. I found this board and I find It really useful & it helped me out a lot. I hope to give something back and help others like you helped me. 2022/12/02 4:02 Heya i'm for the first time here. I found this boa

Heya i'm for the first time here. I found this board and I find It really useful & it helped me out
a lot. I hope to give something back and help others like
you helped me.

# prescription meds without the prescriptions - https://cheapdr.top/# 2023/04/03 15:42 Dikolipo

prescription meds without the prescriptions - https://cheapdr.top/#

# Misoprostol 200 mg buy online - https://cytotecsale.pro/# 2023/04/29 4:54 Cytotec

Misoprostol 200 mg buy online - https://cytotecsale.pro/#

# natural ed medications: https://edpills.pro/# 2023/05/16 3:35 EdPillsPro

natural ed medications: https://edpills.pro/#

# prednisone 10mg tablet price https://prednisonepills.pro/# - prednisone over the counter cost 2023/06/05 5:30 Prednisone

prednisone 10mg tablet price https://prednisonepills.pro/# - prednisone over the counter cost

# ed dysfunction treatment https://edpill.pro/# - how to cure ed 2023/06/27 14:45 EdPills

ed dysfunction treatment https://edpill.pro/# - how to cure ed

# cytotec buy online usa https://cytotec.ink/# - cytotec pills buy online 2023/07/27 1:27 PillsFree

cytotec buy online usa https://cytotec.ink/# - cytotec pills buy online

# ed medication online https://edpillsotc.store/# - natural ed medications 2023/10/08 1:24 EdPills

ed medication online https://edpillsotc.store/# - natural ed medications

# buy doxycycline 100mg https://doxycycline.forum/ doxycycline tablets 2023/11/25 13:23 Doxycycline

buy doxycycline 100mg https://doxycycline.forum/ doxycycline tablets

タイトル
名前
URL
コメント