PDA

View Full Version : چطوری میشه با ++ C ,مسیج باکس ساخت؟



mhf1364
جمعه 03 مهر 1383, 20:09 عصر
من میخوام با C++ مسیج باکس بسازم.

vahid_CPP
شنبه 04 مهر 1383, 23:19 عصر
Syntax

int MessageBox(const char far* text, const char far* caption = 0, uint type = MB_OK);

Description

Creates and displays a message box that contains a message (text), a title (caption), and icons or push buttons (type). If caption is 0, the default title is displayed. Although type is set to one push button by default, it can contain a combination of the MB_Xxxx message constants. This function returns one of the following constants:

Value Description

IDABORT User selected the abort button.
IDCANCEL User selected the cancel button.
IDIGNORE User selected the ignore button.
IDNO User selected the no button.
IDOK User selected the OK button
IDRETRY User selected the retry button.
IDYES User selected the yes button.

If BWCC is already enabled, the message box will be BWCC-enabled. If CTRL 3D is already enabled, the message box will be CTRL-3D-enabled. If neither BWCC nor CTRL 3D is enabled, the message box will be displayed as a standard windows message box.

mhf1364
یک شنبه 05 مهر 1383, 08:37 صبح
:shock:
بابا جان عزیز دلم فارسی بگو!!!!!
من سواد درست و حسابی ندارم.

Trash
یک شنبه 05 مهر 1383, 10:19 صبح
منظورت ++ VC هست ؟

houtanal
دوشنبه 06 مهر 1383, 03:10 صبح
در vc++ با توابع messagebox و afxmessagebox این کار انجام میشه در msdn راهنمای کاملش هست.
در برنامه های mfc می تونی ازش استفاده کنی.(در کنسول سعی کردم نشد!)

mhf1364
سه شنبه 07 مهر 1383, 18:54 عصر
سلام
آره با ویژوال که کاری نداره!! :wink:
اگر با جاوا کار کرده باشی به راحتی توش میتونی مسیج باکس بسازی من اینطوری منظورم بود!!
حالا آیا میشه یا نه؟