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

2009-05-22 Thread Jason Plum
May I be lucky enough to pick my ass up and put it back onto my chair, then also say thanks for the well documented and detailed example! I myself have toyed with OpenGL via perl before, but have never thought of combining it with Win32::GUI myself. Seeing as I'm a maintainer for a game, and some

Re: [perl-win32-gui-users] XP styles support -- when?

2009-04-21 Thread Jason Plum
If you a search the lest you should find reference to the small file that needs to be added so that the programs via perl will all use default XP styles, search for "XP" and "manifest" 2009/4/21 Ilya BANDORIN > Hello to everybody! > > > > I'm just interested if dear developers have any plans to

Re: [perl-win32-gui-users] flickering static-DC

2009-03-10 Thread Jason Plum
Unfortunately, the standalone runtimes are 75% of that package, no matter which packager you use. Even though they really just zip up the files and then temporarily extract them and spit them through the runtime, you can only pack the xs so far. If someone packed perl into a .net clr it would work

Re: [perl-win32-gui-users] flickering static-DC

2009-03-09 Thread Jason Plum
Hello Raphael, I unfortunately do not have a breadth of experience with the DC object as some on this list, but having seen this I can at least offer some tid-bit of possible use. I would say that the one means I can come to think of is ignoring repaint wherein there is no cause to redraw this part

Re: [perl-win32-gui-users] Is Win32::GUI::NotifyIcon thread safe?

2009-02-20 Thread Jason Plum
> > Sat, 17 Jan 2009 12:11:56 -0800 > Hi all, I'm working on a program that, when launched, displays an icon (a Win32::GUI::NotifyIcon object) in the Windows taskbar notification area-often referred to as the "system tray". When one of the buttons on my GUI is clicked, a separate "worker" thre

Re: [perl-win32-gui-users] How to call menu item click event handlersas methods rather than classes?

2007-10-30 Thread Jason Plum
Here is the problem: You are using OEM methodology inside a package. OEM was designed to operate in the MAIN namespace. Switch to the NEM and you should be right as rain. (e.g. inside of new for the menu use -onClick => &menu_click ) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

Re: [perl-win32-gui-users] Listview mental block

2007-09-19 Thread Jason Plum
Hi Brian, 1) Selection will contain -1 when there are no selections, I believe (this is from memory and from 1.02/1.03 so, check) 2) With all those mentions of fleece, are writing financial software? 3) ItemClick indeed would likely be the better choice over this 4) I

Re: [perl-win32-gui-users] How to print text in COLOR in Textfield

2007-08-22 Thread Jason Plum
To do this you will not be able to make use of the standard multi-line text field. If you wanted all messages in the field to be of one color this would be fine, however, to have multiple colors in the field you will need to make use of the RichEdit control. Beware of dependancies on older systems

Re: [perl-win32-gui-users] Why is my GUI hanging?

2007-07-26 Thread Jason Plum
This is not a GUI issue per se, as it is the fact that your routine runs synchronous, in the main thread of the application. To remove this lag (and the delayed drawing of the window) you will need to do some looking through the mail archives and find how to write this into a separate thread. ---

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

2007-06-20 Thread Jason Plum
Also, there may be no need to go the IPC/separation route if the service itself does not actually do much processing... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of darrik mazey Sent: Wednesday, June 20, 2007 9:43 AM To: perl-win32-gui-users@lists.sour

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

2007-06-20 Thread Jason Plum
Geoffrey, j., The problem is not that the program is running as a service, but that the Win32::GUI::Dialog() function *DOES NOT RETURN* until told to do so... Minor problem for a service :). Geoff, you are right about Win32::GUI::DoEvents()! DoEvents() runs a single cycle of messages off the win

Re: [perl-win32-gui-users] help on win32::guitest

2007-06-07 Thread Jason Plum
Sure thing! Look into the Win32::GUI::SendMessage() routines :-) Ok, so you will have to find that window's button's id. but its doable :) Jason _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jishnupraveen gira Sent: Wednesday, June 06, 2007 4:45 PM To: per

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

2007-06-04 Thread Jason Plum
Brian I've got an app with LOTS of tabs and controls. But, per your description, you would not be exactly able to use the cluster management of the Loft. You'll need to show/hide the individual controls based on the tab's switch event. I can't unfortunately spend the time right now to provi

Re: [perl-win32-gui-users] Toolbar bitmaps

2007-05-09 Thread Jason Plum
I have often used the Win32::GUI::Icon lib to load my images for my buttons. Also, and this may have only been a typo, but did you mean IDBITMAP and not IDBITAMP in the LoadImages call? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mikemc Sent: Wednesd

Re: [perl-win32-gui-users] Rich text field

