You can subscribe to this list here.
2001 |
Jan
(226) |
Feb
(139) |
Mar
(156) |
Apr
(95) |
May
(181) |
Jun
(166) |
Jul
(80) |
Aug
(59) |
Sep
(69) |
Oct
(83) |
Nov
(142) |
Dec
(33) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(42) |
Feb
(91) |
Mar
(76) |
Apr
(113) |
May
(67) |
Jun
(68) |
Jul
(37) |
Aug
(41) |
Sep
(16) |
Oct
(135) |
Nov
(51) |
Dec
(21) |
2003 |
Jan
(37) |
Feb
(36) |
Mar
(37) |
Apr
(103) |
May
(68) |
Jun
(70) |
Jul
(77) |
Aug
(12) |
Sep
(9) |
Oct
(53) |
Nov
(88) |
Dec
(63) |
2004 |
Jan
(263) |
Feb
(106) |
Mar
(36) |
Apr
(21) |
May
(21) |
Jun
(34) |
Jul
(33) |
Aug
(34) |
Sep
(35) |
Oct
(21) |
Nov
(43) |
Dec
(63) |
2005 |
Jan
(28) |
Feb
(42) |
Mar
(29) |
Apr
(14) |
May
(41) |
Jun
(20) |
Jul
(65) |
Aug
(136) |
Sep
(41) |
Oct
(74) |
Nov
(34) |
Dec
(94) |
2006 |
Jan
(85) |
Feb
(94) |
Mar
(68) |
Apr
(103) |
May
(66) |
Jun
(51) |
Jul
(24) |
Aug
(56) |
Sep
(57) |
Oct
(85) |
Nov
(73) |
Dec
(68) |
2007 |
Jan
(59) |
Feb
(32) |
Mar
(13) |
Apr
(32) |
May
(36) |
Jun
(36) |
Jul
(64) |
Aug
(35) |
Sep
(19) |
Oct
(10) |
Nov
(13) |
Dec
(20) |
2008 |
Jan
(26) |
Feb
(41) |
Mar
(19) |
Apr
(24) |
May
(16) |
Jun
(33) |
Jul
(34) |
Aug
(4) |
Sep
(11) |
Oct
|
Nov
(26) |
Dec
(23) |
2009 |
Jan
(5) |
Feb
(2) |
Mar
(21) |
Apr
(16) |
May
(13) |
Jun
(6) |
Jul
(34) |
Aug
(2) |
Sep
(1) |
Oct
(7) |
Nov
(5) |
Dec
(24) |
2010 |
Jan
(3) |
Feb
(5) |
Mar
(6) |
Apr
(6) |
May
(14) |
Jun
(6) |
Jul
(1) |
Aug
(12) |
Sep
(10) |
Oct
(9) |
Nov
|
Dec
(2) |
2011 |
Jan
(4) |
Feb
(5) |
Mar
(30) |
Apr
(1) |
May
(2) |
Jun
(5) |
Jul
(3) |
Aug
(2) |
Sep
(3) |
Oct
|
Nov
(6) |
Dec
|
2012 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(4) |
2013 |
Jan
(5) |
Feb
(3) |
Mar
|
Apr
(3) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
(7) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(5) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
|
2
|
3
|
4
|
5
(1) |
6
(1) |
7
(1) |
8
(2) |
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
(1) |
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
From: Ken S. <kl...@ps...> - 2010-03-05 20:36:51
|
Hello, Let me preface my question by saying that I haven't used Win32::GUI very much, so I might be missing something obvious. I want to create a borderless window (splash screen) and have done so using the -style option when creating the new window. Unfortunately, this option is deprecated, and I get a message informing me of that fact whenever I run the application. Looking at the documentation, it appeared that I could use the -pushstyle of -addstyle option when creating the window. However, the window has a border when either of these options is used. Can anyone point out the error of my ways? Actual code is below. Thanks, Ken Slater use strict; use warnings; use File::Basename; use Getopt::Long; use Win32::API; use Win32::GUI(); use Win32::GUI::Constants; use Win32::OLE('in'); my ( $runDir ); BEGIN { $runDir = Win32::GetFullPathName(dirname($0)); } my ($help, %options, %overridingOptions); $options{iniFile} = "$runDir/stayOnTop.ini"; my ($execname) = fileparse( "$0", '' ); sub usage { print STDERR <<USAGE; $execname ... USAGE return 0; } # end sub usage GetOptions( "ini=s" => \$options{iniFile}, "bg=s" => \$overridingOptions{backgroundFile}, "t=i" => \$overridingOptions{timeout}, "h!" => \$help, "help!" => \$help); if ( $help ) { usage; exit 0; } pullSettings(); use constant wbemFlagReturnImmediately => 0x10; use constant wbemFlagForwardOnly => 0x20; #------------------------------------------------------------ # Get height and width of display #------------------------------------------------------------ my $computer = "."; my $objWMIService = Win32::OLE->GetObject ("winmgmts:\\\\$computer\\root\\CIMV2") or die "WMI connection failed.\n"; my $colItems = $objWMIService->ExecQuery ("SELECT * FROM Win32_VideoController","WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); my ( $screenWidth, $screenHeight ); foreach my $objItem (in $colItems) { $screenWidth = $objItem->{CurrentHorizontalResolution}; $screenHeight = $objItem->{CurrentVerticalResolution}; } #------------------------------------------------------------ # Create GUI Window #------------------------------------------------------------ my $WS_POPUP = Win32::GUI::Constants::constant('WS_POPUP'); my $mw = Win32::GUI::Window->new( -title => 'NOBORDER (I hope)', -bg => 'black', -pos => [0,0], -size => [$screenWidth,$screenHeight], # The -stype option was added to make borderless # windows. Get a warning that this option is deprecated. -style => $WS_POPUP, # # Neither addstyle or pushstyle seem to get rid of the border #-addstyle => $WS_POPUP, #-pushstyle => $WS_POPUP, ); #------------------------------------------------------------ # Force this window to stay on top of other windows. #------------------------------------------------------------ my $HWND_TOPMOST = Win32::GUI::Constants::constant('HWND_TOPMOST'); my $SWP_NOSIZE = Win32::GUI::Constants::constant('SWP_NOSIZE'); my $SWP_NOMOVE = Win32::GUI::Constants::constant('SWP_NOMOVE'); $mw->SetWindowPos($HWND_TOPMOST,0,0,$screenWidth,$screenHeight, $SWP_NOSIZE|$SWP_NOMOVE); #------------------------------------------------------------ # Set the timer to exit this application after the specified # number of milliseconds. #------------------------------------------------------------ $options{timeout} = 5000 unless defined($options{timeout}); my $t1 = $mw->AddTimer('T1', $options{timeout}); #------------------------------------------------------------ # Set up the image to be displayed on the screen #------------------------------------------------------------ my $bitmap = Win32::GUI::Bitmap->new($options{backgroundFile}, 0,$screenWidth,$screenHeight); #create a label in which the bitmap will be placed my $bitmapLabel = $mw->AddLabel( -name => "Bitmap", -left => 0, -top => 0, -width => $screenWidth, -height => $screenHeight, -bitmap => $bitmap, ); #------------------------------------------------------------ # Display the window #------------------------------------------------------------ $mw->Show(); Win32::GUI::Dialog(); #------------------------------------------------------------ # Subroutine called when timer expires #------------------------------------------------------------ sub T1_Timer { exit; } sub pullSettings { local $/ = undef; open my $INIFH, '<', $options{iniFile} or do { Win32::MsgBox("FATAL: Unable to open $options{iniFile}: $^E", 0, "StayOnTop.pl"); exit; }; my $lines = <$INIFH>; close $INIFH; my $re = qr{<([^/][^>]+)>\s*([^<]+)}; %options = $lines =~ /$re/gs; foreach my $key ( keys %options ) { $options{$key} = $overridingOptions{$key} if defined($overridingOptions{$key}); } } |