Many thanks for that, far easier to use than messing with SetWindowLong()

I dont see any reference to -pushexstyle in the docs on the website btw

http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc=window

Steve



  sub WS_EX_NOACTIVATE() {0x8000000}
  ...
  my $win = Win32::GUI::Window->new(
     ...
     -pushexstyle => WS_EX_NOACTIVATE,
     ...);

gotcha: this style is only supported on win2k and later.

Reply via email to