FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour HTMLPOP() questions!
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
HTMLPOP() questions!
Posted: Fri Sep 05, 2008 06:25 PM

Antonio,

I have same questions about the HTMLPOP() function:

1 ) How are the complete parameters of the function HTMLPOP()?
2 ) It's possible to change the colors and font of the text?
3 ) It's possible too to add into a content, html tags?

Thanks!

Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
HTMLPOP() questions!
Posted: Tue Sep 09, 2008 08:51 AM
Julio,

1) HTMLPOP( oWnd, cHelpFile, HH_DISPLAY_TEXT_POPUP, cnHelp, nRow, nCol )

2)
     ...
     COLORREF    clrForeground;
     COLORREF    clrBackground;
     RECT        rcMargins;
     LPCTSTR     pszFont;
} HH_POPUP;


Please review source\winapi\helpchm.prg

3) I think so, as they are HTML pages
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
HTMLPOP() questions!
Posted: Tue Sep 09, 2008 04:03 PM

The popups are embedded as pure text in the CHM with own IDs! The cHelpfile is "cHelpfile += ::/???.txt" as ??? is your own txt-filename.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
HTMLPOP() questions!
Posted: Tue Sep 09, 2008 04:46 PM
HH_DISPLAY_TEXT_POPUP (14 or 0x000E) opens a pop-up window and displays one of the following:
• An explicit text string.
• A text string based on a resource ID
• A text string based on a text file contained in a compiled HTML Help (.chm) file.


I think it's not possible to add directly, HTML tags into HTMLPOP().. however, a compiled HTML help, yes!
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9

Continue the discussion