Re: FWH/xHarbour Menus
Posted: Wed May 27, 2009 8:41 am
Stefan, Evans,
Simply change FARPROC into WNDPROC in the C code section
Simply change FARPROC into WNDPROC in the C code section
www.FiveTechSoft.com
https://forums.fivetechsupport.com/
Antonio Linares wrote:Stefan, Evans,
Simply change FARPROC into WNDPROC in the C code section
Antonio Linares wrote:Stefan, Evans,
Simply change FARPROC into WNDPROC in the C code section
StefanHaupt wrote:Antonio,Antonio Linares wrote:Stefan, Evans,
Simply change FARPROC into WNDPROC in the C code section
thanks, it compiles fine now.
Code: Select all | Expand
...
if( !bTab )
{
// V. ADDED STARTS
if( ! ( lpdis->itemState & ODS_SELECTED ) ) // NEW !!!!!!!!
SetBkColor( lpdis->hDC, 16770508 ); // HCYAN1
// V. ADDED ENDS
DrawText( lpdis->hDC, szPrompt, -1, &lpdis->rcItem, DT_LEFT );
...
Antonio Linares wrote:Evans,
You just need this new line:Code: Select all | Expand
...
if( !bTab )
{
// V. ADDED STARTS
if( ! ( lpdis->itemState & ODS_SELECTED ) ) // NEW !!!!!!!!
SetBkColor( lpdis->hDC, 16770508 ); // HCYAN1
// V. ADDED ENDS
DrawText( lpdis->hDC, szPrompt, -1, &lpdis->rcItem, DT_LEFT );
...