From: Alexander S.K. <al...@be...> - 2004-03-22 18:17:32
|
=EF=EE=ED=E5=E4=E5=EB=FC=ED=E8=EA, 22 =EC=E0=F0=F2=E0 2004 =E3. Rodrigo r= odr...@te... wrote: RM> Hi all RM> To implement this new feature, i need set the help file name, i want = store RM> this information on HWindow Class, this is to avoid to create a publi= c var RM> containing the file name. RM> So, how to get the main window handler, wich will have this informati= on ? I RM> saw the gettopwindow, but in some cases the topwindow can't be main w= indow. RM> Parent window can help in this case ? You can declare it as a CLASS VAR, so the will be the only copy of this variable: CLASS VAR szHelpName In this case it may be got as HWindow():szHelpName. Regards, Alexander http://kresin.belgorod.su |