Re: [perl-win32-gui-users] window position

2003-02-03 Thread markd
GetWindowRect() Returns a four elements array defining the windows rectangle (left, top, right, bottom) or undef on errors.

Re: [perl-win32-gui-users] GetOpenFileName Help Request

2002-11-27 Thread markd
use Win32::GUI; my $file = "*.txt\0" . " " x 256; my @files = GUI::GetOpenFileName( -owner => $W, -directory => "C:\\", -title => "Create ASN File - Specify Output File", -file => $file, -multisel => 1, ); print @files; in 0.0.665 if you use multisel => 1 it will bring up an ugly 3.1 style box.

Re: [perl-win32-gui-users] Win32::GUI and Warnings

2002-11-25 Thread markd
i tried it, it works fine. i'm using activeperl 5.6.1.633 on windows 98 and win32::gui 0.0.665. the only problem i see is if you 'use strict' (which you should) you'd need to change $Win2 = new. to my $Win2 otherwise you'll get an error about a global symbol requiring an explicit package name.

[perl-win32-gui-users] error running tests

2002-11-04 Thread markd
hi. i was having problems running a program under 95b on a clients computer so i perlapped up 01_basic.t and ran it on their computer and it got the following error message. Can't load 'auto/Win32/GUI/GUI.dll' for module Win32::GUI: load_fil e:One of the library files needed to run this applicatio

Re: [perl-win32-gui-users] building win32::gui

2002-10-30 Thread markd
i did 'nmake /i' and right after when i got the previous error message i'm told fatal error C1083: Cannot open source file: 'GUI.cpp': No such file or directory i checked win32-gui-0.0.665.tar.gz from dada and sourceforge and neither of the files have gui.cpp in them.

[perl-win32-gui-users] building win32::gui

2002-10-30 Thread markd
another error when building. i've never been able to build win32::gui myself, always had to use the ppm module. i have ms vc++ 6 and when i try and nmake i get this error C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib C: \Perl\lib\ExtUtils/xs ubpp -typemap C:\Perl\lib\ExtUtils\typemap -

[perl-win32-gui-users] always on top

2002-10-28 Thread markd
is there any way to make a window 'always on top'? thanx mark

Re: [perl-win32-gui-users] LWP + Fork + Win32::GUI

2002-10-17 Thread markd
i was under the impression that forking didn't work at all under windows.some problem with svtypes(? ). perl 5.8.0 threads and win32::gui seem to work wonderfully tho.

RE: [perl-win32-gui-users] why not work?

2002-08-07 Thread markd
after some more testing..if i take out the -parent => $Window from the settings window then pressing alt+c (for &Close) will work. also the shortcuts will work if anything (apart from the window) has focus. so when the program starts if i put in $ListView->SetFocus() then when i press alt+s th

RE: [perl-win32-gui-users] why not work?

2002-08-07 Thread markd
the same goes for buttons too. if i have a button with -text => " &Settings", then so long as the listview has focus, when i press alt+s the settings window will pop up. it doesn't work with child windows though. if i have an &Close button in the settings window then no matter what has focus, it wo

RE: [perl-win32-gui-users] why not work?

2002-08-07 Thread markd
its not an accel table its just a gui::makemenu and theres no reference to the listview in it anywhere. i just thought i'd add this considering we were talking about accelerator tables not working. mark

Re: [perl-win32-gui-users] why not work?

2002-08-06 Thread markd
i have a program which is based around a listview that i put a menu in for, but the menu shortcut keys (alt+f for file etc) would only work if the listview had focus. wierd?

Re: [perl-win32-gui-users] sorting a listview

2002-06-27 Thread markd
thanx for all the replies. i think i'll just stick with what i'm using at the moment and see if i can figure out where its going wrong. on a different note, is it possible to put a copyright symbol in the window title? AND i was just going through the samples and i noticed in pmx.pl that the menu

[perl-win32-gui-users] sorting a listview

2002-06-26 Thread markd
hi. i've got alist view with 4 columns, being catalogue number, artist, title and qty (there's 2 other columns but they don't matter) and i've been trying to figure out how to sort the whole listview on a column click. i found a message sometime last year where someone posted something that i kind

[perl-win32-gui-users] fonts and colors

2002-05-28 Thread markd
hi. i have a window with 3 tab strips on it, 1 for incoming ftp, 1 for outgoing and the other i don't use yet. both incoming and outgoing ftp and be stopped. what i'd like to do is that when someone stops incoming or outgoing ftp the tabstrip text changes to red, or something. i've tried using -for

[perl-win32-gui-users] system tray, notifyicon and stuff

2002-05-27 Thread markd
hi. i've added a notify icon to sit in the system tray when a window is minimised. what i'd like to try and do is make the whatever-it-is-you-call-it disappear from the task bar. i figured it would probably have something to do with window styles, if anything, but i can't find anything about it in

[perl-win32-gui-users] listview columns

2002-05-23 Thread markd
hi. i'm doing a program at the moment that needs to log its output to something and i've chosen a listview because it seems to work best with that. however, the column header up the top doesn't really suit what i'm trying to achieve. i've tried doing -style => LVS_NOCOLUMNHEADER and the same with -

[perl-win32-gui-users] accelerators

2002-05-20 Thread markd
hi. more about accelerators. i posted a question about them on the perlmonks site and the response was that accelerators actually worked in a previous version of win32::gui but they were broken later. can anyone verify this and if so does anyone have a copy of the version that it works in? thanx

[perl-win32-gui-users] terminate

