Re: Caret cursor in Win32Lib: how do I use it?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Allen,

Nope, I'm just writing text to a regular window; I use the window & text
metrics to figure where to put things so they're centered, but it's just a
regular window, & no cursor appears in it from what I thought should create
it.

Any thoughts as to why what I wrote  doesn't make a cursor appear in a
regular window??

Dan
-----Original Message-----
From: Allen Soard <esp-software at MAIL.HYPERMART.NET>
To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU>
Date: Friday, January 14, 2000 6:23 AM
Subject: Re: Caret cursor in Win32Lib: how do I use it?


>Dan,
>If I recall your situation, your using a custom
>component for a textfield.  The caret functions
>only work with components designed for text on a
>lower level.  However, you should be able to
>sample the system caret rate for use in your
>timer. That way it matches the rest of your
>system.  In short it looks like reinventing the
>wheel.
>
>-E.Allen Soard
>E.S.P. Software
>
>---- Begin Original Message ----
> From: Dan B Moyer <DANMOYER at PRODIGY.NET>
>Sent: Thu, 13 Jan 2000 22:30:28 -0800
>To: EUPHORIA at LISTSERV.MUOHIO.EDU
>Subject: Caret cursor in Win32Lib: how do I use
>it?
>
>David,
>
>I can't get the caret based cursor to do anything
>in my program; when I use
>the
>following, it doesn't make any cursor in my
>program, just changes the blink
>rate of cursors in other window programs like
>Outlook Express.  What am I
>doing wrong?
>
>Dan Moyer
>
>-- "caret" based cursor:
>atom CaretReturn
>constant MyCursor = 1 -- ?? just pick a number ??
>
>CaretReturn = c_func(
>xCreateCaret,{MyCursor,0,5,20})-- 0 is for bmp?
>CaretReturn = c_func( xSetCaretBlinkTime,{300})
>
>CaretReturn = c_func( xShowCaret,{MyCursor})
>CaretReturn = c_func( xSetCaretPos,{50,50})--
>tried various numbers here,
>--    from  10,10  to 100,100
>
>---- End Original Message ----
>
>
>Bookmark the HyperMart Small Business Center. All the tools you need to
>succeed!
>http://www.hypermart.net/center/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu