![]() ![]() With these serious drawbacks I can hardly recommend this method, but for those interested in seeing it in action you can run this code. The cursor would only be invisible most of the time, rather than all the time. If you are not working in this environment you have no choice but to make an API call as no native command exists. You can't get rid of this using this method. When working with a screen opened with OpenScreen () or OpenWindowedScreen () you have MouseLocate () available to you. For example in the PB IDE there is a backwards arrow used when you hover over the line numbers column. Two, you can only affect system cursors, not custom ones that other programs are using. main.st ,0,0,WSEXSTATICEDGE,0 statictext main.st '',16,16,100,26 stylebits main ,0,0,WSEXTOPMOST,0 open 'move your mouse' for windownf as. Trust me, you won't be popular if this occurs. The active windows top left corner is at (547, 167) Its width is 792 and its height is 506 The screen location of the mouse cursor is. However, there are a couple of big downsides: One, if anything happens to your program and it doesn't end normally, the user would have to restart his machine to get his cursors back. This is only a problem on some Intel GPU's. When the mouse is in a block around a planet, the name should popup. The problem is to do with Vista/Windows7 Aero because in basic mode it seems ok. Posts: 65 Joined: Sun 1:54 pm Mouse position by PowerSoft Tue 10:09 am Hi all, In my planetarium program I won't to use the mouse to show the name of the planet. When used with OpenWindowedScreen(), performance is not as good as with OpenScreen(). The SetSystemCursor api destroys the current system cursor when you set a new one, so you must always be working with a set of copies. Hi all, i have a dilemma My application makes heavy use of Sprite3D. Before they can be replaced they have to be copied so that they can be restored when you're done. Firstly, there are 14 system cursors and they would all have to be replaced by the invisible one in order for the mouse pointer not to show. I feel like this should be reported in the bug section unless its my fault. Everything just stops moving until you slow down. This idea sounds simple enough yet it is not trivial at all, which might be OK except for the fact that it doesn't work very well either. For some reason (this goes for all the demos as well) no matter whether full-screen or windowed moving the mouse cursor very fast (settings in windows and alike) causes the mouse movement to not be registered. Naw wrote:Is it possible to change the appearance of the System Cursor to perhaps a transparent block, then it doesnt matter where it is 'cos it'll be invisible. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |