You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
|---|
|
From: SourceForge.net <no...@so...> - 2005-08-26 02:38:50
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3312254 By: nenita_tan In nrdbpro.cpp, I believe the ff. codes are generated when you create the class. Is IDR_MAPTYPE being referred to the dialog box or the menu bar created? What about the IDR_GRAPHTYPE? <some codes here> CMultiDocTemplate( IDR_MAPTYPE, RUNTIME_CLASSCDocMap), RUNTIME_CLASS(CFrameMap), // custom MDI child frame RUNTIME_CLASS(CViewMap)); AddDocTemplate(pDocTemplate); // Register the template pDocTemplate = new CMultiDocTemplate( IDR_GRAPHTYPE, RUNTIME_CLASSCDocGraph), RUNTIME_CLASS(CMDIChildWnd), RUNTIME_CLASS(CViewGraph)); AddDocTemplate(pDocTemplate); ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=432587 |
|
From: Natural R. D. <nr...@my...> - 2005-08-24 08:50:52
|
>Hi! I'm one of the persons who luckily download a source code of NRDB
>Pro 2. I'm on the verge of studying the codes, as a beginner to Visual
>C++. I only want to know on what part of the project can I find the
>source code that tells me that if I click the OK button of
>the "Welcome" splash of the software will go to the Login form?
Hi Nenita,
There are two parts to the answer. The first is how to close a dialog
when its clicked on:
This is done in the dialog class (dlgabout.cpp) in response to the
WM_LBUTTONDOWN message. Use class wizard to create the function
OnLButtonDown.
This then calls to CDialog::OnOK function to close the dialog. I've
assigned the variable m_bSplash in the constructor so this
functionality can be switched off when the about dialog is opened from
the help menu.
void CDlgAbout::OnLButtonDown(UINT nFlags, CPoint point)
{
if (m_bSplash)
{
OnOK();
}
CDialog::OnLButtonDown(nFlags, point);
}
Closing the splash panel and opening the login dialog:
The about dialog is opened as a modal dialog. This means that the rest
of the program stops until it has closed. Next the login dialog is
opened...
// nrdbpro.cpp
BOOL CNRDBApp::InitInstance()
{
//...
// Display about box
CDlgAbout dlg(TRUE);
dlg.DoModal();
//...
// Display login dialog
if (!Login())
{
return FALSE;
}
//...
}
Richard
|
|
From: Natural R. D. <nr...@my...> - 2005-08-21 08:36:09
|
The latest version of NRDB Pro is available to download for testing at: http://prdownloads.sourceforge.net/nrdbpro/nrdbpro221beta.zip?download This version includes a view attributes function when you right-click in the map window. It also contains bug fixes for calculating areas and installing user files. The latest version of the setup script is now also available (CVS/install), should you wish to customise the installation. This requires Inno Setup. http://cvs.sourceforge.net/viewcvs.py/nrdbpro/ Richard -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 19/08/2005 |
|
From: Natural R. D. <nr...@my...> - 2005-07-22 12:00:19
|
For those who've tried the NRDB Web demo, you may have noticed it taking quite a long time to display the image (compared to a few days ago). http://www.mypalawan.info/nrdb/temp/index.php Since PHP is interpreted its pretty slow at iterative loops (for, while, multiple calls to imageline). Whereas built in functions for handling blocks of data (like 'pack' and 'imagepolygon' are quite fast). I therefore intend to optimise how the polygons are stored in the database such that: - the centroid and extent may be pre-calculated and stored - the vertices are stored as arrays of integers (rather than run length encoded), so that they can be extracted with single function calls - the vertices are generalised to reduce the size of arrays (remove duplicate vertices that would relate to the same pixel when displayed) At present I'm just focussing on the database functions - the current mapping/interface is just for testing purposes. Richard |
|
From: Natural R. D. <nr...@my...> - 2005-07-19 11:55:30
|
Dear all, To help with getting started on developing NRDB Web I've produced a prototype, which demonstrates (much to my suprise) that PHP is fast enough to implement web-based mapping: http://www.mypalawan.info/nrdb/temp/test.php I've broken down the project into a set of requirements. I would appreciate feedback on this list of requirements and let me know if you are interested in working on any particular parts. http://www.mypalawan.info/nrdb/temp/nrdbweb%20requirements.xls For those who haven't done any web-based development, PHP is a simple to use scripting language, similar in syntax to C++. To work on the development you will need to install Apache Server, PHP and MySQL (all available to download for free). Please reply to this mailing list: nrd...@li... Regards Richard |