|
你们就没人翻翻参考文档吗?
# R! Y" s8 C" V0 \( Muc1601
. ]- V5 l1 a& w# fDefined in: uf_ui.h8 G+ y0 V* Z, B! h8 G5 Y
Overview* M# g2 x+ ~3 X: D2 i ^& G5 f! S
Display a message box and wait for acknowledgement, if desired
" _- C; ?8 h5 GA maximum of 132 characters can be displayed in cp1. An asterisk 1 W$ r: q$ J) T$ A# ~: m, y4 l
may be used to indicate where cp1 should be split to continue on
+ [" l8 }* h& Eanother line when displaying to a message box. If you use an asterisk ' @8 _0 c6 l7 p1 ^
when displaying to the Status Line, the asterisk is replaced by a hyphen.
% `) q) I3 M l) x6 v# d) n- @
7 X3 ~1 k |& ?7 g zPlease avoid using format escape sequences in the cp1 5 u( d, n0 q( k6 d. d
character string. For example, the newline escape sequence (\n) can
: E! n8 d! G5 P! m, s) Fcause an undesirable shift in the displayed text. 3 ^. L- ]- j2 M5 p3 t
Environment
0 s6 Z% }% P' |. D4 zInternal说明中写的很清楚,环境是internal,即只能用dll方式被UG程序调用,而不能在外模式下使用。你的方向根本就是错误的。如果你需要弹出窗口的话,应该使用MFC的消息框方式,或者调用Windows标准API函数MessageBox
4 g7 N6 q8 Y' Y/ N/ s2 n; |& z# n
|
|