tamir Posted March 10, 2005 Posted March 10, 2005 in each edit dialog there is a small blinking line (somthing like this: | ) that specifies where the text will be added when u type something. can i make it invisible? or if you know the name of this small line, it'll help alot.
Alterego Posted March 12, 2005 Posted March 12, 2005 The name of the small line is your cursor.When you create the edit specify $ES_READONLY for the style This dynamic web page is powered by AutoIt 3.
steveR Posted March 12, 2005 Posted March 12, 2005 (edited) I think you're talking about the caret; Hold on i'll look for something on msdn try: DllCall ( "user32.dll", "int", "HideCaret", "hwnd", "windowHandle") Also: DllCall ( "user32.dll", "int", "DestroyCaret" ) EDIT: I just tried it, it works at first but it seems to rebuild itself. expandcollapse popupHideCaret Function -------------------------------------------------------------------------------- The HideCaret function removes the caret from the screen. Hiding a caret does not destroy its current shape or invalidate the insertion point. Syntax BOOL HideCaret( HWND hWnd ); Parameters hWnd [in] Handle to the window that owns the caret. If this parameter is NULL, HideCaret searches the current task for the window that owns the caret. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. Remarks HideCaret hides the caret only if the specified window owns the caret. If the specified window does not own the caret, HideCaret does nothing and returns FALSE. Hiding is cumulative. If your application calls HideCaret five times in a row, it must also call ShowCaret five times before the caret is displayed. For an example, see Hiding a Caret. Function Information Minimum DLL Version user32.dll Header Declared in Winuser.h, include Windows.h Import library User32.lib Minimum operating systems Windows 95, Windows NT 3.1 See Also Carets Edited March 12, 2005 by steveR AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now