Re: [perl-win32-gui-users] AutoScrolling a RichEdit?

2001-04-30 Thread Johan Lindstrom
Morbus wrote: Neat idea, but now, instead of seeing the last $message being passed as the first line of the RichEdit (scrolled to that first line), I see a blank screen - the autoscroll goes past my last line... Course, changing the \n around fixes that (with the side effect of a blank first li

RE: [perl-win32-gui-users] AutoScrolling a RichEdit?

2001-04-30 Thread Piske, Harald
| Neat idea, but now, instead of seeing the last $message being | passed as the first line of the RichEdit (scrolled to that first line), I | see a blank screen - the autoscroll goes past my last line... Course, | changing the \n around fixes that (with the side effect of a blank first | line),

Re: [perl-win32-gui-users] AutoScrolling a RichEdit?

2001-04-30 Thread Morbus Iff
#Select the last thing in the RichEdit $rePOD->Select(99,99); #Replace the selection with new text $rePOD->ReplaceSel("$line\n",1); Neat idea, but now, instead of seeing the last $message being passed as the first line of the RichEdit (scrolled to that first line), I see a blank scree

Re: [perl-win32-gui-users] AutoScrolling a RichEdit?

2001-04-30 Thread Johan Lindstrom
Morbus Iff wrote: # add the string to our box. $logbox->Text($logbox->Text . "\r\n $message"); Instead of replacing the entire text with the entire text + something new, add the new text to the bottom of the existing text: #Select the last thing in the RichEdit $rePOD->Select(99,999

[perl-win32-gui-users] AutoScrolling a RichEdit?

2001-04-30 Thread Morbus Iff
I'm having difficulty trying to get an autoscrolling RichEdit - I can get the scroll bar to show up correctly, but all attempts to have the text automatically scroll up in the RichEdit is failing. In some cases, no scrolling occurs (although I can see the scroll bar growing), and in others, scr

[perl-win32-gui-users] Win32::Setupsup on 5.6

2001-04-30 Thread Thomas, Timothy B
Has anyone been able to get Setupsup to work on Perl 5.6. I can't get it loaded via PPM and I tried to download the thing and do the makefile.pl, nmake processes, but that didn't work at all. Does anyone know where it can be installed from? Thanks, Tim

Re: [perl-win32-gui-users] Modal dialog box - how?

2001-04-30 Thread Johan Lindstrom
Harald wrote: | If anyone knows how to get a Window to not be | displayed in the taskbar, please let me know. There is in fact a -parent => option coded in the XS function Yes, Harald "Win32::GUI trivia" Piske did it again :) Createing a window with a -parent => $winParent will display the wi

[perl-win32-gui-users] ChooseFont - can't get it to work

2001-04-30 Thread Johan Lindstrom
Does the Win32::GUI::ChooseFont() work? The -name is pretty straightforward, but I don't understand what I should do with the -size I get back. If I use it to set a font size in a RichEdit, the type is smaller than what I selected. The -size passed to the sub doesn't seem to affect the presel

[perl-win32-gui-users] Icon in Button - can't get it to work

2001-04-30 Thread Johan Lindstrom
Anyone have a working code example of a simple Button with an Icon image in it? I managed to use a Bitmap image in the Button, but the "background" grey color in the image got miscolored (i.e. not quite the button grey, but a touch darker). So I thought I'd try with an Icon instead, and use a