programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: classes, childwindows

From: Morten A. Steien <morten.steien_at_chello.no>
Date: Tue, 10 Oct 2006 20:55:09 +0100

On Tue, 10 Oct 2006 19:38:13 +0100, Anil Rodrigues <arodrix_at_weld.com>
wrote:
> Trying to use child windows, I am looking at SPLITTER.F -
> where does window class name Z" edit" come from?
> If I change Z" edit" to anything else, it does not work;
> and I cannot find any reference to it.
>
> -----------------------------------------------------------
>
> : EDWINDOW ( hwnd -- hwnd )
> >R
> WS_EX_CLIENTEDGE \ extended style
> Z" edit" \ window class name
> 0
> [ WS_CHILD
> WS_VISIBLE OR
> WS_BORDER OR
> WS_HSCROLL OR
> WS_VSCROLL OR
> ES_NOHIDESEL OR
> ES_LEFT OR
> ES_AUTOHSCROLL OR
> ES_AUTOVSCROLL OR
> ES_MULTILINE OR ] LITERAL \ window style
> 0 0 0 0
> R> \ parent window handle
> 0 \ window menu handle
> HINST \ program instance handle
> 0 \ creation parameter
> CreateWindowEx ;

If you look at the reference for CreateWindowEx you will se "For other
parameters see CreateWindow". Under the heading Class you can see several
predefined classes for child windows like EDIT, BUTTON, LISTBOX, STATIC
etc.

--
Med Vennlig Hilsen,
Morten A. Steien
----------------------------------------------------------------------
sftalk_at_forth.com      The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users.  For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Tue Oct 10 2006 - 11:58:35 PDT

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:40 PST