From: Gross, S. <sg...@lo...> - 2001-08-13 23:48:05
|
In my application, clicking on a row in a listview displays information in another window. I have a separate button that clears the display window. However, I noticed that if I click on the same row again, the display is not reset. What happens is that the listview does not detect multiple clicks on the same row; it gets "fatigued". Is there a way to reset this behavior? _______________________________________________________ Stephan Gross Loral Skynet 908-470-2388 sg...@lo... <mailto:sg...@lo...> |
From: <pko...@me...> - 2001-08-15 08:50:44
|
Hello, I have written an application with Win32::GUI which connects to Microsoft Outlook using Win32::OLE. It gets the mails from the inbox and displays them. All works fine if Outlook is open, bevor my script connects to Outlook. But there is a problem, if Outlook is not open: The sub which retrieves the mails won't return until Outlook ist killed with the task manager because it freezes. This problem is only when Win32::OLE is used in connection with Win32::GUI. When I try the same without GUI all is fine. Has anyone an idea? Peter |
From: Jeremy B. <sco...@ya...> - 2001-08-15 17:56:22
|
Try using the CDO.dll. It provides pretty much the same interface to Exchange e-mail as Outlook does, but it doesn't require Outlook to be running. If you have ActivePerl installed you can look at the Win32 OLE Browser and it will list the available methods & options. You'll probably want to keep MSDN or TechNet handy, as their are certain snafus that CDO has. Jeremy Blonde --- Peter_Köller <pko...@me...> wrote: > Hello, > > I have written an application with Win32::GUI which > connects to Microsoft > Outlook using Win32::OLE. It gets the mails from the > inbox and displays > them. > > All works fine if Outlook is open, bevor my script > connects to Outlook. > > But there is a problem, if Outlook is not open: The > sub which retrieves the > mails won't return until Outlook ist killed with the > task manager because it > freezes. > > This problem is only when Win32::OLE is used in > connection with Win32::GUI. > When I try the same without GUI all is fine. > > Has anyone an idea? > > Peter > > > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ |
From: <pko...@me...> - 2001-08-18 10:14:47
|
Hello! When using Win32::OLE and a Win32::GUI RichEdit, I get an "Can't locate auto/....al" error. I have searched through the mailing list and found the following: ------ Kev...@al... wrote: > Has anyone tried using the GUI module with imported > OLE contants? I'm finding that if I try to use > something like > > use Win32::GUI; > use Win32::OLE::Const ('Microsoft Excel'); > > some of my controls aren't defined. I've only noticed > it with RichEdit fields but it may affect other things > as well. there was a discussion about this on Perl-Win32-Users some times ago; you can search for 'RichEdit' in the mailing list archives. one workaround is to load the OLE constants in an hash rather than in the main namespace, something like: use Win32::OLE::Const; my $EX = Win32::OLE::Const->Load('Microsoft Excel'); print $EX->{xlMarkerStyleDot}; --- This did work for me sometimes, but don't work anymore. I then declared my OLE constants by myself like $constant = 34, etc... I removed all Win32::OLE::Const lines and that worked for a few times. I reviewd my program, restructered some lines and that don't work anymore, too!!! Even if try something like my $riched = $win->AddRichEdit(-name => 'riched'...) and use $riched->Text() instead if $win->riched->Text(); Please help, Peter |
From: <pko...@me...> - 2001-08-17 18:10:26
|
Hello, perhaps there are other people interested in disabling and later enabling Toolbar Buttons. Now I have found a solution: Send with SendMessage the message TB_ENABLEBUTTON (0x0401) and 0 or 1 Example: # TB_ENABLEBUTTON, button number (the same that will be passed to the _Click event), 0/1 $win->tbToolbar->SendMessage(0x0401, 1, 0) I am still looking for making a toolbar with hot and cold images. Any suggestions? Have fun, Peter |