Click here to Skip to main content
15,910,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPrinting the contents of a CListCtrl ? Pin
Brian van der Beek21-Nov-03 5:27
Brian van der Beek21-Nov-03 5:27 
AnswerRe: Printing the contents of a CListCtrl ? Pin
Roger Allen21-Nov-03 6:29
Roger Allen21-Nov-03 6:29 
GeneralRe: Printing the contents of a CListCtrl ? Pin
Brian van der Beek23-Nov-03 21:25
Brian van der Beek23-Nov-03 21:25 
GeneralUsing SetCheck in a dialog app. menu Pin
cercis21-Nov-03 4:46
cercis21-Nov-03 4:46 
GeneralRe: Using SetCheck in a dialog app. menu Pin
RChin21-Nov-03 5:18
RChin21-Nov-03 5:18 
GeneralMemory Managers with C, C++ and MFC Pin
Patje21-Nov-03 3:58
Patje21-Nov-03 3:58 
QuestionHow to get rid of the "Help" button in a property sheet in wizard mode? Pin
Salvador Dali21-Nov-03 3:13
Salvador Dali21-Nov-03 3:13 
AnswerRe: How to get rid of the "Help" button in a property sheet in wizard mode? Pin
Michael P Butler21-Nov-03 3:34
Michael P Butler21-Nov-03 3:34 
From MSDN

Help in CPropertySheet is supported by the F1 key and the Help button only. The Help button appears in the application framework by default. No intervention by the user is necessary. When the user adds the help information for each of the pages inside the property sheet, the help mechanism automatically displays the help for that page when the Help button is clicked.

To remove the Help button from a property sheet, modify the sheet and all its pages as follows:

mySheet.m_psh.dwFlags &= ~PSH_HASHELP;
page1.m_psp.dwFlags &= ~PSP_HASHELP;
page2.m_psp.dwFlags &= ~PSP_HASHELP;
mySheet.AddPage( &page1 );
mySheet.AddPage( &page2 );
mySheet.DoModal();
The m_psh variable is of type PROPSHEETHEADER. The m_psp variables are of type PROPSHEETPAGE. If all the HASHELP flags are clear (PSH_HASHELP for the property sheet object, PSP_HASHELP for the property pages), the property sheet will be created without a Help button.


Michael

'Logic, my dear Zoe, merely enables one to be wrong with authority.' - The Doctor: The Wheel in Space

GeneralCFileException Pin
ns21-Nov-03 2:39
ns21-Nov-03 2:39 
GeneralRe: CFileException Pin
Mike Dimmick21-Nov-03 3:02
Mike Dimmick21-Nov-03 3:02 
GeneralRe: CFileException Pin
ns21-Nov-03 3:18
ns21-Nov-03 3:18 
QuestionResize a listctrl? Pin
Zizilamoroso21-Nov-03 1:02
Zizilamoroso21-Nov-03 1:02 
AnswerRe: Resize a listctrl? Pin
Zizilamoroso21-Nov-03 1:07
Zizilamoroso21-Nov-03 1:07 
GeneralDoes anyone knows this Pin
Shehzad Salim21-Nov-03 0:54
Shehzad Salim21-Nov-03 0:54 
GeneralRe: Does anyone knows this Pin
RChin21-Nov-03 1:48
RChin21-Nov-03 1:48 
GeneralRe: Does anyone knows this Pin
Michael P Butler21-Nov-03 2:49
Michael P Butler21-Nov-03 2:49 
Generalisdigit(); Pin
WREY21-Nov-03 0:54
WREY21-Nov-03 0:54 
GeneralRe: isdigit(); Pin
Taka Muraoka21-Nov-03 0:59
Taka Muraoka21-Nov-03 0:59 
GeneralRe: isdigit(); Pin
WREY21-Nov-03 1:11
WREY21-Nov-03 1:11 
GeneralRe: isdigit(); Pin
Taka Muraoka21-Nov-03 1:12
Taka Muraoka21-Nov-03 1:12 
GeneralRe: isdigit(); Pin
WREY21-Nov-03 1:22
WREY21-Nov-03 1:22 
GeneralRe: isdigit(); Pin
Michael Dunn21-Nov-03 4:23
sitebuilderMichael Dunn21-Nov-03 4:23 
GeneralCSV file into Excel Sheet Pin
KKR21-Nov-03 0:42
KKR21-Nov-03 0:42 
GeneralRe: CSV file into Excel Sheet Pin
Adam Gritt21-Nov-03 3:15
Adam Gritt21-Nov-03 3:15 
GeneralRe: CSV file into Excel Sheet Pin
Peter Molnar21-Nov-03 9:32
Peter Molnar21-Nov-03 9:32 

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.