Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» MessageBox问题
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: MessageBox问题
exeexe
新警察
UID 573
Digest Posts 0
Credits 9
Posts 7
点点分 9
Reading Access 10
Registered 2004-11-20
Status Offline
#1
Post at 2004-11-20 21:59
Profile
|
Blog
|
P.M.
MessageBox
exeexe
新警察
UID 573
Digest Posts 0
Credits 9
Posts 7
点点分 9
Reading Access 10
Registered 2004-11-20
Status Offline
#2
Post at 2004-11-20 22:00
Profile
|
Blog
|
P.M.
是
exeexe
新警察
UID 573
Digest Posts 0
Credits 9
Posts 7
点点分 9
Reading Access 10
Registered 2004-11-20
Status Offline
#3
Post at 2004-11-20 22:01
Profile
|
Blog
|
P.M.
还有一个
MessageBox(0, 请输入, 提示, MB_OK + MB_ICONWARNING);
这样在任务栏中会出现一个窗口切换的按钮。
建议改成这样的:
MessageBox(handle, 请输入,提示, MB_OK + MB_ICONWARNING);
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#4
Post at 2004-11-21 10:48
Profile
|
Site
|
Blog
|
P.M.
如果用 Handle 的话,如果代码不是在窗体里就没有 Handle 了,如果用 Application.Handle,如果当前单元没有引用 Forms单元,也编译不过,不过用 0会在任务栏出来按钮确实是没注意到的,考虑改进。建议使用 Application.MessageBox 这种风格比较好。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Poll
Trade
Reward
Activity
Visited forums ...
CVSTrac 相关问题
技术板块灌水区
[Russian] Feed Reader Forum
[English] Feed Reader Forum
CnVCL 组件包
CnWizards IDE Wizards
源阅读专用
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-10-31 08:53
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.005167 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats