Answered by:
DialogBox in Windows Mobile 5.0

Question
-
Hello All,
I have developed application of windows mobile Pocket PC 5.0 in native language(unmanaged code) using 'C' language in visual studio 2008.
And I use Windows Mobile 5.0 SDK.
I want to use InputBox in my application. But as per my knowledge the InputBox facility is not in Windows Mobile 5.0.
So can I develop a dialogbox which looks like inputbox & it show in front of my original dialog.
Thanx in advance
Regards
Nisarg ShahFriday, August 14, 2009 5:55 AM
Answers
-
Take a look at the samples included with the Windows Mobile 5 SDK. \Windows Mobile 5.0 SDK R2\Samples\PocketPC\CPP\Win32
A number of them deal with creating and displaying dialog boxes. While they do all have a .cpp extension, I think most of them are written in plain C.
-PaulH- Marked as answer by ZHE ZHAO Thursday, August 20, 2009 1:28 AM
Friday, August 14, 2009 3:23 PM -
Hi Nisu Shah,
Yes you can create dialog box on windows mobile 5.
You can use DialogBox() for modal dialog box OR CreateDialog() for modeless dialog box.
Refer to MSDN for more information.
You can also refer to sample from Windows mobile 5.0 SDK as PaulH79 said.
Best Regards,
Pariksheet.- Marked as answer by ZHE ZHAO Thursday, August 20, 2009 1:28 AM
Sunday, August 16, 2009 5:23 AM
All replies
-
Take a look at the samples included with the Windows Mobile 5 SDK. \Windows Mobile 5.0 SDK R2\Samples\PocketPC\CPP\Win32
A number of them deal with creating and displaying dialog boxes. While they do all have a .cpp extension, I think most of them are written in plain C.
-PaulH- Marked as answer by ZHE ZHAO Thursday, August 20, 2009 1:28 AM
Friday, August 14, 2009 3:23 PM -
Hi Nisu Shah,
Yes you can create dialog box on windows mobile 5.
You can use DialogBox() for modal dialog box OR CreateDialog() for modeless dialog box.
Refer to MSDN for more information.
You can also refer to sample from Windows mobile 5.0 SDK as PaulH79 said.
Best Regards,
Pariksheet.- Marked as answer by ZHE ZHAO Thursday, August 20, 2009 1:28 AM
Sunday, August 16, 2009 5:23 AM