Archive: TABSTOP and Edit Box


TABSTOP and Edit Box
I got the EditBox's hWnd.I want send a message to let the tab be not stop on the EditBox.How to send the message?

SendMessage $hWnd ${?} ? ?

Thanks to reply!!!!!!!!!!!!!:D :D :D :D


You can't do that with SendMessage, you have to set the control's style.

!define GWL_STYLE -16
!define WS_TABSTOP 0x10000
System::Call `user32::GetWindowLong(i R0, i ${GWL_STYLE}) i.R1`
IntOp $R1 $R1 ^ ${WS_TABSTOP}
System::Call `user32::SetWindowLong(i R0, i ${GWL_STYLE}, i R1)`