N
None
Hello
I have an application that will run on WinCE and XP. In order to have the
WinCE virtual keyboard pop up when the cursor enters an edit field, the
following has to be inserted at the end of each dialog after all the edit
fields have been created:
CONTROL "",IDC_STATIC,"SIPPREF",NOT WS_VISIBLE,-10,-10,5,5
Unfortunately in the XP version of the app, this causes the Dialog->DoModal
to fail. So I thought putting the #ifdef _WINCE statement around this line
can remedy the problem. However it seems that VC++ does not complie the
above line when this line is present even for the WinCE version.
So my question is do #ifdef statements around control statements have any
meaning in resource files? If not, can anyone recomment a workaround?
Thanks very much in advance.
I have an application that will run on WinCE and XP. In order to have the
WinCE virtual keyboard pop up when the cursor enters an edit field, the
following has to be inserted at the end of each dialog after all the edit
fields have been created:
CONTROL "",IDC_STATIC,"SIPPREF",NOT WS_VISIBLE,-10,-10,5,5
Unfortunately in the XP version of the app, this causes the Dialog->DoModal
to fail. So I thought putting the #ifdef _WINCE statement around this line
can remedy the problem. However it seems that VC++ does not complie the
above line when this line is present even for the WinCE version.
So my question is do #ifdef statements around control statements have any
meaning in resource files? If not, can anyone recomment a workaround?
Thanks very much in advance.