GetWindowRect()
Returns a four elements array defining the windows rectangle (left,
top, right, bottom) or undef on errors.
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.
maybe this
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.
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
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
is there any way to make a window 'always on top'?
thanx
mark
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
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 won't
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 the
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
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
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
hi. is there any way of associating a keystroke with something, like alt+s
to bring up a settings window?
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
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
postscript?.maybe?
Guillem
Cunillera To: [EMAIL PROTECTED]
theres a win32::printers module?
Guillem Cunillera Wefers
[EMAIL
is there any way to make a listview column so it can't be resized?
thanx
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
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) {
is there any way to stop a status bar from being able to be resized?
thanx
hi. is there any way of stopping a second window from creating an instance
of itself in the taskbar?
thanx
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.
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
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 fit
i've taken a look at the gui loft but i could never figure how to view the
widget properties..
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 colour
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 = 250,
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
29 matches
Mail list logo