by adde » Jan 25, 2003 @ 4:45am
Ouch! You don't want to do that. PF uses ATL to create the window in which PF draws all it's graphics. But also, to implement the window message map (like the mouse/stylus and keyboard and all other events). BUT, I guess it's possible, using regular SDK calls to create the window and writing your own message map interpreter (this is how it was done before ATL (and MFC) came along). It's a lot of work though.
I found it strange that it doesn't support ATL though, since ATL is (basicly) just a wrapper of the win32 SDK calls, and I was right. Look at this link:
I quote: "ATL version for Smartphone is included in Smartphone SDK ...".
So, you just have to reinstall the SDK and make shure that ATL is included this time.
The article also describes how to install WTL, which is an extention to ATL and has some very nice GUI components you might want to take a look at. Using ATL/WTL is pretty much the only option you have if you want to develope GUI:s on Smartphone (or WinCE for that matter) that run fast and have a small footprint.
MFC (not available on the Smartphone I think) is nothing you want to bother with on WinCE. It's just to bulky. Read a few tutorials on how to use WTL/ATL instead and benefit from good programming style.