home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!pagesat!a2i!shakala!donh
- From: donh@shakala.com (Don Hackler)
- Newsgroups: comp.os.ms-windows.programmer.tools
- Subject: Re: VB - custom cursors??
- Message-ID: <3us5wB3w165w@shakala.com>
- Date: 9 Jan 93 22:41:01 GMT
- References: <54540004@hpgrla.gr.hp.com>
- Organization: Shakala BBS (ClanZen Radio Network) Sunnyvale, CA 408-734-2289
- Lines: 32
-
- galenr@hpgrla.gr.hp.com (Galen Raben) writes:
-
- > Would anyone happen to know how to create a custom cursor
- > in VB (either 1.0 or 2.0)??? I am in need of a large "box"
- > cursor when I pass over a certain set of controls.
- >
- > One thought I had is that I could hack one of the preset
- > cursors using a resource editor - Since I haven't had
- > a need for this before I haven't a clue where to start
- > looking, instinct tells me those are in Windows itself
- > though :-( Is there a way to change one using code and
- > have it active only until my application terminates?
- >
- > Thanks!!
- > - Galen -
- > galenr@hpgrla.gr.hp.com
-
- The mouse cursors in Windows are limited to 32x32 pixels.
-
- You could possibly hide the mouse cursor when the mouse is
- over your special area and just draw the rectangle yourself.
- You will have to get rid of the rectangle and restore the mouse
- cursor when the mouse moves out of the area.
-
- I'm guess these things can be done in VB, I know they can be
- in C.
-
- - don
-
- ------------------------------------------------------------------
- Don Hackler - donh@shakala.com
- Shakala BBS (ClanZen Radio Network) Sunnyvale, CA 408-734-2289
-