Re: [fpc-pascal]Graph + mouse + linux

2003-02-28 Thread Peter Vreman
At 17:05 28-2-2003, you wrote: Hi I would like to use the mouse under graphics mode under linux and I just can't get it working. I tried all examples of mouseapi and gpm units with initialization of graphics added and no one worked: some reported no mouse, some always reported mouse at 0, 0 with

[fpc-pascal]Graph + mouse + linux

2003-02-28 Thread Jozef Vesely
Hi I would like to use the mouse under graphics mode under linux and I just can't get it working. I tried all examples of mouseapi and gpm units with initialization of graphics added and no one worked: some reported no mouse, some always reported mouse at 0, 0 with no buttons pressed and others

RE: [fpc-pascal]Re: How to resize window under win32? (Jeff Pohlmeyer)

2003-02-28 Thread Matt D. Emson
I sent more or less this info yesterday, but it bounced (my ISP doesn't like redirecting email from my work IP address!!!) I think the CreateProcess idea is better than this one, but just in case... Assuming you have a window with the caption 'Untitled - Notepad' (running notepad.exe will get

Re: [fpc-pascal]ClrScr problem under Win 2K

2003-02-28 Thread Marco van de Voort
> I'm running VP under Windows 2000, and I can't get ClrScr to work. The > program will compile OK, but when I run it ClrScr has no effect. Can > anyone please help? This is no VP maillist but a FPC maillist. VP does have an own maillist somewhere (see the site) The code looks ok. (do you execu

[fpc-pascal]Re: How to resize window under win32? (Jeff Pohlmeyer)

2003-02-28 Thread Bernhard Steffen
> > I'm launching another program from Freepascal program through > > "exec" I need code that can set the position and size of the > > started program. > > I haven't used Windows in a while, but I think you need > CreateProcess() instead of WinExec() > [...] If you have access to the source code

[fpc-pascal]ClrScr problem under Win 2K

2003-02-28 Thread J . Scullion
I'm running VP under Windows 2000, and I can't get ClrScr to work. The program will compile OK, but when I run it ClrScr has no effect. Can anyone please help? Here's an example: program user_menu; uses Crt; var menu_choice:integer; procedure initialise; begin menu_choice:=0; end; procedure

[fpc-pascal]How to resize window under win32?

2003-02-28 Thread Jeff Pohlmeyer
> I'm launching another program from Freepascal program through "exec" > I need code that can set the position and size of the started program. I haven't used Windows in a while, but I think you need CreateProcess() instead of WinExec() You can to set the dwX, dwY, dwXSize, and dwYSize fields o