2002-05-20 Thread markd
i'm having a problem with a little popup window. if i click on the x the close the window and then click on settings to open it again, it doesn't show. however if i click on save and exit, when i click on settings it will show itself. code below... sub Settings_Click { &GetSettings; $Win

[perl-win32-gui-users] keystrokes

2002-05-16 Thread markd
hi. is there any way of associating a keystroke with something, like alt+s to bring up a settings window?

[perl-win32-gui-users] scrollbars

2002-05-13 Thread markd
hi. i have a listview with 2 columns that i'd really like to be relatively hidden cos it contains data that the user doesn't need to see. considering there doesn't seem to be a away to turn resizing the columns off, is there a way of stopping the vertical scrollbar. it comes up automatically but i

[perl-win32-gui-users] listview columns

2002-05-07 Thread markd
hi. is there any way to stop a column from being resized? or alternatively is there something like a column_resize event or something like that? thanx in advance

RE: [perl-win32-gui-users] Dc to the printer

2002-04-29 Thread markd
postscript?.maybe? "Guillem Cunillera To: <[EMAIL PROTECTED]>

RE: [perl-win32-gui-users] Dc to the printer

2002-04-28 Thread markd
theres a win32::printers module? "Guillem Cunillera Wefers" <[EMAIL

Re: [perl-win32-gui-users] Tabbing between controls

2002-04-25 Thread markd
sorry. make that it only works with a window, not a dialog. "John Crawford"

Re: [perl-win32-gui-users] Tabbing between controls

2002-04-25 Thread markd
-tabstop => 1. pretty sure it only works with a gui::dialog. "John Crawford"

[perl-win32-gui-users] listview columns

2002-04-23 Thread markd
is there any way to make a listview column so it can't be resized? thanx

[perl-win32-gui-users] listview checkboxes

2002-04-22 Thread markd
is there any way of changin the state of a checkbox in a listview without actually clicking the checkbox. at the moment i'm currently looking at something like my($item) = @_; my %info = $ListView->ItemInfo($item, 4); $state = $info{-text}; print $state, "\n"; if ($state = "X") {

RE: [perl-win32-gui-users] status bar

2002-04-22 Thread markd
wonderful. the second one worked. "Piske, Harald" <[EMAIL PROTECTED]To: "'[EMAIL

RE: [perl-win32-gui-users] status bar

2002-04-22 Thread markd
i don't think thats what i'm trying to do. i'll explain. i have a window that 800x574 (cuts off just above the taskbar). i've disabled the maximise button and the window isn't resizable. i decided to put a status bar down the bottom cos otherwise it just looked really ugly but i can resize the wind

[perl-win32-gui-users] status bar

2002-04-21 Thread markd
is there any way to stop a status bar from being able to be resized? thanx

[perl-win32-gui-users] iteminfo

2002-04-11 Thread markd
is there any way for $ListView->ItemInfo to just print out the text rather than state and image as well. i have tried various things but nothing seems to work. thanx

[perl-win32-gui-users] terminating popup window

2002-04-10 Thread markd
hi. i've got a weird problem with my popup window. if i close it by clicking on the x the window closes fine but if i click on the button to open it again, it won't open. however if i click on save and exit in the popup window, when i click on the button the open the window again it works fine. any

[perl-win32-gui-users] popup window

2002-04-10 Thread markd
hi. is there any way of stopping a second window from creating an instance of itself in the taskbar? thanx

[perl-win32-gui-users] textfields and combobox's

2002-04-08 Thread markd
hi. how can get the value of whatevers in a textfield? and is there a way to insert an entry into a combobox so it will display it in the first line. i'm opening up a settings window and it reads the previously saved settings from a file, one of which is their dun connection and i'd like that to be

RE: [perl-win32-gui-users] sticky widgets (was: problems with com bobox)

2002-04-07 Thread markd
i've taken a look at the gui loft but i could never figure how to view the widget properties..

Re: [perl-win32-gui-users] problems with combobox

2002-04-07 Thread markd
>> and (i think this is the last one) is it possible to make the widgets >>sticky >> like in tk? >dunno what it means... sticky mainly refers to which sides the widgets should "stick" to when resized. so if i have a listview which is -sticky => 'ew' then when it gets resized it should stretch to

[perl-win32-gui-users] problems with combobox

2002-04-04 Thread markd
hi. ive' got a combox in a settings window that displays dun entries. i've done it like this sub Settings_Click { &settings } sub settings { $Window2 = new GUI::Window( -name => "Window2", -text => "Settings", -width =

[perl-win32-gui-users] listview sorting and stuff

2002-04-04 Thread markd
hi i need lots of help. i'm fairly new to perl and i only compiled win32::gui yesterday. i have a listview that i'd like to sort. i've tried things like my($stuff) = @_; sort $a <=> $b, $stuff; and variations on that theme but nothing seems to work at all. also, is it possible to change the colou

[perl-win32-gui-users] lpt1

2002-03-10 Thread markd
hi. i'm compiling win32::gui 0.0.665 on win98se using dmake, perl 5.6.1.631 and vc++ 6, and when it gets to the point of linking everything its starts printing the whole link command over and over again. any1 encountered this at all? thanx in advance

[perl-win32-gui-users] installing win32::gui

2002-03-05 Thread markd
ok. i got past my last problem but now i've hit another. i ended up using dmake, which kept on crashing but i got it to compile after turning my computer off a few times. now when i go to do dmake install it comes up with this error DMAKE.EXE: makefile: line 365: Warning -- Empty recipe for spe

[perl-win32-gui-users] installing win32::gui

2002-03-03 Thread markd
hi. i'm having a little bit of a problem compiling win32::gui. i'm running activeperl 5.6.1.631 in win98se and using msvc++ 6. funny thing, when i perl makefile.pl it does it fine but it brings up this: perl Makefile.PL USERESOURCE=0 Usage: xsubpp [-v] [-C++] [-except] [-prototypes] [-novers