You can’t blame the LMS people, they were making their application consistent with the rest of L*tus N*tes. ;P
TBK
Posts
-
Aaaaaaaaaaaargh! [More sscars from L*tus N*tes] -
C'est la fête!Here's how we celebrate it in Philadelphia: http://www.doesthisblogmakemybuttlookbig.com/2004/07/happy_bastille_.html[^]
-
Passed ISEB Foundation Certificate ExamDid you mention your articles on CP in your resume? I used to be involved with the hiring of programmers and would have been more impressed with well written articles that I could look at myself than a certification.
-
Am I reaching a limit?Are you using TCP_NODELAY (turns off the Nagle algorithm) in the socket options? In Windows this defaults to 0.2 second delay for a send - I am not sure about VxWorks.
-
How to get rid of the scrollbars in a WebBrowser control?You must wait for the DocumentComplete event from the Web browser control before you can get the document. Also you must implement the IDocHostUIHandler interface. The Web browser control will call your GetHostInfo method. You might be able to find some example code for this interface using MFC.
-
How to get rid of the scrollbars in a WebBrowser control?This can be done with the IDocHostUIHandler interface that you must implement in your container (CView derived class). Look at GetHostInfo and returning with docHostUIFlagSCROLL_NO flag set. In ATL support for this interface is built in. You can look at the implementation of CAxHostWindow for an example implementation. A description of some of this can be found in ATL Internals.
-
sscanf and doubleTry using: sscanf( strnumber, "%lf", &m_dAg); lf should be used for doubles
-
How to simulate/automate user input?Take a look at the SendInput Win32 API function. There also are commercial tools you can buy for automated testing that will do this too.
-
How to Subclass PropertySheet buttons ?You can use GetDlgItem on these buttons like any other control (IDOK, IDCANCEL, etc.). They can be subclassed in the WM_CREATE of the property sheet.
-
ATL and MFC simple data typesIf you have an ATL dll project you only need to check "Support MFC" in the first page of the wizard. If you are building a ATL exe project a little more work is involved. This info can be found in KB article Q173974 located at: http://support.microsoft.com/support/kb/articles/Q173/9/74.ASP?LN=EN-US&SD=msdn&FR=0 You should also consider linking to MFC statically if you are only using simple data types.
-
IWebBrowser2Try this (from ATL Internals) (also disables right click menu) CComPtr spAmbient; hr = m_axWebBrowser.QueryHost(&spAmbient); if(SUCCEEDED(hr)) { spAmbient->put_AllowContextMenu(VARIANT_FALSE); DWORD flags; spAmbient->get_DocHostFlags(&flags); spAmbient->put_DocHostFlags(flags | docHostUIFlagSCROLL_NO); }