said:
Hi,
Finger fault. Hit send too soon.
>As I said above that does not count. If you look at the code you will
>find that the program has a dialog that looks like a notebook, there is
>no notebook control in that program.
You need to look again. It's either that or expain to me what makes this
not a notebook.
DLGTEMPLATE IDD_NOTEBOOKDLG LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "Notebook", IDD_NOTEBOOKDLG, 79, -65, 276, 189, FS_NOBYTEALIGN
|
WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
BEGIN
CONTROL "", IDC_NOTEBOOK, 30, 18, 220, 162, WC_NOTEBOOK,
WS_VISIBLE | BKS_BACKPAGESBR | BKS_MAJORTABRIGHT |
BKS_SQUARETABS | BKS_STATUSTEXTCENTER |
WS_GROUP | WS_TABSTOP
DEFPUSHBUTTON "~OK", IDC_OK, 35, 3, 40, 14, WS_GROUP |
WS_TABSTOP
PUSHBUTTON "Cancel", IDC_CANCEL, 105, 3, 40, 14, NOT
WS_TABSTOP
PUSHBUTTON "Help", IDC_HELP, 175, 3, 40, 14, BS_HELP |
BS_NOPOINTERFOCUS | NOT WS_TABSTOP
END
END
>The creation of the notebook is not in that program.
Not quite true. All of the interesting creation code is in notebook.c.
Start with CfgDlgProc(). The trivial part is in mainwnd.c. It is just
case IDM_NOTEBOOK:
WinDlgBox(HWND_DESKTOP,
hwnd, CfgDlgProc, FM3ModHandle, CFG_FRAME, MPVOID);
You probably also want to look at
http://svn.netlabs.org/fm2/browser/trunk/dll/fm3res.dlg
which is where the resources are defined.
FWIW, you really should install subversion and cvs clients if you want
easy access to open source code.
Steven
--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 3.00 beta 08pre #10183 eCS/Warp/DIY/14.103a_W4 etc.
www.scoug.com irc.ca.webbnet.info #scoug (Wed 7pm PST)
----------------------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 26 |
September |
2007 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.