Click here to Skip to main content
15,915,093 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: How to create a DLL for Windows CE using 'C' Pin
João Paulo Figueira13-Oct-04 23:49
professionalJoão Paulo Figueira13-Oct-04 23:49 
QuestionHow many Input Fields - eVB Pin
fizzer66612-Oct-04 22:38
fizzer66612-Oct-04 22:38 
QuestionHow to access network shares via CF .Net? Pin
Mark Bata11-Oct-04 21:45
Mark Bata11-Oct-04 21:45 
GeneralGPS Pin
Adrian Soon11-Oct-04 19:59
Adrian Soon11-Oct-04 19:59 
GeneralDeploying Application on Handhelp PC Pin
Azghar Hussain11-Oct-04 18:59
professionalAzghar Hussain11-Oct-04 18:59 
GeneralEditing the registry of pocket pc to launch program at startup Pin
ting66811-Oct-04 18:44
ting66811-Oct-04 18:44 
GeneralAddhandler Pin
maykut209911-Oct-04 13:55
maykut209911-Oct-04 13:55 
GeneraleVC MFC FrameWork, The WM_CREATE message not sent to CDialog! Pin
nangluc10-Oct-04 20:48
nangluc10-Oct-04 20:48 
I am developing a dialog-based application for Windows CE that needs to create controls dynamically when the dialog get created. I chose to create the controls in the WM_CREATE message handler of the dialog and so I trap the message by the macro ON_WM_CREATE of MFC and add the code.


int CMyDialog::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CDialog::OnCreate(lpCreateStruct) == -1)
return -1;
// TODO: Add your specialized creation code here

m_edit.Create(WS_CHILD | WS_VISIBLE | ES_LEFT ,
CRect(10,10,50,30), this, IDC_EDIT2);

return 0;
}

Nothing happened. So I the line ( right before the line m_edit.Create...
MessageBox(_T("OnCreate()"));
to the OnCreate() method and watch if the method get executed. Strangely No message box displayed that means the OnCreate method didn’t get executed yet. Why? Again I override the virtual function WindowProc of the CDialog class to watch if the message WM_CREATE is sent to the dialog.
LRESULT CMyDialog::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
// TODO: Add your specialized code here and/or call the base class
if(message == WM_CREATE)
MessageBox(_T("WM_CREATE"));
return CDialog::WindowProc(message, wParam, lParam);
}

Nothing happened too, and that means the WM_CREATE message is never sent to the Dialog window. So what is wrong with this the framework.



Nang Luc
GeneralRe: eVC MFC FrameWork, The WM_CREATE message not sent to CDialog! Pin
João Paulo Figueira11-Oct-04 3:58
professionalJoão Paulo Figueira11-Oct-04 3:58 
GeneralRe: eVC MFC FrameWork, The WM_CREATE message not sent to CDialog! Pin
nangluc11-Oct-04 15:41
nangluc11-Oct-04 15:41 
Generalmp3 encoding and playing in pocket pc Pin
real_mca10-Oct-04 10:41
real_mca10-Oct-04 10:41 
Generalmssql : INFORMATION_SHEMA DATA_TYPE problem Pin
frakk9-Oct-04 3:30
frakk9-Oct-04 3:30 
GeneralRe: mssql : INFORMATION_SHEMA DATA_TYPE problem Pin
João Paulo Figueira11-Oct-04 4:01
professionalJoão Paulo Figueira11-Oct-04 4:01 
Generalgive me a sample Pin
Guoguor8-Oct-04 20:56
Guoguor8-Oct-04 20:56 
QuestionOK, what am I missing? Pin
MikeBeard7-Oct-04 9:56
MikeBeard7-Oct-04 9:56 
GeneralMoving the object store Pin
hdaly7-Oct-04 6:33
hdaly7-Oct-04 6:33 
GeneralTimers when device wakes up Pin
GDavy6-Oct-04 23:50
GDavy6-Oct-04 23:50 
GeneralRe: Timers when device wakes up Pin
Cedric Moonen11-Oct-04 3:22
Cedric Moonen11-Oct-04 3:22 
QuestionHow to know Internet connection exist in PocketPC without using InternetOpenURL() function Pin
Member 5710216-Oct-04 5:29
Member 5710216-Oct-04 5:29 
GeneralPocket PC, Application and Database Pin
sybux20006-Oct-04 3:25
sybux20006-Oct-04 3:25 
GeneralRe: Pocket PC, Application and Database Pin
João Paulo Figueira6-Oct-04 22:28
professionalJoão Paulo Figueira6-Oct-04 22:28 
GeneralRe: Pocket PC, Application and Database Pin
sybux20006-Oct-04 22:38
sybux20006-Oct-04 22:38 
GeneralRe: Pocket PC, Application and Database Pin
João Paulo Figueira7-Oct-04 0:04
professionalJoão Paulo Figueira7-Oct-04 0:04 
GeneralProblems with the pitch in wince! Pin
Dani1000015-Oct-04 7:28
Dani1000015-Oct-04 7:28 
Generalsimple msgBox question - eVB Pin
fizzer6665-Oct-04 6:08
fizzer6665-Oct-04 6:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.