Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionJPEG rendering of a web page? Pin
LukeV27-Mar-03 5:24
LukeV27-Mar-03 5:24 
QuestionNIC speed? Pin
dandy7227-Mar-03 5:05
dandy7227-Mar-03 5:05 
Generalpause commands Pin
InternetMill27-Mar-03 4:45
InternetMill27-Mar-03 4:45 
GeneralRe: pause commands Pin
Cedric Moonen27-Mar-03 4:53
Cedric Moonen27-Mar-03 4:53 
GeneralRe: pause commands Pin
moraalg27-Mar-03 16:27
moraalg27-Mar-03 16:27 
GeneralRe: pause commands Pin
Mike Upton27-Mar-03 4:53
Mike Upton27-Mar-03 4:53 
GeneralRe: pause commands Pin
InternetMill28-Mar-03 4:23
InternetMill28-Mar-03 4:23 
GeneralHtmlHelp HH_DISPLAY_TEXT_POPUP format Pin
Telefonen27-Mar-03 4:29
Telefonen27-Mar-03 4:29 
I'm using HtmlHelp to display help text as text popup (when pressing F1). Does anyone know if I can have different fonts in a message? Or is just plain text allowed? Confused | :confused:

The help pop-ups in CFileDialog can contain different fonts and images.

This is my code for displaying text pop-ups:
BOOL CMyView::OnHelpInfo(HELPINFO* pHelpInfo) <br />
{  <br />
  static CString theMessageString = "Help message Using different fonts";<br />
  <br />
  HH_POPUP hPop; // HTML Help popup structure<br />
  <br />
  // Initialize structure to NULLs	<br />
  memset(&hPop, 0, sizeof(hPop)); <br />
  <br />
  // Set size of structure<br />
  hPop.cbStruct= sizeof(hPop);		<br />
  <br />
  // Yellow background color<br />
  hPop.clrBackground    = RGB(255, 255, 208);	<br />
  hPop.clrForeground    = -1;<br />
  hPop.rcMargins    = CRect(-1,-1,-1,-1);<br />
  hPop.pt               = pHelpInfo->MousePos;	<br />
  hPop.pszText          = theMessageString;<br />
  <br />
  HtmlHelp(this->GetSafeHwnd(), 0, <br />
    HH_DISPLAY_TEXT_POPUP, (DWORD)&hPop);<br />
  return TRUE;<br />
}

GeneralActiveX related question Pin
Shah Shehpori27-Mar-03 4:12
sussShah Shehpori27-Mar-03 4:12 
GeneralRe: ActiveX related question Pin
Cedric Moonen27-Mar-03 4:32
Cedric Moonen27-Mar-03 4:32 
GeneralGDI performance (Re) Pin
Raphael Kindt27-Mar-03 4:07
Raphael Kindt27-Mar-03 4:07 
GeneralNever-ending Visual Studio Pin
Adrian Metcalfe27-Mar-03 3:40
Adrian Metcalfe27-Mar-03 3:40 
GeneralRe: Never-ending Visual Studio Pin
Roger Allen28-Mar-03 0:46
Roger Allen28-Mar-03 0:46 
GeneralRe: Never-ending Visual Studio Pin
John R. Shaw28-Mar-03 17:35
John R. Shaw28-Mar-03 17:35 
GeneralSS_RIGHT style but without wrapping... Pin
Hamzeh27-Mar-03 3:35
Hamzeh27-Mar-03 3:35 
GeneralUsing Windows 2000 Debugging Symbols in VC++ 6.0 Pin
GPT99927-Mar-03 3:32
GPT99927-Mar-03 3:32 
GeneralRe: Using Windows 2000 Debugging Symbols in VC++ 6.0 Pin
Chris Richardson27-Mar-03 9:01
Chris Richardson27-Mar-03 9:01 
GeneralResizable font Pin
Cedric Moonen27-Mar-03 3:29
Cedric Moonen27-Mar-03 3:29 
GeneralRe: Resizable font Pin
Tibor Blazko27-Mar-03 3:44
Tibor Blazko27-Mar-03 3:44 
GeneralRe: Resizable font Pin
Cedric Moonen27-Mar-03 3:51
Cedric Moonen27-Mar-03 3:51 
GeneralRe: Resizable font Pin
Iain Clarke, Warrior Programmer27-Mar-03 4:21
Iain Clarke, Warrior Programmer27-Mar-03 4:21 
GeneralRe: Resizable font Pin
Cedric Moonen27-Mar-03 4:24
Cedric Moonen27-Mar-03 4:24 
GeneralAutostart Pin
Jump_Around27-Mar-03 3:08
Jump_Around27-Mar-03 3:08 
GeneralRe: Autostart Pin
Pavel Klocek27-Mar-03 3:16
Pavel Klocek27-Mar-03 3:16 
GeneralRe: Autostart Pin
Pavel Klocek27-Mar-03 3:20
Pavel Klocek27-Mar-03 3:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.