Page 1 of 1 1
Topic Options
#6978 - 2001-02-19 09:46 AM buttons in the messagebox
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1342
Loc: NL
Hoi,

I want to create a messagebox with three options: Question a, b and c. Is there a way to create these three buttons in a messagebox?

Co

_________________________
Co


Top
#6979 - 2001-02-19 11:27 AM Re: buttons in the messagebox
Anonymous
Unregistered


Hya..,

These are the button options in a messagebox:
Buttons to display

Value -> Meaning

0 -> Display OK button only.
1 -> Display OK and Cancel buttons.
2 -> Display Abort, Retry, and Ignore buttons.
3 -> Display Yes, No, and Cancel buttons.
4 -> Display Yes and No buttons.
5 -> Display Retry and Cancel buttons.

Look for more info in the Kix Help file : http://kixtart.org/bin/kixhelp.chm

------------------
To Be Of Service..,
Fabian.
-----------------Paranoia is reality on a finer scale-----------------

Top
#6980 - 2001-02-19 01:01 PM Re: buttons in the messagebox
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1342
Loc: NL
I know, but i want to make a menu with my own buttons. I think it isn't possible. In test.kix is a menu. I have used this for my own script.

Co

_________________________
Co


Top
#6981 - 2001-02-19 02:08 PM Re: buttons in the messagebox
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
CO:

Creating a custom dialog box with native Kix can't be done - but check back in a week or two ! - I'm currently writting kixwin32 version 3. It's a dos program that will allow one to create custom Windows dialog boxes. I have a very basic prototype working now - another week or two should produce an alpha version. The way it will work is as follows...

1) Create an INI type file that contains the layout of your custom dialog box.

2) Shell out to kixwin and display the dialog box ...

%comspec% /c kixwin %logonserver%\netlogon\splash.dlg

3) Check the return status (buttons pressed, radio buttons clicked) via Kix's @ERROR macro.

Before I started this - I checked the Web for any program that would perform a similar type function - couldn't find one ! - If anyone knows of one - please advise ! (why re-invent the wheel eh ?) ...

Should be fun !

Shawn.

Top
#6982 - 2001-02-19 02:21 PM Re: buttons in the messagebox
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1342
Loc: NL
Sounds great Shawn. I'm looking forward to it.

co.

Ps. When i find a application like kixwin i let you know

_________________________
Co


Top
#6983 - 2001-02-19 02:33 PM Re: buttons in the messagebox
Anonymous
Unregistered


Hya Shawn..,

Sounds great..!! Keep us updated..!!

Top
#6984 - 2001-02-20 01:59 PM Re: buttons in the messagebox
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
co.

What did you want your messagebox to look like... can you describe it somehow ?

Shawn.

Top
#6985 - 2001-02-21 09:50 AM Re: buttons in the messagebox
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1342
Loc: NL
Shawn,

If there are networkproblems I want to send a net send message to the domain. We have some standard texts which we can use. So I want buttons like: " Press button A for mailproblems" Press button B for serverproblems" etc. after that I want a messagebox like: "are you sure?" Now I have a dosmenu with the options a,b and c.. and messagebox with "are you sure?" It looks nicer if you have for both a messagebox. Of course I can try to make this with VB.

------------------
Gr.

Co (MCSE+I)

_________________________
Co


Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 988 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.052 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org