An odd situation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CajunCoiler \(http://www.cajuncoiler.tk\)

    #1

    An odd situation

    Here's one that's been gnawing at me all day... Why is it when I
    attempt to use a 16-color custom pointer (MousePointer = 99,
    MouseIcon="thef inger.cur") that at run-time, all the colors wash
    out, and a monochrome cursor is displayed?
    This behavior takes place regardless of the type of object that
    its pointing to... What gives?



  • CajunCoiler \(http://www.cajuncoiler.tk\)

    #2
    Re: An odd situation

    Nevermind... I worked it out on my own.

    For those of you pondering the reason why it did that in the first
    place...you guessed it... bug in VB (no thanx to MS).

    The workaround:
    Set up the pointer (.cur file) as a RESOURCE, then do a
    objectname.Mous eIcon = LoadResPicture( ResID, vbResCursor)
    in your Form_Load event to assign it to the objects you want.
    Running it from the IDE, will STILL display the pointer in
    monochrome, but once your program is compiled and installed,
    it'll start showing up in color... ya just gotta trust it.

    "CajunCoile r (http://www.cajuncoiler .tk)"
    <poohbear1961@t otallyspamless. cox.net> wrote in message
    news:scylb.9991 2$a16.59283@lak eread01...[color=blue]
    > Here's one that's been gnawing at me all day... Why is it when I
    > attempt to use a 16-color custom pointer (MousePointer = 99,
    > MouseIcon="thef inger.cur") that at run-time, all the colors wash
    > out, and a monochrome cursor is displayed?
    > This behavior takes place regardless of the type of object that
    > its pointing to... What gives?[/color]


    Comment

    Working...