HighTechTalks DotNet Forums  

window (int, int, int, int) in conio.h library

Dotnet VJSharp microsoft.public.dotnet.vjsharp


Discuss window (int, int, int, int) in conio.h library in the Dotnet VJSharp forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Maverick
 
Posts: n/a

Default window (int, int, int, int) in conio.h library - 09-21-2004 , 12:05 AM






i'm upgrading a Borland C programme into a C# version
in which, there's a function named "window(int, int, int, int)" which can
only be found in Borland C conio.h

do anyone of u know how can i program the window function in the C#
enviornment.


Reply With Quote
  #2  
Old   
George Birbilis [MVP J#] [9880]
 
Posts: n/a

Default Re: window (int, int, int, int) in conio.h library - 11-10-2004 , 02:53 AM






Quote:
i'm upgrading a Borland C programme into a C# version
in which, there's a function named "window(int, int, int, int)" which can
only be found in Borland C conio.h

do anyone of u know how can i program the window function in the C#
enviornment.
what do the Borland docs say that method does? (press F1 on it in the BC++
IDE)

there's an opensource OWL implementation for C++ I think and you could maybe
use in with managed C++, but I think it maybe a bad way to go unless you
have a huge application and no time to port it

there's a chance the VS.net IDE can read .res (compiled resource) or .rc
(resource script) files from BC++ and convert your BC++ forms to similar
WinForms (that you can then use from any .net language). Try the IDE menus
for open/import etc. That would work if you are not creating the GUI using
code, but using Windows resource files in the original C++ code

to make a window you can use a WinForm object in C# and make it the size you
want. I think you can even get its native handle somehow to talk to it
directly from unmanaged code (say from C++)


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
George Birbilis <birbilis (AT) kagi (DOT) com> [Microsoft MVP J#]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ QuickTime VCL and ActiveX controls (for PowerPoint/VB/Delphi etc.)
+ Plugs VCL and ActiveX controls (InterProcess/Internet communication)
+ TransFormations, VB6 forms to ASP.net WebForms convertion
http://www.kagi.com/birbilis
+ Robotics
http://www.mech.upatras.gr/~robgroup
.................................................. .......................




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.