2007-04-23 Thread Jason Plum
Nice! Thanks for the tip on the function, and the message parameters :) I'm sure some of us will be needing this in the future. Sean Healy wrote: I have already tried it, but I cannot store more than 32 KB of text in a Richedit field (using Win32::GUI::Richedit). Those 32 kb of text takes arou

Re: [perl-win32-gui-users] calling perl scripts from win32 api menu

2007-03-13 Thread Jason Plum
Simple and easy to create out of process, look at Win32::Process and using the Win32::GUI library to get the handle to the desktop "window". I use this in a PerlSvc (activestate Perl Dev Kit) to spawn my automated system metrics recording and virus/spyware scans. Any event can trigger the calli

Re: [perl-win32-gui-users] Writing ActiveX modules in perl?

2007-01-08 Thread Jason Plum
With the ActiveState Perl Dev Kit, yes, it is possible to make stanadlone ActiveX objects for other programs uses :) Jason P Steve Loughran wrote: Slightly off-topic, but is it possible to write standalone (dll or ocx) ActiveX modules in win32 perl? (And I dont mean show them in perl using AX

Re: [perl-win32-gui-users] Launching a detached child process fromWin32 app

2006-12-29 Thread Jason Plum
Glenn Linderman wrote: On approximately 12/28/2006 9:07 AM, came the following characters from the keyboard of Jason Plum: Thanks Glenn, There is definately a way to do it with Process, and its ugly compared to this. (not to mention you have to dig deep into the real APIP to find the option

Re: [perl-win32-gui-users] Launching a detached child process fromWin32 app

2006-12-28 Thread Jason Plum
Simply state that the desktop owns it! --code-- use strict; use warnings; use Win32::GUI; my $ret = Win32::GUI::ShellExecute(Win32::GUI::GetDesktopWindow(),'open','notepad.exe','readme.txt','',1); Scott Spearman wrote: I don't know if it's in Win32 or ActiveStates Perl, but the traditional

Re: [perl-win32-gui-users] Noob question on looping through records

2006-12-15 Thread Jason Plum
OOPS! This is not a Win32::GUI issue, its a pure perl issue! my $TotalInputFileLines = scalar(@InputFileLines); Heh, I do that sometimes myself.. Jason Plum JoeManFoo wrote: Hi all, Have a dumb question/issue. I've coded up my GUI and am trying to do a simple thing of looping t

Re: [perl-win32-gui-users] Bitmap image in the statusbar?

2006-12-15 Thread Jason Plum
You could always write a custom extension to allow for the use of a bitmap in the status bar. You would have to do a lot of the back end coding (drawing msgs etc) but hey, ANYTHING is technically possible ;) ;) Jason Plum Frazier, Joe Jr wrote: Not sure about bitmaps, but you can use the

Re: [perl-win32-gui-users] Win32: :GUI: :ThreadUtils integration in Win32: :GUI?

2006-12-08 Thread Jason Plum
bles (threads::shared, read the docs and ull get an unerstanding, and I am ass-u-me-ing that you have read the perl thread tut) Hope this helps, Jason Plum Head of IT R&D DAJ Strategic Solutions Steve Loughran wrote: Hi Jason All the hash data I would want to use is created once when I loa

Re: [perl-win32-gui-users] Win32: :GUI: :ThreadUtils integration in Win32: :GUI?

2006-12-08 Thread Jason Plum
Steve, From WIK, thread->boss memory spaces are isolated by the perl interpreter's own threads. (aside from thread::shared modifications) Generally I do not use a hash to pass back and forth because of its data structure (pointers out the butt) and difficulty of placing locks on the data to p

Re: [perl-win32-gui-users] Drag and Drop nodes in a treeview

2006-12-04 Thread Jason Plum
*cough* Check the archives, I have posted code there for exactly this. ggc wrote: Is there any working code for dragging and dropping nodes between different branches in the tree??

Re: [perl-win32-gui-users] Is there any book or a complete tutorial for Win32: :GUI ????

2006-12-01 Thread Jason Plum
Hi, And don't be afraid to ask the newbie questions about what you might be doing wrong, or what is the best way to do something (in our opinions as in perl, TIMTOW). Combined between project developers and the users on this list, you will likely find an answer to any questions you have. Ther

Re: [perl-win32-gui-users] [win32-gui] SetLayeredWindowAttributes ?

2006-11-21 Thread Jason Plum
They will fail < 2000, it wasn't available until 2000 Steve Loughran wrote: oh, these only work on windows 2000 and above. I havent tested them on anything before that (my VMWare install is on the box i`m rebuilding), but I`m guessing the WIN32::API import call will fail on < win2000 Steve S