Mr. Linares,
in which way i can produce the required structure for the function HTMLHelpPopup() with the class Tstruct?
MfG Günther
#pragma BEGINDUMP
#include <windows.h>
HB_FUNC( SHOWCONTEXTHELP )
{
HH_POPUP popup ;
POINT ptPoint ;
RECT rRect ;
// Set the popup's margins
rRect.top = -1 ;
rRect.left = -1 ;
rRect.bottom = -1 ;
rRect.right = -1 ;
GetCursorPos(&ptPoint);
memset(&popup, 0, sizeof(HH_POPUP));
popup.cbStruct = sizeof(HH_POPUP);
popup.hinst = 0;
popup.idString = iCtrlID;
popup.pszText = "";
popup.pt = pt;
popup.clrForeground = 0;
popup.clrBackground = RGB(255, 255, 208);
popup.rcMargins = rRect;
popup.pszFont = "Arial, 8, ascii, , , ";
HtmlHelp( ( HWND ) hb_parnl( 1 ), hb_parc( 2 ),
HH_DISPLAY_TEXT_POPUP, (DWORD) &popup );
}
#pragma EDNDDUMP
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 92 guests