WINAPI to XLIB

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
WINAPI to XLIB

Submitted by Anonymous on Thu, 05/03/2001 - 01:22. Developers
I`m sorry for my stupid question -) I`m new in porgraming for Motif and X enviroment.

What are the equivalent functions for WINAPI to XLIB (Motif) to

PlaySound("sound/f1.wav",NULL,SND_ASYNC|SND_FILENAME);
// Play a wav file
Status = MessageBox(NULL, "Question...", "Box Title", MB_YESNO);
//Create a modal dialog and retur YES or NO options
ShellExecute(NULL, "open", "help/index.html", "", "", SW_MAXIMIZED);
// Open the file index.html with the default program (browser)

Is there any document available about the equivalent functions of WINAPI for XLIB??

Any hint will be very appreciated!!!

Thanks

Daniel (dansc@terra.com.br)

ICS_support

Three separate answers

1) No equivalent, although there are some semi-standard audio extensions to X.

2) See the comp.windows.x FAQ on www.x.org or www.faqs.org; look for the "Answer" routine under the question "How do I query Xt synchronously?"

3) No real equivalent, but you can get some of the work done by doing an "exec**" on "netscape".