[fpc-pascal]RE: force redraw on hscale

2004-04-26 Thread Jeff Pohlmeyer
> My question: how can I force a redraw on selected > widgets or the whole window when needed? Maybe this will help: procedure UpdateWidget(w:pGtkWidget); var update_rect: tGdkRectangle; begin update_rect.x:=0; update_rect.y:=0; update_rect.width:=w^.allocation.width; u

Re: [fpc-pascal]Win32: converting lptstr to string

2004-04-26 Thread Nikolai Zhubr
Hi, Monday, 26 April, 2004, 23:25:07, Inpromptu wrote: > Hi: > I was looking the demo sources, and I found c:\pp\demo\win32\edit.pp VERY > interesting. So, i decide to try shBrowseForFolder instead of GetOpenFilename, but I > don't know wath I'm doing wrong... > This is my humble little p

Re: [fpc-pascal]Win32: converting lptstr to string

2004-04-26 Thread Inpromptu
Hi: I was looking the demo sources, and I found c:\pp\demo\win32\edit.pp VERY interesting. So, i decide to try shBrowseForFolder instead of GetOpenFilename, but I don't know wath I'm doing wrong... This is my humble little program... be nice with the criticims... ! {--begin of p

[fpc-pascal]Linux IDE

2004-04-26 Thread Paul Aviles
according to the doc, there is some IDE that you can start byt using ./fp. No such luck for me. I am using: Free Pascal Compiler version 1.0.10 [2003/06/26] for i386 under FC1 and I also tried installing and running RHIDE to get : error: Failed dependencies: libstdc++-libc6.2-2.so.3 is n

[fpc-pascal]force redraw on hscale

2004-04-26 Thread Marc Santhoff
Hi! I know this seems to be a gtk issue, but I'm using pascal so: Talking of GTK+ 1.2 I'm trying to chnge the background color on a hscale. There seems to be some sort of bug or misunderstanding by me. The actual change in color happens delayed on a hscale I'm using and switching color on. If