FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBrowse help needed.
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
XBrowse help needed.
Posted: Thu Dec 03, 2009 01:22 PM

Hi,

I want to click one column of my xbrowse header using SENDMESSAGE.

SENDMESSAGE(hWnd, WM_LBUTTONUP, ????). I could not found how to send the row and col params.

Thanks,

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: XBrowse help needed.
Posted: Thu Dec 03, 2009 03:34 PM

Any problem calling directly oCol:HeaderLButtonUp() ?

Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: XBrowse help needed.
Posted: Thu Dec 03, 2009 10:09 PM

Thanks nageswaragunupudi,

I could not think that I can use this Method. Must I send the col and row parameters. If I change the orders of column in runtime, col and row changes.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: XBrowse help needed.
Posted: Fri Dec 04, 2009 03:17 AM

In pixels,
nRow can be between 0 and oBrw:nHeaderHeight.
nCol can be between oCol:nDisplayCol and oCol:nDiplayCol + oCol:nWidth - 1
We should make sure that the column is actually visible on the screen.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: XBrowse help needed.
Posted: Fri Dec 04, 2009 09:55 AM

Thank you very much. It works good now.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06

Continue the discussion