|
-
October 15th, 2008, 09:44 AM
#1
cursor direction of system
hello everyone..
i m new at this forum- so will be glad if u will help me in a small thing..
i need to get the cursor direction of the windows system.
meaning - at a right moment - does the cursor is left-to-right or the opposite?
i found function in c# that do something similar, but it won't return the rtl or ltr.
if u are knowing of some code that i can run on my computer (visual studio) , it will help me a lot. i'm searching on the internet for couple of hours... and nothing.
thanx in advance...
-
October 15th, 2008, 10:15 AM
#2
Re: cursor direction of system
Sorry, I don't understand what you mean by "left-to-right or the opposite" cursor.
Is it just the way how the text is displayed (left-to-right or right-to-left)?
If yes then have a look at the extended window style:
:
WS_EX_RTLREADING Displays the window text using right-to-left reading order properties.
Victor Nijegorodov
-
October 15th, 2008, 10:53 AM
#3
Re: cursor direction of system
You must use one of the 3 System L. Apis
See Adv. Win32 api ng
news://194.177.96.26/comp.os.ms-wind...ogrammer.win32
where it has often been discussed..
-
October 15th, 2008, 02:01 PM
#4
Re: cursor direction of system
May be there is a confusion in terminology here ? If you are talking about cursor, it is the thing that moves around with the mouse location change. If you are talking about the blinking thing that prompts you to write in edit controls, for e.g., it is called a caret and not a cursor. My understanding from what I read is, you are referring to the caret.
-
October 15th, 2008, 02:34 PM
#5
Re: cursor direction of system
 Originally Posted by MeitalKadria
hello everyone..
i m new at this forum- so will be glad if u will help me in a small thing..
i need to get the cursor direction of the windows system.
meaning - at a right moment - does the cursor is left-to-right or the opposite?
i found function in c# that do something similar, but it won't return the rtl or ltr.
if u are knowing of some code that i can run on my computer (visual studio) , it will help me a lot. i'm searching on the internet for couple of hours... and nothing.
thanx in advance...
Have they completely given up on teaching English in schools? Please at least make an effort to write correct and coherent English. You're getting ready to enter the real world. It will be required. Now's a good time to start.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|