Easily way to make transparent picture control in MFC

28/01/2009

I’m going to describe the way to make a transparent picture box control in MFC (Smart Device application). It worked well on Windows CE, and it should be fine on Win32 application.

The key function is TransparentImage. Using it, you will see that the job is pretty simple…

Read the rest of this entry »


Sending SMS message in Windows CE

15/01/2009

Download the source code

Today I will show the way to send SMS message in Windows CE and Windows Mobile, using C++ and P/Invoke in .NET CF. It’s pretty simple…

In Windows CE environment, SMS fuction is handled by “sms.dll”, but in Windows Mobile 2005 and later, it’s handled (in a much more simpler way) by “cemapi.dll”. The “cemapi.dll” is not documented very well, in the other hand, you can find lots of information about “sms.dll” on MSDN.

Read the rest of this entry »


Scrolling PropertyPage in MFC

26/11/2008

My code to make a scrolling propertyPage in MFC, super easy to use…

Read the rest of this entry »


Some stuff with media in WM

25/10/2008

Trong namespace Microsoft.WindowsMobile.Forms có các lớp sau:

- CameraCaptureDialog

- SelectPictureDialog

- ChooseContactDialog

Vẫn đang tìm cách làm việc tương tự trong native code.

Update: Hình như WinCE có API SHCameraCapture, GetOpenFileNameEx… j j đó. Xong cái này!


Non-fullscreen form in Windows CE

28/09/2008

By default, all of form you created in .NET CF for Pocket PC and Smartphone are full screen. I don’t know why but this seem there are something related to MS rules when they design the OS. But in some application, I do want to make some non-fullscreen form (I mean the “floating form”) in .NET CF. And I found out it’s pretty simple. In this post, I will show the way to do it in .NET CF. ’cause I only use WinCE API, you can archive this in Native projects in even simpler way…

Read the rest of this entry »