For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > December 2005 > Edit Box problem with VS.Net 2005 Smartphone MFC Application









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Edit Box problem with VS.Net 2005 Smartphone MFC Application
Hezi Shahmoon

2005-12-13, 7:09 pm

Hello.

I have installed the latest VS.NET and the WinCE 5.0 Smartphone SDK.
When I create a MFC application (Dialog Based) and put an Edit Box in the
Dialog, the back key does not change the behavior to deleting the
characters. Instead it closes the dialog.

I have tried changing some properties of the edit box but it didn't work.
How can I work around this?

Thanks,
Hezi Shahmoon.


riki

2005-12-13, 7:09 pm

Hezi Shahmoon wrote:
> Hello.
>
> I have installed the latest VS.NET and the WinCE 5.0 Smartphone SDK.
> When I create a MFC application (Dialog Based) and put an Edit Box in the
> Dialog, the back key does not change the behavior to deleting the
> characters. Instead it closes the dialog.
>
> I have tried changing some properties of the edit box but it didn't work.
> How can I work around this?


you need to override the back key:
http://msdn.microsoft.com/library/d...ditcontrols.asp

riki

It is hard to believe that a man is telling the truth when you know that
you would lie if you were in his place.-- H. L. Mencken (1880-1956)
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
Latest Betas have WM5 layout and speed dial support
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com