HTMLPOP() questions!

HTMLPOP() questions!

Postby JC » Fri Sep 05, 2008 6: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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil

Postby Antonio Linares » Tue Sep 09, 2008 8:51 am

Julio,

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

2)
Code: Select all  Expand view  RUN
     ...
     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
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby byte-one » Tue Sep 09, 2008 4: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Postby JC » Tue Sep 09, 2008 4:46 pm

Code: Select all  Expand view  RUN
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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 76 guests

cron