Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #11018

Re: ComboBox Cursor Problem

From "Karl-Heinz" <invalid@invalid.invalid>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: ComboBox Cursor Problem
Date 2017-09-27 19:31 +0200
Message-ID <f325msF2v1bU1@mid.individual.net> (permalink)
References <dbc69241-00c3-486b-acfd-d020773f3ab9@googlegroups.com>

Show all headers | View raw


Hi ?????

strange things are going on ...

The cursor disappears even when i use the (Window) Editchange(oEvent)
instead of the (ComboBox) __EditChange(). But this seems to be a common
windows problem:

The workaround is to send WM_SETCURSOR

https://social.msdn.microsoft.com/Forums/windows/en-US/8ac44f99-a04f-4703-830c-27a7f298ded7/combobox-mouse-disappears?forum=winforms

IF (SELF:ItemCount > 0)
   PostMessage(SELF:Handle(), CB_SHOWDROPDOWN, 1, 0L)
   SELF:CurrentItemNo:= 1

   SendMessage(SELF:Handle(), WM_SETCURSOR, 0, 0L )  //<----------

ENDIF

regards
Karl-Heinz

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ComboBox Cursor Problem ccyasa.sbassano@gmail.com - 2017-09-27 05:58 -0700
  Re: ComboBox Cursor Problem "Jamal" <noooospam@example.com> - 2017-09-27 13:02 -0400
    Re: ComboBox Cursor Problem ccyasa.sbassano@gmail.com - 2017-09-27 10:07 -0700
  Re: ComboBox Cursor Problem "Karl-Heinz" <invalid@invalid.invalid> - 2017-09-27 19:31 +0200
    Re: ComboBox Cursor Problem ccyasa.sbassano@gmail.com - 2017-09-27 10:52 -0700

csiph-web