Joe wrote:
No go.. Got the "Cant Locate object method Change in package
Win32::GUI::NotifyIcon . Any more thoughts?
When Win32::GUI doesn't do what you want, you do what you want with Win32::API.
Look at "Shell_NotifyIcon" and "NOTIFYICONDATA" in the Win32 API Reference.
I posted a few
No go.. Got the "Cant Locate object method Change in package
Win32::GUI::NotifyIcon . Any more thoughts?
> -Original Message-
> From: Piske, Harald [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 13, 2001 12:58
> To: 'perl-win32-gui-users@lists.sourceforge.net'
> Subject: RE: [pe
I did not try this, but when setting a hash value doesn't work with a GUI
object, Aldo sometimes tells us to use the Change method instead. I.e.
$Window->NI->Change(-tip => "Show PCKeys");
instead of
$Window->NI->{-tip} = "Show PCKeys";
Worth trying.
Have fun,
Harald
> -O
Jonathan,
You're right, removing -hotrack => 1 gives exactly what I want. You'd
think I might have noticed that option and wondered what it did. I must be
too used to using GB to design the forms and not be paying any attention to
what all the things are its doing for me.
Thanks very much for t
Kevin,
I just tried something on my program and it seemed to work just fine.
My guess is you have -hotrack => 1 in your defined ListView object. try
taking that out and see if you get the results you want.
Jonathan
--
Jonathan Southwick
Jonathan,
The particular app that this is for will use the ListView to display files.
I was hoping to allow a single click to select a file, further single
clicks to select multiple files and a double click to perform an action on
the files that had been selected. This would mean over riding the
Below is part of some code. I want to be able to change the Notify Icon
tip based on the status of the main window:
If window is visible, tip should be "Hide PCKeys", if not visible, tip
should be "Show PCKeys". Can this be done? I have tried several
different things and nothing has worked. I
Kevin,
I'm not sure I understand what you are trying to do. Do you perform any
actions on the item when an ItemClick (single) is performed or is the
action on the item carried out with a DblClick event?
I have written a program that works like Windows "Find Files or Folders"
but finds user
Jonathan,
I didn't even notice you'd put Windows 200 until you sent the second email.
Its a shame about the ItemClick event for ListViews, I'd hope to use
ItemClick for selecting and then the double click for doing something with
the selected items. Guess I'll just have to use double click for s
Carol,
In the KeyPress sub for the richedit you need to check if enter (ascii 13)
has been pressed. Something like
sub RichEdit_KeyPress {
my($key) = @_;
if ($key == 13) then {
# Enter key pressed
} else {
# some other key
}
}
10 matches
Mail list logo