The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Ratch on July 16, 2006, 12:43:00 AM

Title: Microsoft Windows Common Controls
Post by: Ratch on July 16, 2006, 12:43:00 AM
Hutch,

     How do  we programmers incorporate the Microsoft Windows Common Controls into our applications.  There are controls like the Up/Down control that is supposed to be supported in comctl23.dll, but the API CreateUpDownControl is not defined in MASM32.  And how do we do MFC in MASM?  Any info about this will be read with interest.  Ratch
Title: Re: Microsoft Windows Common Controls
Post by: hutch-- on July 16, 2006, 01:05:41 AM
Ratch,

The common control style hang together much like the old ones in that you specify a predefined control class and use CreatWindowEx() to create the control. Most people just specify the control string for each control for this purpose. These are the styles that I have in the middle of the DIALOGS.INC file.


        ; "SysHeader32"             ok
        ; "ToolbarWindow32"         ok
        ; "msctls_statusbar32"      ok
        ; "msctls_trackbar32"       ok
        ; "msctls_updown32"         ok
        ; "msctls_progress32"       ok
        ; "SysListView32"           ok
        ; "SysTreeView32"           ok
        ; "SysTabControl32"         ok
        ; "SysAnimate32"            ok
        ; "RichEdit"                ok
        ; "RichEdit20a"             ok
        ; "SysMonthCal32"           ok
        ; "SysDateTimePick32"       ok
        ; "SysIPAddress32"          ok
        ; "msctls_hotkey32"         ok
        ; "ReBarWindow32"           ok
        ; "SysPager"                ok

        ; "NativeFontCtl"
        ; "commctrl_DragListMsg"
        ; "ComboBoxEx32"
        ; "tooltips_class32"
Title: Re: Microsoft Windows Common Controls
Post by: Ratch on July 16, 2006, 04:21:00 AM
Hutch,
     Thanks, I got it now.  Ratch
Title: Re: Microsoft Windows Common Controls
Post by: asmfan on July 16, 2006, 07:13:13 AM
They are a lot indeed... I'm bit confused... Some of their names i see for the first time. Are they all documented? Or some are in system use?