How can you set the datetime control to only allow user to pick a valid
date from graphic calendar.
As it is, the user has a choice to enter their own date or pick a date.
I know the DateTime control
is not a combobox or else I could add property -style = WS_VISIBLE | 3
| WS_VSCROLL |
How come this will work:
sub _Systray_Click {
$window-Enable;
$window-Show;
}
but this won't:
sub _Systray_DblClick {
$window-Enable;
$window-Show;
}
I'd like to follow Win32 standards by only maximizing the window when
a double click has been passed, but I'm not
At 22:23 2002-10-17 +0200, Johan Lindstrom wrote:
Using 0.0.558, I call Win32::GUI::DoEvents() manually from a main loop . I
have a popup-menu on a NotifyIcon, nothing else.
This is the weird thing. When I select something in the menu, the event
handler gets called twice.
Ok. The same thing
Aaaarggg!!! I started poking around in GUI.xs, looking for a solution to my
double event problem, and found the mother of all undocumented features:
True modal dialog boxes in Win32::GUI. Well very close anyway...
I _always_ thought this wasn't possible. Heck, I even wrote
Per the docs, DblClick event is not available on the NotifyIcon. However, you
can:
sub NI_MouseEvent
{
my $a = shift;
my %events = (
512 = 'Mouse Move',
514 = 'Left Click',
515 = 'Left DoubleClick',
517 = 'Right
At 19:11 2002-10-20 -0400, Morbus Iff wrote:
- the window stays minimized - how do I spring it
open to a Maximized state? I use both -Enable
and -Show, but still it's minimized.
If I understand your problem correctly:
Show([COMMAND])
Shows a window (or change its showing state
Per the docs, DblClick event is not available on the NotifyIcon. However,
you can: sub NI_MouseEvent with a NotifyIcon named NI and catch them
all yourself. However, click events will be fired twice before the
doubleclick
This worked perfectly, thanks!
--
Morbus Iff ( i'm the droid you're
This is the last gui bug I've got on my list:
- I've got a single window.
- It's got a RichEdit and a Bitmap.
- When someone mouses into the RichEdit, the cursor changes to i-beam.
- When someone moves OUT of the RichEdit, the cursor REMAINS an i-beam.
- When someone mouses to the scrollbar
At 22:21 2002-10-21 +0200, Johan Lindstrom wrote:
Using 0.0.558, I call Win32::GUI::DoEvents() manually from a main loop .
I have a popup-menu on a NotifyIcon, nothing else.
This is the weird thing. When I select something in the menu, the event
handler gets called twice.
Ok. The same thing
Johan,
I tested your script with 0.0.665 on Win2k,
Works as you describe, shame about the jumping though.
I used to call Dialog this way, (ignorant of modal I admit) then I read
methods.html in the docs which states,
note that this function must be called without ANY parameter or
In version .665 it seems that when I change my tabstrip to use
the -buttons property the events change.
Here is what I'm doing:
sub ::tsMain_Changing
{
print changing;
print $win-tsMain-SelectedItem();
}
sub ::tsMain_Click
{
print clicked;
print
11 matches
Mail list logo