🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.misc
1 messages
1 total messages Started by Eugene Radchenko Fri, 18 Aug 1995 14:35
>> MS-Window to X-Window
#2764
Author: Eugene Radchenko
Date: Fri, 18 Aug 1995 14:35
58 lines
3552 bytes
I just have accidentally come across the rather old posting (I was away
from my mail for some time):

>From: mprevost@gel.ulaval.ca (Michel Prevost)
>Newsgroups: comp.os.ms-windows.programmer.misc,comp.lang.c++,comp.windows.ms,comp.windows.x
>Subject: [NEWS] Re: MS-Window to X-Window
>Date: 30 Jul 1995 19:34:21 GMT
>
>In article <3vci5r$odc@ratree.psu.ac.th>, lsomchai@ratree.psu.ac.th (Somchai LIMSIRORATANA) writes:
>> Hi all,
>>       I am programming on MS-Window with Borland C++ 4.5.
>>       In my department have many Sun workstation and Lynux run on X-Window.
>>       So, I want convert my program on MS-Window to X-Window.
>>       Please advice me, how to do this? Have any converter application?
>>       or any book?
>> Thanks.
[...]
>
>MS-Windows is radically different of X-Window.
>
>If you want to program in X-Window, you should read the following:
>        X-Window programming manual (X-Window serie from O'Reilly, volume 1)
>        X-Window reference manual   ( "  "    "       "      "     volume 2)
>These two represent about 2,000 pages.
>But you won't have predefined functions for buttons, etc. because Xlib only provided graphics primitives (lines,
>circles, etc). You now have two choices: (1) Writing your own functions, (2) Using a toolkit such as XView.
>The second one is the simplest. You could read XView Programming Manual (same serie as above, volume 7) and
>the XView Reference manual. There's another toolkit, Motif. The volume from the same serie is Motif Toolkit
>programming Manual.
>
>But this is a big job to learn X-Window. I am myself programming in the X-Window environment since 2 years and
>I don't know the half of what I should know.

I would not say that MS-Win is radically different from X-Win. In fact,
they are amazingly isomorphic (much more so than any two event-driven
graphical windowing systems have a right to be at random). This fact is
taken advantage of by the various cross-platform GUI toolkits which provide
(hopefully) single source-level interface (usually in a form of the C++
class library) implemented on each of the platforms. Good libraries can
even implement some functionality not directly supported by the specific
platform.

Wade Guthrie (wade@nb.rockwell.com) maintains the 'Portable GUI Development
Kits' FAQ which can be found at
            ftp://rtfm.mit.edu/pub/usenet/comp.windows.misc/
(file names are somewhat fancy so I do not quote them here. Total size is
some 90 odd KB). You can find the tables and some useful discussion there.

           Hope this helps                   Gin


--
--------------------------------------------------------------------
Eugene V. Radchenko           Graduate Student in Computer Chemistry
E-mail: eugene@qsar.chem.msu.su                Fax: +7-(095)939-0290 
Ordinary mail:  Chair of Organic Chemistry, Department of Chemistry,
                      Moscow State University, 119899 Moscow, Russia
*****************  Disappearances are deceptive  *******************
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads