Path: utzoo!attcan!uunet!samsung!xylogics!merk!alliant!linus!cornea.mitre.org!jeff From: jeff@cornea.mitre.org (Jeff Graber) Newsgroups: comp.os.os2.programmer Subject: Re: Help with editing Summary: need help writing editor Message-ID: <113788@linus.mitre.org> Date: 18 Jul 90 19:04:23 GMT References: <1990Jul12.202632.21275@arnor.uucp> <1854@ns-mx.uiowa.edu> <3774@csccat.UUCP> Sender: usenet@linus.mitre.org Reply-To: jeff@cornea.mitre.org.UUCP (Jeff Graber) Organization: The MITRE Corporation Media Laboratory Lines: 10 I need help with a PM and C programming problem. I am using OS/2 1.2 annd Microsoft C 6.0. I am writing a program that needs to include simple editing (i.e. copy and paste) functionality. I have Petzhold's book. But it does this with vio calls and I need to use gpi calls. I can't seem to get the mouse to select the exactly correct text. Has anyone out there in the vast reaches of the os2 world written this code with gpi calls? Does anyone know if the IBM supplied editor uses gpi calls and if I can get a copy of that section of the source code? I need to use gpi rather than vio calls because we need to display text in multiple colors. There must be someone out there that is using this PM junk. Is there no one at Microsoft or IBM that reads this mail and wants to help? I am a man and I have developed a real bad case of PMS (presentation manager syndrome) and I don't like it!!!!! Please help!!!! Sincerely Jeffrey Graber 703-883-5851