Re: Flags? What flags?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Evan,

I forgot, here's some flags for the "extended" styles of windows, which are
made similarly, but they have yet another flag space and are created just
slightly differently, using "createEx (these new flags go where you see the
*last* "0"):

constant MaxWindow = createEx( Window, "Maximize Button", WinStyles, 0, 0,
136, 52, {WS_THICKFRAME,WS_MAXIMIZEBOX,WS_SYSMENU}, 0)

  WS_EX_ACCEPTFILES = 16,
  WS_EX_APPWINDOW =  #40000,
  WS_EX_CLIENTEDGE = 512,
  WS_EX_CONTEXTHELP =  #400,
  WS_EX_CONTROLPARENT =  #10000,
  WS_EX_DLGMODALFRAME = 1,
  WS_EX_LEFT = 0,
  WS_EX_LEFTSCROLLBAR =  #4000,
  WS_EX_LTRREADING = 0,
  WS_EX_MDICHILD = 64,
  WS_EX_NOPARENTNOTIFY = 4,
  WS_EX_OVERLAPPEDWINDOW =  #300,
  WS_EX_PALETTEWINDOW =  #188,
  WS_EX_RIGHT =  #1000,
  WS_EX_RIGHTSCROLLBAR = 0,
  WS_EX_RTLREADING =  #2000,
  WS_EX_STATICEDGE =  #20000,
  WS_EX_TOOLWINDOW = 128,
  WS_EX_TOPMOST = 8,
  WS_EX_TRANSPARENT = 32,
  WS_EX_WINDOWEDGE = 256,


Dan Moyer


----- Original Message -----
From: "Evan Marshall" <evan at net-link.net>
To: "EUforum" <EUforum at topica.com>
Sent: Friday, October 19, 2001 10:45 AM
Subject: Flags? What flags?



I'm trying to write my first Windows program.  I'm using win32lib.  In
trying to create a window I see the parameters which need to be passed
are the class, title, parent, location, size, and flags.  Is there a
list of the possible flags?  I haven't been able to find them in the
docs.  I realize that I could be going blind, so any nudges or swift
kicks to point me in the right direction would be greatly appreciated.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu