How to find out if multiline is disabled (EM_SETREADONLY)

forum.centura.team.developer (2000-2005) & forum.sqlwindows (2000-2005)
NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

How to find out if multiline is disabled (EM_SETREADONLY)

Post by NewsgroupServer » 07 Mar 2005, 07:42

 Posted by:  Maija-Leena 

Hi,

we use EM_SETREADONLY to disable multiline field. How can I find out if the
multiline is enabled/disabled ?

Thanks,

Maija-Leena

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

How to find out if multiline is disabled (EM_SETREADONLY)

Post by NewsgroupServer » 07 Mar 2005, 09:19

 Posted by:  Thomas Lauzi 

Query the ES_READONLY style of the window.

e.g.
VisWinGetStyle(hWndItem) & ES_READONLY = ES_READONLY

Return to “forum.sqlwindows”

Who is online

Users browsing this forum: [Ccbot] and 0 guests