[perl-win32-gui-users] GetOpenFileName and directories

2003-03-04 Thread Darrik Mazey
does anyone know if there's an option to make the common file open dialog select directories instead of files? any help is appreciated :) darrik

RE: [perl-win32-gui-users] GetOpenFileName and directories

2003-03-05 Thread Darrik Mazey
yeah, this is just what i wanted. thank you both for your help. i was going by the docs on aldo calpini's site (an older version than the one on CPAN). much appreciated! darrik >> >> >does anyone know if there's an option to make the common file >> open dialog >> >select directories instead of

[perl-win32-gui-users] setting focus to a control

2003-04-12 Thread Darrik Mazey
i moved the call to Textfield->SetFocus() and it worked, although i'm not entirely sure why. any which way... nevermind my previous question. darrik >>i've been reading over the docs and looking through the files, but i can't seem to find a way to set focus to a control in >>a window. all i'm

RE: [perl-win32-gui-users] Tabbing and Accelerator problems

2003-04-14 Thread Darrik Mazey
i may be wrong, but it was my understanding that tabbing, enter (the "default" key) and esc (the "cancel" key) only work in dialog boxes and not windows. if you're trying to use these in windows, it won't work (and again i defer to anyone with more knowledge saying otherwise). in a dialog box, ta

[perl-win32-gui-users] while we're on the subject of tabbing / bugs / suggestions (were we?)...

2003-04-14 Thread Darrik Mazey
as a side note, while we're on the subject of tabbing, a -tabindex option would be a nice accompaniment to the -tabstop option, to allow tabbing "out of order," so to speak. just a thought. darrik

FW: [perl-win32-gui-users] Microsoft Access database connection string

2003-05-02 Thread Darrik Mazey
-Original Message- From: Darrik Mazey [mailto:[EMAIL PROTECTED] Sent: Friday, May 02, 2003 6:09 PM To: Eric Hansen Subject: RE: [perl-win32-gui-users] Microsoft Access database connection string this is a snippet from code that i wrote recently using DBI and DBD::ODBC and

RE: [perl-win32-gui-users] Can i have some examples?

2003-05-07 Thread Darrik Mazey
this is what i did... hope it helps... (hardly a shining example, although a working one) first create the menu, passing it a hash of display strings and menu item names, using ">" to specify a sub-menu item then pass the menu object to the Win32::GUI::Window->new() sub using the -menu key. da

RE: [perl-win32-gui-users] dynamic menu accelerators (was: How to define generic handler for buttons)

2003-05-16 Thread Darrik Mazey
just a thought, but couldn't you make your menus something like this? $serverNum=0; @serverList=qw(ServerA ServerB ServerC); push(@menuOpts,"&Server","menuServer"); foreach $serverName (@serverList) { push(@menuOpts,"> &$serverNum $serverName","menu$serverName"); eval("sub menu$

RE: [perl-win32-gui-users] select all items in ListView

2003-05-16 Thread Darrik Mazey
try this: foreach (0..$count) { $MainWin->ListView->ItemCheck($_,1); } :) darrik >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Behalf Of >> [EMAIL PROTECTED] >> Sent: Friday, May 16, 2003 2:46 PM >> To: perl-win32-gui-users@lists.sourceforge.net

RE: [perl-win32-gui-users] Docs (List of missing desired widgets)

2003-06-17 Thread Darrik Mazey
i think a wiki would be great. there seems to be a fountain of useful information flowing constantly on this list. i know it has helped me immensely since i've been using win32::gui. however, there's something decidedly awkward about searching the users list archives on sourceforge. it would be

RE: [perl-win32-gui-users] modal windows

2003-06-17 Thread Darrik Mazey
i did some playing with modal windows with more than one window open prior to the modal. it seems you can pretty easily implement this (sans weirdness) just by keeping track of open windows and looping through them all to disable them during the OpenModal call. the only other issue seems to be ke

Re: [perl-win32-gui-users] Service with Trayicon and Popup-menu

2007-06-20 Thread darrik mazey
ot of functionality. ~Darrik Mazey > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Geoffrey Spear > Sent: Wednesday, June 20, 2007 8:40 AM > To: [EMAIL PROTECTED] > Cc: perl-win32-gui-users@lists.sourceforge.net > Subje