[perl-win32-gui-users] RE: Systray application

2002-11-08 Thread Anufriyenko,Igor,SOLON,ITSS
I should have looked into NIcon documentation before asking about RightCLick. However, here is interesting behavior: sub NI_RightClick { system("start /max http://localhost";); #activated only when exiting PL script my $command = qx 'net send anufrii Right Click'; #works immediat

[perl-win32-gui-users] Systray application

2002-11-08 Thread Anufriyenko,Igor,SOLON,ITSS
Hello All, Is there a way to add a context menu to the Notify Icon? I have a mini application which should have system tray icon and instead of maximizing main window, I would rather get a context menu for it. Also, does Notify Icon recognize Right Click event?

Re: [perl-win32-gui-users] Richedit selected text

2002-11-08 Thread Kevin . ADM-Gibbs
Joe, Something like my ($x, $y) = $RE->Selection(); should do it. $x and $y will be the character positions of the selection, the whole text in the richedit being treated as a single long string. If you want to find out line numbers you can use my $line1=$RE->LineFromChar(