[perl-win32-gui-users] Newbie Qs about Layout and Coordinates

2005-12-06 Thread Veli-Pekka Tätilä
Hi, My first post here, so here's a brief intro. I'm rather new to Win32::GUI but have built simple GUIs in Java's Swing. I've also programmed the raw WIn32 API a bit in C but am not terribly familiar with laying out text in a dialog, having done that in VC's dialog editor when-ever I can. I sh

RE: [perl-win32-gui-users] Newbie Qs about Layout and Coordinates

2005-12-06 Thread Plum, Jason
Hello and welcome to the list :), While I have not gone in to seek out the GetDialogBaseUnits I do know that most of the units we work with in Win32::GUI are pixels, and moreover that between dialog buttons/checkboxes it is not *required*, but I would suggest 1-2px minimum for clarity. Anything

RE: [perl-win32-gui-users] Newbie Qs about Layout and Coordinates

2005-12-06 Thread Johan Lindstr�m
At 15:56 2005-12-06, Plum, Jason wrote: I'll admit I haven't used the GUI Loft in some time, and never when I have used it did I take the opportunity to check for tab/alt-tab navigation. When you build things in The GUI Loft the Tabstop property is enabled for all appropriate controls (i.e. a

Re: [perl-win32-gui-users] Newbie Qs about Layout and Coordinates

2005-12-06 Thread Octavian Rasnita
> As a special note: be sure to set the tab order when creating the contents of your dialog considering its potential uses. > I am sure others will be able to help you further, so I will put myself back to work (wish I spent more time coding @ work) Also, it would be helpful for the screen readers

[perl-win32-gui-users] Various windows versions: determining at runtime for type compatibility

2005-12-06 Thread Plum, Jason
Hey everyone: A while ago, Rob and I were in a discussion about how to allow a single compiled ppm of Win32-GUI to manage to work with all the available features to a particular OS, dependant on the platform at runtime. There is definitely a severe trick here in that for the most part, the deci

RE: [perl-win32-gui-users] Various windows versions: determining at runtime for type compatibility

2005-12-06 Thread Jeremy White
A while ago, Rob and I were in a discussion about how to allow a single compiled ppm of Win32-GUI to manage to work with all the available features to a particular OS, dependant on the platform at runtime. There is definitely a severe trick here in that for the most part, the decision of which OS'

Re: [perl-win32-gui-users] Newbie Qs about Layout and Coordinates

2005-12-06 Thread Veli-Pekka Tätilä
Plum, Jason wrote: While I have not gone in to seek out the GetDialogBaseUnits I do know that most of the units we work with in Win32::GUI are pixels, Ah that helps. I guess nearly all window locations, apart from top-level windows, are given in client coordinates. That is relative to the upper

Re: [perl-win32-gui-users] Newbie Qs about Layout and Coordinates

2005-12-06 Thread Veli-Pekka Tätilä
Johan Lindström wrote: When you build things in The GUI Loft the Tabstop property is enabled for all appropriate controls (i.e. a Button, but not a Label) by default. That makes a lot of sense. I suggested back in comp.lang.perl.misc that it would be useful to add this ability to the Win32::GUI

Re: [perl-win32-gui-users] Newbie Qs about Layout and Coordinates

2005-12-06 Thread Johan Lindstr�m
At 20:39 2005-12-06, Veli-Pekka Tätilä wrote: of the resizer code provided within the Loft/XMLBuilder or the Win32::GUI::Resizer module. Oh ok. can I get the resizer using PPM directly? The Active State repositories seem not to have it. It's part of the TGL distro (source or binary): http://

[perl-win32-gui-users] Re: Various windows versions: determining at runtime for type compatibility

2005-12-06 Thread Robert May
Jeremy White wrote: A while ago, Rob and I were in a discussion about how to allow a single compiled ppm of Win32-GUI to manage to work with all the available features to a particular OS, dependant on the platform at runtime. There is definitely a severe trick here in that for the most part, the

Re: [win32gui] Re: [perl-win32-gui-users] Newbie Qs about Layout and Coordinates

2005-12-06 Thread Robert May
Octavian Rasnita wrote: Also, it would be helpful for the screen readers users if you would use: $Window->{dialogui} = 1; Please try to avoid accessing the object hash directly, it's bad practice. The ability to do this may well change in the future. Either set the value when you create th

Re: [win32gui] [perl-win32-gui-users] Newbie Qs about Layout and Coordinates

2005-12-06 Thread Robert May
Hi, Nice to see you here after our exchange in comp.lang.perl.misc. Veli-Pekka Tätilä wrote: By the way, my Win32::GUI version installed with PPM appears to be 1.02 (looking inside the PM file). 1.03 is available for download from SourceForge and is now in ActiveState repository for perl

Re: [win32gui] [perl-win32-gui-users] Am I doing too much work

2005-12-06 Thread Robert May
Andy Pastuszak wrote: I am trying to create a simple input box. I created a window, added a text area and an Ok and Cancel button. So you're most of the way there. In my vbScript days I would simply use the InputBox function and it did all the work for me. This isn't VB! Is there some

Re: [win32gui] [perl-win32-gui-users] Am I doing too much work

2005-12-06 Thread Andy Pastuszak
Every day that I use Perl, I am insanely greatful it is not vbScript. It seems anything I do in vbScript, I can do in half the lines of code in perl! Thanks for the InputBox code. It will come in quite handy. Andy On 12/6/05, Robert May <[EMAIL PROTECTED]> wrote: > > Andy Pastuszak wrote: > >