Click here to Skip to main content
15,884,629 members
Home / Discussions / C#
   

C#

 
GeneralRe: string manipulation for phone numbers Pin
Nathan Blomquist4-Aug-03 16:13
Nathan Blomquist4-Aug-03 16:13 
GeneralRe: string manipulation for phone numbers Pin
J. Dunlap4-Aug-03 16:34
J. Dunlap4-Aug-03 16:34 
Generalcontrolling (auto)scrollbars with keys Pin
misterbear4-Aug-03 5:47
misterbear4-Aug-03 5:47 
GeneralRe: controlling (auto)scrollbars with keys Pin
Furty4-Aug-03 22:20
Furty4-Aug-03 22:20 
QuestionGetCursorInfo in C#? Pin
CyberKewl4-Aug-03 4:38
CyberKewl4-Aug-03 4:38 
AnswerRe: GetCursorInfo in C#? Pin
Heath Stewart4-Aug-03 6:00
protectorHeath Stewart4-Aug-03 6:00 
GeneralRe: GetCursorInfo in C#? Pin
CyberKewl4-Aug-03 13:37
CyberKewl4-Aug-03 13:37 
GeneralRe: GetCursorInfo in C#? Pin
Heath Stewart5-Aug-03 5:25
protectorHeath Stewart5-Aug-03 5:25 
It's all in the documentation on MSDN. I suggest you read it. There's examples, too. Always consult the docs for questions like this, when asking "what is X" or "how does Y" work, otherwise you're just grabbing at straws and guessing, which doesn't build any skills. I don't mean to sound rude, but researching is half the development battle, and these questions are exactly what the Windows API functions, .NET class library, and other documentation is for. Besides, it'd be a waste of time to essentially copy and paste the topic you want. Just type GetCursorInfo in the index and you've got what you want. As far as managed code goes, however, read on...

If all you're trying to do is read-in a cursor image, then you need to look at the Cursor class. It's better to use managed code than to start needlessly P/Invoking stuff from the Win32 API. It has everything you apparently need to read-in a cursor and display it (either as the mouse cursor or a bitmap (with some fiddling) such as a preview pic).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: GetCursorInfo in C#? Pin
CyberKewl5-Aug-03 13:27
CyberKewl5-Aug-03 13:27 
GeneralRe: GetCursorInfo in C#? Pin
Heath Stewart5-Aug-03 17:03
protectorHeath Stewart5-Aug-03 17:03 
GeneralRe: GetCursorInfo in C#? Pin
CyberKewl6-Aug-03 0:47
CyberKewl6-Aug-03 0:47 
GeneralRe: GetCursorInfo in C#? Pin
Heath Stewart6-Aug-03 4:28
protectorHeath Stewart6-Aug-03 4:28 
GeneralRe: GetCursorInfo in C#? Pin
CyberKewl6-Aug-03 14:16
CyberKewl6-Aug-03 14:16 
GeneralDatagrids - Selecting Rows Pin
MrEyes4-Aug-03 3:02
MrEyes4-Aug-03 3:02 
GeneralRe: Datagrids - Selecting Rows Pin
Kannan Kalyanaraman4-Aug-03 5:19
Kannan Kalyanaraman4-Aug-03 5:19 
GeneralRe: Datagrids - Selecting Rows Pin
MrEyes4-Aug-03 5:22
MrEyes4-Aug-03 5:22 
GeneralRe: Datagrids - Selecting Rows Pin
Heath Stewart4-Aug-03 6:05
protectorHeath Stewart4-Aug-03 6:05 
GeneralRe: Datagrids - Selecting Rows Pin
MrEyes5-Aug-03 0:42
MrEyes5-Aug-03 0:42 
GeneralRe: Datagrids - Selecting Rows Pin
Heath Stewart5-Aug-03 5:34
protectorHeath Stewart5-Aug-03 5:34 
Generalcom object, [out] params (pointers to values), C# Pin
alma4-Aug-03 1:55
alma4-Aug-03 1:55 
GeneralRe: com object, [out] params (pointers to values), C# Pin
Alexander Kojevnikov4-Aug-03 2:56
Alexander Kojevnikov4-Aug-03 2:56 
GeneralRe: com object, [out] params (pointers to values), C# Pin
alma4-Aug-03 3:17
alma4-Aug-03 3:17 
GeneralRe: com object, [out] params (pointers to values), C# Pin
Alexander Kojevnikov4-Aug-03 3:27
Alexander Kojevnikov4-Aug-03 3:27 
GeneralRe: com object, [out] params (pointers to values), C# Pin
alma4-Aug-03 3:56
alma4-Aug-03 3:56 
GeneralReferencing a reference Pin
Martin Cross3-Aug-03 23:22
Martin Cross3-Aug-03 23:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.