|
你们就没人翻翻参考文档吗?% \( g1 q$ L& [1 F2 k
uc16015 f7 S+ V3 h* A3 r) k$ |7 ]
Defined in: uf_ui.h
6 E0 y! W9 _: X& B* u( X! V8 VOverview
! t, f4 \" \8 J4 IDisplay a message box and wait for acknowledgement, if desired % r. I' y7 Q" G7 ]% @
A maximum of 132 characters can be displayed in cp1. An asterisk % L2 P" }9 ~# v3 j- y8 U. M
may be used to indicate where cp1 should be split to continue on . P. Y, l+ p3 z) U/ W( o- [: u3 o; Y
another line when displaying to a message box. If you use an asterisk
8 _, Q0 ~: |1 _when displaying to the Status Line, the asterisk is replaced by a hyphen. 6 y7 f" a) d+ V; d# k, O3 ?
" E) b- |' m& q6 O" I7 U" M! DPlease avoid using format escape sequences in the cp1 1 p) N. R9 k/ F
character string. For example, the newline escape sequence (\n) can
* D3 M) `6 {! A" t/ pcause an undesirable shift in the displayed text. 5 x5 g) P& J+ @# x R, l$ j
Environment5 x5 x6 ^; _0 _8 g' \# B# \+ ?
Internal说明中写的很清楚,环境是internal,即只能用dll方式被UG程序调用,而不能在外模式下使用。你的方向根本就是错误的。如果你需要弹出窗口的话,应该使用MFC的消息框方式,或者调用Windows标准API函数MessageBox. d7 T9 I$ o4 l) Z+ c
( E+ T0 W' z1 j3 ~ |
|