{"id":487,"date":"2022-12-07T09:24:18","date_gmt":"2022-12-07T08:24:18","guid":{"rendered":"http:\/\/lesmrdtrucs.mataf35400.fr\/?page_id=487"},"modified":"2022-12-07T09:28:59","modified_gmt":"2022-12-07T08:28:59","slug":"couleur-dun-progressbar","status":"publish","type":"page","link":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/couleur-dun-progressbar\/","title":{"rendered":"Couleur d&rsquo;un ProgressBar"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"487\" class=\"elementor elementor-487\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-52fe71be elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"52fe71be\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-74995761\" data-id=\"74995761\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-79b9033b elementor-widget elementor-widget-text-editor\" data-id=\"79b9033b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>L&rsquo;exemple vient d&rsquo;une source de vu-m\u00e8tre :<br \/><a href=\"https:\/\/codes-sources.commentcamarche.net\/source\/33468-vumetre-audio\" target=\"_blank\" rel=\"noopener\">https:\/\/codes-sources.commentcamarche.net\/source\/33468-vumetre-audio<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-31b3ef4b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"31b3ef4b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-26834978\" data-id=\"26834978\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-57cdcf8a elementor-widget elementor-widget-text-editor\" data-id=\"57cdcf8a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Dans un module<br \/><span style=\"color: #0000ff;\"><em>\u00a0\u00a0\u00a0 Public Const WM_USER = &amp;H400<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>\u00a0\u00a0\u00a0 Public Const PBM_SETBARCOLOR = (WM_USER + 9)<\/em><\/span><\/p><p>Dans l&rsquo;\u00e9v\u00e8nement qui va bien:<br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 \u00a0If ProgressBar1.Value &gt;= ProgressBar1.Max \/ 3 Then<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0\u00a0 SendMessage ProgressBar1.hwnd, PBM_SETBARCOLOR, 0, ByVal vbRed<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0\u00a0 Else<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0 SendMessage ProgressBar1.hwnd, PBM_SETBARCOLOR, 0, ByVal vbGreen<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0\u00a0 End If<\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>L&rsquo;exemple vient d&rsquo;une source de vu-m\u00e8tre :https:\/\/codes-sources.commentcamarche.net\/source\/33468-vumetre-audio Dans un module\u00a0\u00a0\u00a0 Public Const WM_USER = &amp;H400\u00a0\u00a0\u00a0 Public Const PBM_SETBARCOLOR = (WM_USER + 9) Dans l&rsquo;\u00e9v\u00e8nement qui va bien:\u00a0\u00a0 \u00a0If ProgressBar1.Value &gt;= ProgressBar1.Max \/ 3 Then\u00a0\u00a0\u00a0 SendMessage ProgressBar1.hwnd, PBM_SETBARCOLOR, 0, ByVal vbRed\u00a0\u00a0\u00a0 Else\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0 SendMessage ProgressBar1.hwnd, PBM_SETBARCOLOR, 0, ByVal vbGreen\u00a0\u00a0\u00a0 End If<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","footnotes":""},"class_list":["post-487","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/comments?post=487"}],"version-history":[{"count":4,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/487\/revisions"}],"predecessor-version":[{"id":495,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/487\/revisions\/495"}],"wp:attachment":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/media?parent=487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}