SECTipOfDay::SECTipOfDay
SECTipOfDay::SECTipOfDay(const TCHAR *lpszTipFileName, intnTip, BOOLbShowAtStart, CWnd*pParent)
The SECTipOfDay constructor creates the SECTipOfDay object and initializes it. To create a modal dialogue, the constructor is called on an object created on the Stack frame and the tip of the day dialogue is created and displayed by a subsequent call to the DoModal() function. To create a modeless dialogue, the SECTipOfDay object is created on the heap through new, and the actual dialogue is created by a subsequent call to the Create() member function.
Defined in: sectod.cpp
Return Value
void
Parameters
lpszTipFileName
Specifies the name of the file containing the tip data.
nTip
Specifies a number of a tip in the tip file for display. Default is 1.
bShowAtStart
Toggles the state of the show at startup check box. Default is TRUE.
pParent
Specifies the parent of the dialog. Default is NULL.
See Also