Hola Pablo :
descargue HWgui desde
http://sourceforge.net/projects/hwgui/
descomprimi el .rar y con TextCrawler busque "OTHERMESSAGES" sin ningun resultado.
- TextCrawler_2012-11-16_15-57-44.jpg (96.03 KiB) Viewed 4455 times
me dispuse a buscar dentro de Guilib.ch para ver como esta conformado el control Browse
Code: Select all
#xcommand @ <x>,<y> BROWSE [ <oBrw> ] ;
[ <lArr: ARRAY> ] ;
[ <lDb: DATABASE> ] ;
[ OF <oWnd> ] ;
[ ID <nId> ] ;
[ SIZE <width>, <height> ] ;
[ ON INIT <bInit> ] ;
[ ON SIZE <bSize> ] ;
[ ON PAINT <bDraw> ] ;
[ ON CLICK <bEnter> ] ;
[ ON GETFOCUS <bGfocus> ] ;
[ ON LOSTFOCUS <bLfocus> ] ;
[ STYLE <nStyle> ] ;
[ <lNoVScr: NO VSCROLL> ] ;
[ <lNoBord: NOBORDER> ] ;
[ FONT <oFont> ] ;
[ <lAppend: APPEND> ] ;
[ <lAutoedit: AUTOEDIT> ] ;
[ ON UPDATE <bUpdate> ] ;
[ ON KEYDOWN <bKeyDown> ] ;
[ ON POSCHANGE <bPosChg> ] ;
[ <lMulti: MULTISELECT> ] ;
[ <lDescend: DESCEND> ] ; // By Marcelo Sturm (marcelo.sturm@gmail.com)
[ WHILE <bWhile> ] ; // By Luiz Henrique dos Santos (luizhsantos@gmail.com)
[ FIRST <bFirst> ] ; // By Luiz Henrique dos Santos (luizhsantos@gmail.com)
[ LAST <bLast> ] ; // By Marcelo Sturm (marcelo.sturm@gmail.com)
[ FOR <bFor> ] ; // By Luiz Henrique dos Santos (luizhsantos@gmail.com)
[ <class: CLASS> <classname> ] ;
=> ;
[<oBrw> :=] __IIF(<.class.>, <classname>, HBrowse)():New( Iif(<.lDb.>,BRW_DATABASE,Iif(<.lArr.>,BRW_ARRAY,0)),;
<oWnd>,<nId>,<nStyle>,<x>,<y>,<width>,<height>,<oFont>,<bInit>,<bSize>, ;
<bDraw>,<bEnter>,<bGfocus>,<bLfocus>,<.lNoVScr.>,<.lNoBord.>, <.lAppend.>,;
<.lAutoedit.>, <bUpdate>, <bKeyDown>, <bPosChg>, <.lMulti.>, <.lDescend.>,;
<bWhile>, <bFirst>, <bLast>, <bFor> )
#xcommand REDEFINE BROWSE [ <oBrw> ] ;
[ <lArr: ARRAY> ] ;
[ <lDb: DATABASE> ] ;
[ <lFlt: FILTER> ] ;
[ OF <oWnd> ] ;
ID <nId> ;
[ ON INIT <bInit> ] ;
[ ON SIZE <bSize> ] ;
[ ON PAINT <bDraw> ] ;
[ ON CLICK <bEnter> ] ;
[ ON GETFOCUS <bGfocus> ] ;
[ ON LOSTFOCUS <bLfocus> ] ;
[ ON OTHER MESSAGE <bOther>] ;
[ FONT <oFont> ] ;
=> ;
[<oBrw> :=] HBrowse():Redefine( Iif(<.lDb.>,BRW_DATABASE,Iif(<.lArr.>,BRW_ARRAY,Iif(<.lFlt.>,BRW_FILTER,0))),;
<oWnd>,<nId>,<oFont>,<bInit>,<bSize>,<bDraw>,<bEnter>,<bGfocus>,<bLfocus>,<bOther> )
ahi me encontre con " ON OTHER MESSAGE <bOther>]" en Dialogos, ventanas y Browses.
tambien dentro del Browse tiene manejo de clases , mira Guilib.ch
para ello On Other Messages se tiene que agregar en
Advance : USER COMPONENTS INTERFACE como indica la Referencia de HMG.3.0.46 : C:/hmg.3.0.46/doc/data/index.htm
mira :
InstallEventHandler ( <cEventHandlerFunctionName> )
Every time that an event is triggered by the system the specified
function will be called.
This function will receive the following parameters:
hWnd, nMsg, wParam, lParam
espero que te sirva la info ...