Re: Non-resizable windows and the ever present comma in Win32LIB

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

--- David Alan Gay <moggie at INTERLOG.COM> wrote:
> Can a created window's attribute be set so it cannot be resized at all? I've
> noticed some applications that do this.

Try: WS_THICKFRAME

> Also, I've noticed the generous use of the comma in many of David Cuny's
> WIN32LIB example programs. When I was creating a very, very, VERY simple
> text editor for experimentation with WIN32LIB, I accidentally forgot to
> include the ,'s in the menu and menu list definitions, but I appear to have
> suffered no consequences during the compilation and execution of the
> program.
> Is the comma really required as part of the WIN32LIB syntax?

I'm not really sure what you mean here.  The commas are generally just standard
Eu syntax.  I suspect you're referring to the commas between all the create()
statements.  Dave usually creates a control, and uses a constant to track it,
and so he puts commas between them to avoid typing "constant" repeatedly.  Did
you perhaps use atoms or integers for your controls?

Matt

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu