News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

3D EDIT BOX

Started by RuiLoureiro, January 02, 2008, 02:40:21 PM

Previous topic - Next topic

RuiLoureiro

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


donkey

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.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

RuiLoureiro

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]

ramguru

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.

RuiLoureiro

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