tag:blogger.com,1999:blog-11847577.post7640026700814408558..comments2024-02-12T13:07:53.582+00:00Comments on Native Mobile: The edit control under Windows Mobile 2003 and 5.0João Paulo Figueirahttp://www.blogger.com/profile/01808451986712386444noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-11847577.post-25438415842971961602007-11-06T21:35:00.000+00:002007-11-06T21:35:00.000+00:00Well, this article is now out: DialogX.CEmptyDial...Well, this article is now out: <A HREF="http://http://www.codeproject.com/useritems/DialogX.asp" REL="nofollow"> DialogX</A>.<BR/><BR/>CEmptyDialogImpl may be of help to port your calculator control, which I love, and CInPlaceEditor for in place editing :)<BR/><BR/>ANY comments welcome!<BR/>cheers,<BR/>ARARNavPochhttps://www.blogger.com/profile/16780987565506389052noreply@blogger.comtag:blogger.com,1999:blog-11847577.post-32184688508453041752007-11-02T18:04:00.000+00:002007-11-02T18:04:00.000+00:00In your class override CPropertySheetImpl::void On...In your class override CPropertySheetImpl::void OnSheetInitialized(). This member will be called after complete initialization of the sheet and pages. <BR/>You may there call AtlCreateEmptyMenuBar(HWND hWnd, bool bSip = true) or AtlCreateMenuBar(HWND hWnd, UINT nToolBarId = ATL_IDW_TOOLBAR, DWORD dwFlags = 0, int nBmpId = 0, int cBmpImages = 0, COLORREF clrBk = 0) or resize your sheet (actually resize the sheet tab control).ARNavPochhttps://www.blogger.com/profile/16780987565506389052noreply@blogger.comtag:blogger.com,1999:blog-11847577.post-3224576459750961102007-11-02T16:48:00.000+00:002007-11-02T16:48:00.000+00:00Unrelated to your post: Is there a CStdPropertyPag...Unrelated to your post: Is there a CStdPropertyPage? The standard property sheet does not cover the main frame toolbar, so do I have to implement my own?João Paulo Figueirahttps://www.blogger.com/profile/01808451986712386444noreply@blogger.comtag:blogger.com,1999:blog-11847577.post-9219231113093570062007-11-02T12:03:00.000+00:002007-11-02T12:03:00.000+00:00Well, the article is a little late. This article i...Well, the article is a little late. This article is not far from end. Meanwhile you may download the associated project at <A HREF="http://www.codeproject.com/script/profile/upload/161329/DialogX.zip" REL="nofollow">http://www.codeproject.com/script/profile/upload/161329/DialogX.zip</A>.<BR/>Comments welcome.ARNavPochhttps://www.blogger.com/profile/16780987565506389052noreply@blogger.comtag:blogger.com,1999:blog-11847577.post-16849341825011515422007-10-20T20:09:00.000+01:002007-10-20T20:09:00.000+01:00Hi João Paulo,I am not far from finishing a CodePr...Hi João Paulo,<BR/><BR/>I am not far from finishing a CodeProject article presenting a set of nonstandard templateless dialog classes including a desktop and mobile CInPlaceEditor. Hopefully it should be out before or during next week-end.<BR/><BR/>VC6/eVC appwizards use MS code that is not Open Source, so they were dropped since WTL 7.5. The solution is to use the VS2005 Mobile Wizard, check <I>generate eVC compatible code</I> (which will disable some options as ATL::CString support or DRA) and import the generated project in eVC (3 or 4).<BR/><BR/>cheers,<BR/>ARARNavPochhttps://www.blogger.com/profile/16780987565506389052noreply@blogger.comtag:blogger.com,1999:blog-11847577.post-12972097778217176892007-10-20T19:05:00.000+01:002007-10-20T19:05:00.000+01:00Hi Alain,Thank you for this input - I never notice...Hi Alain,<BR/><BR/>Thank you for this input - I never noticed this difference and maybe I will have to look at the code again. I will be porting the code to WTL pretty soon and your comments will be invaluable. BTW, I just noticed that WTL 8.0 dropped the wizards for eVC3 and 4. Any workarounds?<BR/><BR/>Regards,<BR/>JPJoão Paulo Figueirahttps://www.blogger.com/profile/01808451986712386444noreply@blogger.comtag:blogger.com,1999:blog-11847577.post-50868628861709042702007-10-20T17:12:00.000+01:002007-10-20T17:12:00.000+01:00Hi João Paulo,There is another difference between ...Hi João Paulo,<BR/><BR/>There is another difference between WM5 PPC edit control and 'usual' edit controls: on desktops, smartphones and ppc 2002/2003 when the user enters VK_RETURN in a single line edit, the parent receives an IDOK WM_COMMAND message. In WM5 and WM6 ppcs, this does not happen. Or do I miss something?<BR/>cheers,<BR/>ARARNavPochhttps://www.blogger.com/profile/16780987565506389052noreply@blogger.com