{"id":1645,"date":"2014-12-31T18:59:35","date_gmt":"2014-12-31T10:59:35","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=1645"},"modified":"2014-12-31T19:02:10","modified_gmt":"2014-12-31T11:02:10","slug":"%e5%a6%82%e4%bd%95%e8%ae%be%e8%ae%a1%e4%b8%80%e4%b8%aa%e7%a8%8b%e5%ba%8f%e7%9a%84%e5%90%af%e5%8a%a8%e7%95%8c%e9%9d%a2splash","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=1645","title":{"rendered":"\u5982\u4f55\u8bbe\u8ba1\u4e00\u4e2a\u7a0b\u5e8f\u7684\u542f\u52a8\u754c\u9762(Splash)"},"content":{"rendered":"<p>\u7a0b\u5e8f\u7684\u542f\u52a8\u754c\u9762\u662f\u4e3a\u4e86\u8ba9\u9700\u8981\u8f83\u957f\u65f6\u95f4\u7684\u7a0b\u5e8f\u542f\u52a8\u65f6\uff0c\u907f\u514d\u7528\u6237\u9519\u8bef\u7684\u4ee5\u4e3a\u7a0b\u5e8f\u6ca1\u6709\u6253\u5f00\u6216\u8005\u6ca1\u6709\u54cd\u5e94\uff0c\u800c\u8bbe\u8ba1\u7684\u4e00\u4e2a\u201c\u5c0f\u751c\u70b9\u201d\uff0c\u4f46\u8bb8\u591a\u4eba\u8bbe\u8ba1\u65f6\uff0c\u5374\u5ffd\u7565\u4e86\u6839\u672c\uff0c\u53cd\u800c\u5c06\u542f\u52a8\u754c\u9762\u7528Sleep\u7b49\u5ef6\u65f6\u65b9\u6cd5\uff0c\u5f3a\u5236\u5728\u4e3b\u5c4f\u4e0a\u663e\u793a\u4e00\u6bb5\u65f6\u95f4\uff0c\u4ee5\u589e\u52a0\u201c\u5b58\u5728\u611f\u201d\uff0c\u8fd9\u663e\u7136\u662f\u8fdd\u80cc\u542f\u52a8\u754c\u9762\u8bbe\u8ba1\u521d\u8877\u7684\u3002<\/p>\n<p>\u90a3\u4e48\uff0c\u8fd9\u4e2a\u542f\u52a8\u754c\u9762\uff0c\u6211\u4eec\u5e94\u8be5\u5728\u4ec0\u4e48\u65f6\u5019\u521b\u5efa\u548c\u663e\u793a\u5462\uff1f\u8fd9\u5c31\u9700\u8981\u6211\u4eec\u4ece\u8bbe\u8ba1\u7684\u521d\u8877\u5f00\u59cb\uff0c\u8ba8\u8bba\u4e0b\u542f\u52a8\u754c\u9762\u7684\u751f\u5b58\u5468\u671f\u95ee\u9898\u3002<\/p>\n<p>\u9996\u5148\uff0c\u542f\u52a8\u754c\u9762\u5e94\u5728\u7a0b\u5e8f\u4e00\u542f\u52a8\u65f6\u5c31\u521b\u5efa\u3002\u5728 Delphi \u6216 C++ Builder \u7a0b\u5e8f\u4e2d\uff0c\u5b83\u5e94\u8be5\u5728TApplication\u5bf9\u8c61\u521b\u5efa\u4e4b\u540e\uff0c\u7531\u4e8e\u6211\u4eec\u4e00\u822c\u4e0d\u63a8\u8350\u4fee\u6539\u9879\u76ee\u7684\u5165\u53e3\u6e90\u7801\uff0c\u6240\u4ee5\u6211\u4e2a\u4eba\u63a8\u8350\u662f\u5728\u4e3b\u7a97\u4f53\u7684\u6784\u9020\u51fd\u6570\u6216OnCreate\u4e8b\u4ef6\u4e2d\u521b\u5efa\u542f\u52a8\u753b\u9762\u3002<\/p>\n<p>\u5176\u6b21\uff0c\u542f\u52a8\u754c\u9762\u5728\u4e3b\u7a97\u53e3\u521d\u59cb\u5316\u5b8c\u6210\u540e\uff0c\u4e3b\u7a97\u4f53\u663e\u793a\u4e4b\u524d\u5173\u95ed\u3002\u800c\u4e0d\u8981\u6545\u610f\u52a0\u5165Sleep\u4e00\u7c7b\u7684\u51fd\u6570\u6765\u5ef6\u957f\u7528\u6237\u7684\u7b49\u5f85\u65f6\u95f4\uff0c\u9664\u975e\u4f60\u5c06\u542f\u52a8\u754c\u9762\u5f53\u6210\u662f\u7535\u89c6\u5e7f\u544a\uff0c\u5426\u5219\u6ca1\u5fc5\u8981\u803d\u8bef\u7528\u6237\u5b9d\u8d35\u7684\u65f6\u95f4\u3002<\/p>\n<p>\u8fd8\u6709\u4e00\u4e2a\u95ee\u9898\uff0c\u5982\u679c\u7a0b\u5e8f\u5f88\u5feb\u5c31\u521d\u59cb\u5316\u5b8c\u6210\uff0c\u542f\u52a8\u753b\u9762\u4f1a\u4e00\u95ea\u800c\u8fc7\uff0c\u600e\u4e48\u529e\uff1f\u5b9e\u9645\u4e0a\u8fd9\u672c\u8eab\u4e0d\u662f\u95ee\u9898\uff0c\u6bd5\u7adf\u6ca1\u4eba\u4e0d\u4e50\u610f\u7a0b\u5e8f\u5feb\u70b9\u8fdb\u5165\uff0c\u552f\u4e00\u9700\u8981\u89e3\u51b3\u7684\u95ee\u9898\u5c31\u662f\u662f\u5426\u9700\u8981\u663e\u793a\u753b\u9762\u7684\u95ee\u9898\u3002\u8fd9\u91cc\u6211\u4e2a\u4eba\u4e00\u822c\u63a8\u8350\u4f7f\u7528\u5b9a\u65f6\u5668\u6765\u5ef6\u8fdf\u663e\u793a\u542f\u52a8\u753b\u9762\uff0c\u5982\u679c\u542f\u52a8\u8fdb\u7a0b\u5df2\u7ecf\u8d85\u8fc7 50% \u521d\u59cb\u5316\u5b8c\u6210\uff0c\u800c\u53ea\u7528\u4e86\u5c0f\u4e8e 500ms \u7684\u65f6\u95f4\uff0c\u90a3\u6211\u4e2a\u4eba\u8ba4\u4e3a\u5b8c\u5168\u6ca1\u5fc5\u8981\u663e\u793a\u4e00\u4e2a\u542f\u52a8\u754c\u9762\u6765\u663e\u793a\u81ea\u5df1\u7684\u5b58\u5728\u3002<\/p>\n<p>\u5176\u5b9e\uff0c\u8fd9\u91cc\u7275\u6d89\u5230\u53e6\u4e00\u4e2a\u95ee\u9898\uff0c\u5c31\u662f\u4f60\u7684\u7a0b\u5e8f\u662f\u5426\u9700\u8981\u52a0\u5165\u4e00\u4e2a\u542f\u52a8\u754c\u9762\u3002\u5982\u679c\u4f60\u7684\u7a0b\u5e8f\u7684\u542f\u52a8\u6ca1\u6709\u591a\u5c11\u9700\u8981\u521d\u59cb\u5316\u7684\u4e1c\u897f\uff0c\u90a3\u4e2a\u4eba\u611f\u89c9\u5c31\u5b8c\u5168\u6ca1\u6709\u5fc5\u8981\u3002\u542f\u52a8\u754c\u9762\u7684\u8bbe\u8ba1\u521d\u8877\u662f\u4e3a\u4e86\u589e\u5f3a\u7528\u6237\u4f53\u9a8c\uff0c\u907f\u514d\u7528\u6237\u5728\u7b49\u5f85\u7a0b\u5e8f\u542f\u52a8\u8fc7\u7a0b\u4e2d\u53d1\u751f\u9519\u8bef\u7684\u8ba4\u77e5\uff0c\u5982\u679c\u4f60\u5f88\u5feb\u542f\u52a8\u5b8c\u6210\uff0c\u4f55\u5fc5\u52a0\u5165\u6ca1\u5fc5\u8981\u7684\u4e1c\u897f\u3002<\/p>\n<p>\u6211\u4eec\u63a5\u4e0b\u6765\u8ba8\u8bba\u4e0b\uff0c\u542f\u52a8\u754c\u9762\u90fd\u8981\u505a\u4e9b\u4ec0\u4e48\uff1f<\/p>\n<p>\uff081\uff09\u3001\u4e00\u5e45\u5236\u4f5c\u7cbe\u7f8e\u7684\u56fe\u7247\uff0c\u7ed9\u7528\u6237\u7f8e\u597d\u7684\u5370\u8c61\u3002\u751a\u81f3\u53ef\u4ee5\u5728\u56fe\u7247\u4e0a\u52a0\u4e0a\u4e00\u4e9b\u64cd\u4f5c\u63d0\u793a\u4e00\u7c7b\u5b9e\u7528\u7684\u6280\u5de7\u5565\u7684\uff1b<\/p>\n<p>\uff082\uff09\u3001\u5e94\u7528\u7a0b\u5e8f\u521d\u59cb\u5316\u8fdb\u5ea6\u63d0\u793a\uff0c\u4ee5\u4fbf\u544a\u8bc9\u7528\u6237\u6211\u8fd8\u6d3b\u7740\uff0c\u4e0d\u8981\u7740\u6025\uff1b<\/p>\n<p>\u81f3\u4e8e\u5176\u5b83\u7684\u4e1c\u897f\uff0c\u90a3\u4e0d\u5c5e\u4e8e\u542f\u52a8\u754c\u9762\u5e94\u8be5\u64cd\u5fc3\u7684\u4e8b\uff0c\u5c31\u4ea4\u7ed9\u522b\u7684\u5730\u65b9\u53bb\u505a\u5427\u3002<\/p>\n<p>\u542f\u52a8\u754c\u9762\u4e00\u822c\u4e5f\u662f\u4e00\u4e2a\u666e\u901a\u7684\u7a97\u4f53\uff0c\u4e0d\u540c\u7684\u662f\u6211\u4eec\u4e00\u822c\u4f1a\u5c06\u5176\u8bbe\u8ba1\u4e3a\u65e0\u8fb9\u7684\u7a97\u53e3\uff0c\u6216\u8005\u6807\u65b0\u7acb\u5f02\u4e00\u70b9\u8bbe\u8ba1\u6210\u4e0d\u89c4\u5219\u5f62\u72b6\u7684\u7a97\u53e3\uff08\u8bbe\u7f6e\u4e00\u4e2a\u80cc\u666f\u56fe\u7247\uff0c\u7136\u540e\u8bbe\u7f6eTransparentColor\u5c31\u53ef\u4ee5\u5b9e\u73b0\uff09\uff0c\u7136\u540e\u6ce8\u610f\u5728\u663e\u793a\u65f6\u662f\u7528Show\u800c\u4e0d\u662fShowModal\u6765\u663e\u793a\uff0c\u521d\u5b66\u8005\u5bb9\u6613\u5361\u5728\u8fd9\u4e00\u4e2a\u5c0f\u5730\u65b9\uff0c\u63d0\u793a\u4e00\u4e0b\u3002\u5177\u4f53\u7684\u5b9e\u73b0\u6b64\u5904\u5c31\u4e0d\u7c98\u8d34\u4e86\uff0c\u56e0\u4e3a~~~~\u5b9e\u5728\u6ca1\u5565\u53ef\u8bf4\u7684\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7a0b\u5e8f\u7684\u542f\u52a8\u754c\u9762\u662f\u4e3a\u4e86\u8ba9\u9700\u8981\u8f83\u957f\u65f6\u95f4\u7684\u7a0b\u5e8f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[69,8,21],"tags":[276,277,279,278],"class_list":["post-1645","post","type-post","status-publish","format-standard","hentry","category-c-builder","category-delphi","category-misc","tag-splash","tag-277","tag-279","tag-278"],"views":4267,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/1645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1645"}],"version-history":[{"count":3,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/1645\/revisions"}],"predecessor-version":[{"id":1648,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/1645\/revisions\/1648"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}