|
你们就没人翻翻参考文档吗?
L( l. `8 k0 I# `$ e/ j4 Y; Xuc1601
0 }: A- S$ G5 ?$ N* SDefined in: uf_ui.h* S. R" O$ k0 }! Y0 t6 B
Overview R; a1 G8 ^* Q1 h, ]
Display a message box and wait for acknowledgement, if desired 9 \7 i, n: P/ h6 \
A maximum of 132 characters can be displayed in cp1. An asterisk
/ a& F& A' L( W1 n, u% L% [! S5 Lmay be used to indicate where cp1 should be split to continue on
1 R; |" h2 y1 V, lanother line when displaying to a message box. If you use an asterisk 9 y5 I/ |, u# X+ c9 D( o
when displaying to the Status Line, the asterisk is replaced by a hyphen.
; O0 m- n0 B! m' O- O: G" i4 S, \# a3 J
Please avoid using format escape sequences in the cp1
$ E+ d9 J7 v2 D! y- U$ X' F8 `character string. For example, the newline escape sequence (\n) can 9 L: X3 ?3 r* x+ Q# |! q- }
cause an undesirable shift in the displayed text. ( [1 U, V2 h. S9 \& C
Environment
1 p5 `7 J+ ^# P: E* oInternal说明中写的很清楚,环境是internal,即只能用dll方式被UG程序调用,而不能在外模式下使用。你的方向根本就是错误的。如果你需要弹出窗口的话,应该使用MFC的消息框方式,或者调用Windows标准API函数MessageBox" P. ^7 I0 M0 j- ]# v
) a/ f# u) M0 | |
|