The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: RuiLoureiro on January 02, 2008, 02:40:21 PM

Title: 3D EDIT BOX
Post by: RuiLoureiro on January 02, 2008, 02:40:21 PM
Hi  all,
         I am using a macro

                      DlgEdit     WS_TABSTOP,    98, 18,  12, 8, IDC_NEWQTM1

        to create an edit box in a commom control dialog box.

         What to do to get a 3D Edit box ? Anyone want to help me ?
Thanks
RuiLoureiro

Title: Re: 3D EDIT BOX
Post by: donkey on January 02, 2008, 06:42:47 PM
Could you be more clear about what a 3D edit box is ? Do you simply want borders with a 3D effect ? In that case try the WS_EX_CLIENTEDGE or WS_EX_STATICEDGE styles or one of the other edge styles.
Title: Re: 3D EDIT BOX
Post by: RuiLoureiro on January 02, 2008, 10:00:07 PM
Hi donkey,
                many thanks to you.

Quote from: donkey on January 02, 2008, 06:42:47 PM
Do you simply want borders with a 3D effect ? In that case try the WS_EX_CLIENTEDGE or WS_EX_STATICEDGE styles or one of the other edge styles.
              Yes, i think it is borders with a 3D effect. But i tried WS_EX_CLIENTEDGE  and WS_EX_STATICEDGE and it doesnt work. See my TestBox.zip
Thank you
Rui

[attachment deleted by admin]
Title: Re: 3D EDIT BOX
Post by: ramguru on January 02, 2008, 10:22:43 PM
DlgEdit WS_TABSTOP or WS_EX_CLIENTEDGE or WS_EX_STATICEDGE , 98, 18,  12, 8, IDC_NEWQTM1
You can't use extended styles along with these macros, either use real resource file, or create controls with CreateWindowEx.
Title: Re: 3D EDIT BOX
Post by: RuiLoureiro on January 05, 2008, 09:46:37 PM
Thank you ramguru, in this case i have nothing to do. Have an exemple of how to do it with a real resource file ? Thanks
Rui