on Jun 21st, 2016, 06:59am, Jack Kelly wrote:Is there any way to place a text editor control in a window without getting the top-line menu bar with "Edit" (and still have the right-click popup menu)? |
|
Yes, you can just remove the menu bar entirely:
Code: texteditor #w.te, 10, 10, 280, 300
open "No Menu Bar" for window as #w
hw = hwnd(#w)
calldll #user32, "SetMenu", hw as ulong, 0 as long, r as void
#w.te "I am a texteditor control."
#w.te "Right-click me for the popup menu."
wait
Richard.