|
你们就没人翻翻参考文档吗?0 e, i! V$ U9 K0 P0 g
uc1601
+ r1 [# `1 g$ n' mDefined in: uf_ui.h6 W4 J* x$ \6 o0 ?+ [' Z( Q
Overview
! H. T8 X7 S" I; vDisplay a message box and wait for acknowledgement, if desired * i7 r9 z& n( R" N- ~( [
A maximum of 132 characters can be displayed in cp1. An asterisk
1 F; y; q+ X4 k% [/ Z {. ?may be used to indicate where cp1 should be split to continue on
* C2 w5 y0 ~& }$ j+ Y+ panother line when displaying to a message box. If you use an asterisk ) V( y z3 k; r0 F& ]8 k
when displaying to the Status Line, the asterisk is replaced by a hyphen. / K0 x% X4 b3 o$ X. e' ]3 ]
; C6 [+ i6 p5 m8 k6 a
Please avoid using format escape sequences in the cp1 ) Q) L6 U5 }" R
character string. For example, the newline escape sequence (\n) can
, }3 |/ x2 r3 y( w, bcause an undesirable shift in the displayed text.
3 P# ^3 {5 j6 z+ R+ r* q- ~Environment$ R, A, N8 i2 B* a% V. V
Internal说明中写的很清楚,环境是internal,即只能用dll方式被UG程序调用,而不能在外模式下使用。你的方向根本就是错误的。如果你需要弹出窗口的话,应该使用MFC的消息框方式,或者调用Windows标准API函数MessageBox3 b! v7 i; o% W5 m- S3 V
& o3 p. C9 w" j7 N; g! Y |
|