|
你们就没人翻翻参考文档吗?+ ^2 Q, M) V- n5 }8 t7 X
uc1601( n2 G7 s6 u; L6 B$ }
Defined in: uf_ui.h+ [" ~3 F+ ?! E1 y
Overview
: h6 n: I3 i' zDisplay a message box and wait for acknowledgement, if desired
5 T( D' h! I. N- Y s* ZA maximum of 132 characters can be displayed in cp1. An asterisk . P8 F K) t+ r- O% x5 q& `
may be used to indicate where cp1 should be split to continue on 2 T% l( U; B: `& p# l0 T
another line when displaying to a message box. If you use an asterisk 7 S+ }8 T* e! o7 J Q* E5 j+ V
when displaying to the Status Line, the asterisk is replaced by a hyphen.
9 M0 [# I7 z* s3 P' \# N4 o" k. J( ?; ?) q+ c2 q$ {6 e8 P1 M
Please avoid using format escape sequences in the cp1 - W! X- V2 V& \6 D, N" M( ]% R7 }
character string. For example, the newline escape sequence (\n) can
7 c1 i p- \0 w( wcause an undesirable shift in the displayed text.
7 S# [) w; l4 a# c7 t- b( oEnvironment
7 C' U5 y5 }+ wInternal说明中写的很清楚,环境是internal,即只能用dll方式被UG程序调用,而不能在外模式下使用。你的方向根本就是错误的。如果你需要弹出窗口的话,应该使用MFC的消息框方式,或者调用Windows标准API函数MessageBox
4 @& z/ q5 c: Q2 P9 R& F
0 D* J! d4 u# d1 t) X) ] |
|