在数据采集中,有的时候需要将采集数据以曲线的方式显示出来,MFC并没有提供容易使用的曲线显示控件,好在有好心人写了ChartCtrl控件,可以很方便的绘制曲线。 由于年代比较久远,使用VC2017的时候会有些警告,但是都不影响使用。接下来我会使用一个示例来说明控件的使用方法,同时也为我自己以后使用的时候能够快速回忆起用法。 老版本的VC使用stdafx.h作为预编译头,VC2017使用pch.h作为预编译头,为了方便,干脆取消掉预编译头:属性->c/c++->预编译头->不使用预编译头。在程序中我用到了控件的曲线自适应功能,会根据数据自动的将曲线填满整个空间空间,在静止状态下,可以拉框放大局部曲线。 曲线控件使用Custom Control作为载体,在窗体上放置Custom Control后,需要设置stytle属性为0x52010000,相当于WS_CHILD(0x40000000L) | WS_VISIBLE(0x10000000L) |WS_CLIPCHILDREN(0x02000000L) | WS_TABSTOP(0x00010000L) 值得一提的是WS_CLIPCHILD
2022-07-09 16:05:55 245KB MFC 曲线 示例程序
1
STM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境)1-STM8S_DemoSTM8示例程序(IAR环境
2022-06-27 11:05:24 198KB STM8示例程序(IAR环境)1
STM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-UartSTM8示例程序(IAR环境)4-
2022-06-27 11:05:23 253KB STM8示例程序(IAR环境)4
STM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-BeepSTM8示例程序(IAR环境)5-
2022-06-27 11:05:19 228KB STM8示例程序(IAR环境)5
STM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_ExtiSTM8示例程序(IAR环境)6-Key_Exti
2022-06-27 11:05:19 245KB vSTM8示例程序(IAR环境)
STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-TIM1STM8示例程序(IAR环境)7-
2022-06-27 11:05:18 239KB STM8示例程序(IAR环境)7
STM8示例程序(IAR环境)8-TIM2vvvvvvSTM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IAR环境)8-TIM2STM8示例程序(IA
2022-06-27 11:05:18 246KB STM8示例程序(IAR环境)8
STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-TIM3STM8示例程序(IAR环境)9-
2022-06-27 11:05:17 235KB STM8示例程序(IAR环境)9
STM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10-PWMSTM8示例程序(IAR环境)10
2022-06-27 11:05:17 235KB STM8示例程序(IAR环境)1
STM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11-ADCSTM8示例程序(IAR环境)11
2022-06-27 11:05:16 262KB STM8示例程序(IAR环境)1