|
你们就没人翻翻参考文档吗?
; J+ C9 s4 [" u, w! Auc1601/ W* q& Z% L0 F
Defined in: uf_ui.h" d8 e3 R6 l( p, g" @
Overview: F/ a% Z2 r% r7 m) \9 a
Display a message box and wait for acknowledgement, if desired
; H2 x/ n* P2 u% V* T2 oA maximum of 132 characters can be displayed in cp1. An asterisk 4 z' I- _; t4 C' G# j
may be used to indicate where cp1 should be split to continue on
4 q& h/ T/ Q' r9 Uanother line when displaying to a message box. If you use an asterisk % `# { Q2 t4 q: V5 \) U
when displaying to the Status Line, the asterisk is replaced by a hyphen. ! q' L) Z" m3 C& Y
, u5 W( Q' b" G9 |Please avoid using format escape sequences in the cp1 : t3 Z, I/ y5 ~ z
character string. For example, the newline escape sequence (\n) can
4 _: F2 ~$ a4 e1 Ccause an undesirable shift in the displayed text.
; o/ Y2 j1 e6 ]Environment3 m" z/ B% I6 T0 M) q7 z
Internal说明中写的很清楚,环境是internal,即只能用dll方式被UG程序调用,而不能在外模式下使用。你的方向根本就是错误的。如果你需要弹出窗口的话,应该使用MFC的消息框方式,或者调用Windows标准API函数MessageBox( j5 I3 T6 z( G( u2 V$ O9 \5 [# f5 `
5 C3 i) O& K( n! Q8 Y' ?2 G3 m3 P |
|