Hi Dorin,
:-), never mind...
Try run any report in folder tools\Filespec (I got error message "Variable 'blablablabla' not found.")
And answer for your question.
To level form has one window handle for form (eq. main window) and second for inner place (eq. _screen) and more window handle for docked toolbar. Look to API function GetWindow()
// return window handle for screen (vfp 6.0)
void FAR __extern_GetDesktophwnd(ParamBlk FAR *parm)
{
_RetInt((int) GetWindow(GetWindow(_WhToHwnd(_WMainWindow()),GW_CHILD),GW_HWNDLAST),11);
}
MartinJ
>Hi Martin. Soryy for late reply.
>I was out of town till today .
>
>I sent you the ReportOutput and ReportPreview. The reportoutput.app is needed because the parallel cursor output of rendered text.
>
>The thing that is annoyng is that the first successful highlighted text is erased. The recursive call of Paint() is a Pain() :)
>
>If you know a way to get a GDI+ handle of a top level form with docked toolbar, tell me please.
>
>>Dorin,
>>
>>OK. If your utility/change will be better then example which I saw on Devcon Praha 2005, why not.
>>
>
>I hope that is better.
>
>Dorin